aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmsdk: add invalid input checking for persistent storage APIsScott Mertz2016-01-223-8/+92
| | | | | | | | | | | Some of this exists in the PersistentStorage implementation, but it was never formally documented in the APIs. Inherit the cmhw implementation error checking & move it into the service. Add tests to validate the new restrictions & a test that was previously failing. Change-Id: I3ecda29fdd28bbc4e6d8ccce7511c4644065ea46
* ExtViews: Add action and meta-datad34d2016-01-224-0/+58
| | | | | | | | | | | | Services that extend KeyguardExternalViewProviderService should also include this newly defined action in an intent-filter within the <service> tag in their AndroidManifest.xml. These services can also include meta-data that defines a configuration xml which will be used to define a settings activity that can be launched within a yet to be defined settings/configuration UI. Change-Id: I0a5ca09cf6f63413d067f89a9757137102dd09f6 TICKET: CYNGNOS-1687
* LiveLockScreen: Add setting for enabled/disabledd34d2016-01-221-0/+7
| | | | | Change-Id: I6e9269f4ae20370c8c77019057ee276902df4721 TICKET: CYNGNOS-1686
* CMSettings: Introduce concept of protected apps managers.Adnan Begovic2016-01-223-1/+62
| | | | | TICKET: CYNGNOS-84 Change-Id: I06245b0a69eea3474c1c093c5843bd59b5c53a80
* cmsdk/tests: Fix zenmode tests.Adnan Begovic2016-01-221-0/+1
| | | | | | TICKET: CYNGNOS-1667 Change-Id: Ic9b819d6680ea26039089013f552a199df81c0f7
* cmsdk: change persistent storage test cases to void return typeScott Mertz2016-01-221-9/+3
| | | | | | | InstrumentationTestRunner only picks up methods with "public void test*" in the method signature. Change-Id: I382114c9bd12ef954f65a54f101438d1207b5d69
* Add overlay for SWAP_VOLUME_KEYS_ON_ROTATIONRicardo Cerqueira2016-01-222-0/+5
| | | | | | This got lost along the transition Change-Id: I35f5c6cdd73ff1d4a590fa6980d3214dda2bd740
* Change THIRD_PARTY_KEYGUARD permission to normald34d2016-01-211-1/+1
| | | | | | | | Lower protection level of THIRD_PARTY_KEYGUARD permission from signature|privileged to normal. Change-Id: I464daba67a66e88efe6219cec2663a07d15ab3ed TICKET: CYNGNOS-1689
* cmsdk: Fix BuildTests. Bump parcelable version.Adnan Begovic2016-01-192-4/+4
| | | | Change-Id: I3084acfa25ca6bd6f5a058995906a050e243a4c9
* cmsdk: Add new version code to the sdkmap.Adnan Begovic2016-01-181-0/+1
| | | | Change-Id: I765258f40d8c233df9adb48a20700e92e88f7ad8
* cmsdk: Introduce Elderberry, api level 5.Adnan Begovic2016-01-182-2/+8
| | | | Change-Id: I916cb96e86e7dcee04b3b4cd08fec934b1ce5876
* cmsdk: Finalize DragonFruit (api level 4).Adnan Begovic2016-01-183-3/+19
| | | | | TICKET: CYNGNOS-1648 Change-Id: I5844bc0bad9968b2c1d2d9e1ca3d65ae9d2d70c8
* CustomTiles: add a custom long press PendingIntentRoman Birg2016-01-184-0/+89
| | | | | | Ref: CYNGNOS-1602 Change-Id: Id0cca88fabb091dcf0fbad2ae24416fa1c0af83e Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Add battery saver tile (2/2)Michael Bestas2016-01-172-1/+2
| | | | Change-Id: I526144a76295d41b5658f9db417f9e6ded62c8d4
* cmsdk: Add heads up tile (2/2)Michael Bestas2016-01-172-2/+3
| | | | Change-Id: Idce96d2db8fb28b0aadae5b9b19c334f22aba12a
* cmsdk: Add CYANOGENMOD_VERSION constant.Adnan Begovic2016-01-151-0/+3
| | | | Change-Id: I81526ae7d90e453975e2c1e2fc79234f706fb415
* cmsdk/tests: Temp hack to fix `mka` builds.Adnan Begovic2016-01-151-1/+2
| | | | Change-Id: I7d08765c6661f3c4bba6574c9bc89ba36af9632b
* cmsdk: Load notification led customization defaultsEdward Wang2016-01-132-0/+14
| | | | | | Issue-Id: YAM-34 Change-Id: I67395465eb830ae994d8d796a4dbdae08ade5b01
* cmsdk: add lockscreen internal enabled settingRoman Birg2016-01-131-0/+8
| | | | | | | | | Setting to keep track of whether a QS tile has disabled the keyguard so we can display this state elsewhere. Ref: CYNGNOS-1513 Change-Id: If6ecb78a028d9d74d70bc2f1cd584ac9ac83a2d1 Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Introduce internal MetricsLogger class.Adnan Begovic2016-01-111-0/+66
| | | | | | | | | Contains contants utilized throughout Settings/Systemui to log usage of specific fragments, settings, or panels. An extension of Androids MetricsLogger. Change-Id: I44eff06f87313fca8c2ecf78b7bdea9055956e3c
* Automatic translation importMichael Bestas2016-01-1126-11/+636
| | | | Change-Id: I39a0e63fa95fd9a37a79dc6cb52da8047c40c86f
* cmsdk: Update api text.Adnan Begovic2016-01-062-0/+58
| | | | Change-Id: I76297c11050e7b33ccfc530330ab37cfb8a07916
* cmsdk: Add external views package for api stubs.Adnan Begovic2016-01-061-2/+2
| | | | Change-Id: I96b5e77331910765b5762d645fa9adbff46281fd
* cmsdk: Add unit test for PartnerInterfaceJanet Sun2016-01-061-0/+317
| | | | | | | | | | | | Created the AndroidTestCase unit test Added functional testing for airplane mode, which can be restored without contaminating other tests. Also added setZenMode testing, which currently contaminates other tests. But we will allow for lack of a better way FOR-156 Change-Id: I2ab5642c60f41266d9de8aab897e4852e872ad38
* ExtView: Fix name of dismissAndStartActivityd34d2016-01-061-1/+1
| | | | | | The method should have been renamed to requestDismissAndStartActivity Change-Id: I93e00be58dc9c70f0f7a0b6d0bb6ac487af8fe58
* Keyguard: Broadcast when external keyguard changesd34d2016-01-061-1/+13
| | | | | | | | | Since the locksettings database is not backed by a provider, we cannot use a ContentObserver to know when a change to the third party keyguard component has occurred. Instead we broadcast that it has changed. Change-Id: I1384b8ba445dcb8d0c571ded1c68b297182f086a TICKET: CYNGNOS-1481
* ExtView: Document the keyguard external view APIsd34d2016-01-064-153/+223
| | | | Change-Id: Ia714c8a4afc40abda2448ba4a757ea34af05a65a
* cmsdk: Update iconography.Adnan Begovic2016-01-0613-0/+0
| | | | | | Yes it bothers me that much. Change-Id: Idabccbf584b23d6550c079cab2c1a1427ae6ab9b
* cmsdk: Add example service test.Adnan Begovic2016-01-053-8/+147
| | | | Change-Id: I52972bc4d32505ba7fd2f7278efdb9441c39b82a
* cmsdk: Add cmsdk non-jack target module.Adnan Begovic2016-01-051-0/+27
| | | | | | | | | Since LOCAL_JACK_ENABLED isn't flexible enough to have generation of both java archives and jack binaries, we can work around this by having a secondary module defined that disables jack compile. Change-Id: Ied647b659c13b672621d82af536d1ed447d5f7fa
* Reorder new setZenModeWithDuration API in aidlMatt Garnes2016-01-051-1/+1
| | | | | | | | | Previously, a new method was added to IPartnerInterface.aidl in the middle of other methods. This needs to be added only at the end to ensure backwards compatibility with older versions. Reorder the methods to place setZenModeWithDuration at the end. Change-Id: Ib9f9c7acceb928db5acc76e7351147074b230141
* cmsdk: add method for checking dynamic tilesRoman Birg2016-01-042-0/+10
| | | | | Change-Id: I946c15a531a5985b51924cbf3a1eb191b2833e51 Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Also hide internal package from docs.Adnan Begovic2016-01-021-0/+1
| | | | Change-Id: I278e00dbf4f1661383b3a6e3c67987c67ff202d7
* cmsdk: Fix quick pulldown settings, and unhide numerous system settings.Adnan Begovic2016-01-022-117/+46
| | | | Change-Id: Ibfc41a74ca5e5902ea704919ce076d8442258406
* cmsdk: Update current api text.Adnan Begovic2016-01-022-2/+248
| | | | Change-Id: Ib13c389ec64ee04fb8d189b22a94ca676835bfa6
* Automatic translation importMichael Bestas2015-12-2554-163/+737
| | | | Change-Id: I742c557747bbee9f821298497e2cef0e371bb0a2
* Add resources for WiFi customizationKhalid Zubair2015-12-233-1/+16
| | | | | | | Add resources needed by WiFi service (see If1613a8556908f372a70fbd859fa35e9315f9613) Change-Id: I76b838354459e4482795c9812d37bb204df708c3
* CM-SDK: add PREDISMISSED_STATE constant required by CM13 DeskClockWilhelm Fitzpatrick2015-12-231-0/+5
| | | | | | | | | | See http://review.cyanogenmod.org/#/c/125484 which brings the changes to allow third party components to set and modify alarms, and which actually makes use of the ClockContract in the SDK. This flushes out the fact that the ClockContract in CM13 added a new state. Change-Id: If6d57727298c0a749055337809b9a66e91078a01
* CMSDK: add duration for priority/quiet modeJanet Sun2015-12-234-13/+87
| | | | | | | | | | | | | Add setZenModeWithDuration API call with long durationMills Use NotificationManager.setZenMode with Condition URI specifying end time. Update settings/CMPartnerInterfaceTest TODO: unit test to be added in: tests/src/org/cyanogenmod/tests/settings/unit. FOR-156 Change-Id: I18dd661fc07419a7019b6372e81df430a70f86e9
* cmsdk: Add finalized docs for cantaloupe.Adnan Begovic2015-12-231-1/+2
| | | | | Change-Id: I47ce808dfff83ff2949bbad15121f2d4d7922925 (cherry picked from commit effba2040846da4fce73e58c0094c121f5d947d5)
* cmsdk: update api for level 3Roman Birg2015-12-232-0/+8
| | | | | | Change-Id: Ie5ed566934ff7a69ba71a5f080bd49929f7f71fe Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 1bb37d9676a97c9b5bbb7fea8493afdfeebb64c8)
* ExtView: Add samples for using KeyguardExternalViewsd34d2015-12-2221-0/+485
| | | | | | | | | This adds two samples, samples/externalviews/keyguardviewprovider which provides an example of creating a third party keyguard component, and samples/externalviews/setleygiardviewprovider which allows setting and clearing of the third party keyguard component. Change-Id: Ia9c564d602f1b6d44953eb05f2ffcf3f44663ece
* ExtViews: Add callbacks for ExtView->Host communicationd34d2015-12-224-1/+194
| | | | | | | | Adds an interface for the KeyguardExternalViewProviderService to communicate with the host in SystemUI. This includes handling notifying the host when the provider service has died. Change-Id: Icd185da289913b84da09707f1d8a2f4f4ff86bae
* ExtView: Add keyguard specific interface for KeyguardExternalViewd34d2015-12-224-13/+532
| | | | | | | | | | KeyguardExternalView requires extra state callbacks that can be passed on to the KeyguardExternalViewProvider. For this reason the KeyguardExternalViewProvider no longer extends ExternalViewProvider and instead provides the full implementation needed for ExternalViews as well as the specific keyguard components. Change-Id: Icf3589a201bf0ab29ba6e00e2bd6c0149e955e1d
* CMSettings: fixup ENABLE_PEOPLE_LOOKUP resKhalid Zubair2015-12-221-3/+3
| | | | | | | - move to System section in the resource file - fixup setting name comment Change-Id: Iafa1f429beff28ac303cacd6af6f5e3548379987
* CMSettings : Add default overlay for people lookupDanesh M2015-12-222-1/+7
| | | | Change-Id: I64db011fbe66045b52536f2c4b9d92e42603bd30
* cmsdk: Fixup stub generation.Adnan Begovic2015-12-226-12/+20
| | | | Change-Id: I1b033ff646dbbdafa5d0efcaf110b76ca48980e3
* ProfileManagerService: fix broadcasting crashRoman Birg2015-12-221-4/+4
| | | | | | Ref: CYNGNOS-1478 Change-Id: If4952c4513063ea4b2cf2105514183731175ad72 Signed-off-by: Roman Birg <roman@cyngn.com>
* ExtView: Move all samples to externalviews directoryd34d2015-12-2123-0/+0
| | | | Change-Id: I5dae57cd5d80cc378e7244b00e320725fea433b6
* cmsdk: Clean up some provider tests.Adnan Begovic2015-12-212-7/+32
| | | | Change-Id: I1b09f17a194054bfd0d35da843d0af1405fa4e21