aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMSettings: Enforce correct permission for writing settingsd34d2016-02-111-6/+13
| | | | | | | | If an application is writing to SECURE or GLOBAL they should only be required to hold the WRITE_SECURE_SETTINGS permission and not both. Change-Id: Ife14b5e19340f04e2e3b7ebba121104253d1dc88
* cmsdk: Update api for new notification lights profiles options.Adnan Begovic2016-02-102-0/+18
| | | | Change-Id: I7697308f34c89f6391810e114b12bc7457def725
* cmsdk: Add notification light setting to system profiles (1/2)Petr Sedlacek2016-02-101-0/+57
| | | | Change-Id: Ic6705792948c5393fc5ca9b207bc250b252e66da
* cmsdk: Add elderberry interfaces to api text.Adnan Begovic2016-02-092-0/+2
| | | | Change-Id: I391f4089e97af6cf8bd55c982979e110d7d8ca91
* cmsdk: Disable verbose logging on doclava, add cleanspec.Adnan Begovic2016-02-092-5/+5
| | | | | Change-Id: I44e8b458d4e46cf03ec18776c4ca296c53b440dd TICKET: CYNGNOS-1950
* CMSettings : Add option to pass swipe-up-to-unlock (3/3)Danesh M2016-02-082-0/+16
| | | | | | CYNGNOS-1873 Change-Id: Icdd2505dbc56a77f49a76ea61daf75c5d8a24fd6
* CMSettingsProvider: Build against internal sdk.Adnan Begovic2016-02-082-2/+2
| | | | | Change-Id: I1a7fc52a9d2e94f29e444b3566a6d9e139302210 TICKET: CYNGNOS-1908
* cmsdk: Remove unused androidTest directory.Adnan Begovic2016-02-081-7/+0
| | | | Change-Id: Id15cfc17d95f89aceb963a216ddd23295c21773a
* CMSettingsProvider: Get rid of redundant qs tile defaults.Adnan Begovic2016-02-083-7/+9
| | | | | | | | | | | | If you've git blamed this commit because your build broke, move your default tiles overlay to `vendor/cmsdk/cm/res/res/values/config.xml` with the entry value of config_defaultQuickSettingsTiles TICKET: CYNGNOS-1908 Change-Id: Id721136ce669d420fde46322a339b9517b1a3677
* cmsdk: Improve color distance algorithmSteve Kondik2016-02-081-25/+129
| | | | | | | | * Use CIE2000 deltaE algorithm (from OpenIMAJ) * Try harder to find a good looking color (also try dominant color) * Use new Palette API Change-Id: I0f0be52fe7c3e8376f1aa08c4bfa2751cd0659da
* cmsdk: Add preference for automatic notification colorsSteve Kondik2016-02-082-1/+18
| | | | Change-Id: I4bdb430917dac69f397995ea1c2abcacfb62136e
* cmsdk: Add concept of parameterized BinderIdTransactionTest.Adnan Begovic2016-02-058-23/+382
| | | | | | | | | | | To avoid any future release having offset binder transaction call ids, create a means to validate binder transaction ids within a parameterized environment based off of prior releases. This requires utilizing the new android testing support library for junit4 support. Change-Id: Iefe3c183de2bdfa127ea53dcf21c8223f0355c34
* cmsdk: Annotate a few zenmode tests as flaky.Adnan Begovic2016-02-031-0/+3
| | | | | | | This allows them to rerun without consequence to the entire suite on first failure case. Change-Id: Ia16b3dc433a7b9c83d36f8039b53052fda91c4b7
* cmsdk: cmhw: Add UniqueDeviceId supportMatt Wagantall2016-02-026-3/+66
| | | | | | | | | | | | | | | | It's sometimes useful to know what physical device you're using. CMHW SerialNumber and an "ro.serialno" property already exists, but are not guaranteed to be unique. Different OEM may use overlapping numbering schemes, and sometimes placeholder like "012345ABCDE" are used. Attempt to work around these shortcomings by defining a new UniqueDeviceId class that provides a globally unique device ID that is both deterministic for a given device and designed not to overlap with IDs of any other devices. Change-Id: I3f426972558394ba8e78261273ac8521aa603327
* Automatic translation importMichael Bestas2016-02-029-0/+280
| | | | Change-Id: I1893380ab4f7e3bb5ff31c72578aa28a932839a0
* CMSettingsProvider: Update app iconMichael Bestas2016-01-307-1/+1
| | | | Change-Id: If31edca58e156af81edf9202cb9a5a00107e84eb
* CMSettingsProvider: Don't trample default values on migrate.Adnan Begovic2016-01-261-0/+8
| | | | | | | | | | Since the migration is invoked even on a clean flash, with no means of knowing what scenario we're coming from. Assume that all null values are to be dropped and default values are to be given precedence. Change-Id: I10eb2f4650c379422268423dbc011b49f77ed910 TICKET: CYNGNOS-1721
* cmsdk: remove visualizer from default qs tile listKeith Mok2016-01-261-1/+1
| | | | | | | | | | This fixes the following errors during bootup: QSTileHost: Error creating tile for spec: visualizer QSTileHost: java.lang.IllegalArgumentException: Bad tile spec: visualizer CYNGNOS-1722 Change-Id: Idd45ef73beb004fb4afb310bb335f3cc85b08330
* Revert "cmsdk: Add example service test."Khalid Zubair2016-01-263-147/+8
| | | | | | | | This reverts commit 33e300e32db2b94274d94295435e1ad4c9a8347e. CYNGNOS-1677 Change-Id: Ia4a9d192fde03152d308f7a93f3fe6525cb57c7d
* Revert "cmsdk/tests: Temp hack to fix `mka` builds."Khalid Zubair2016-01-261-2/+1
| | | | | | | | This reverts commit 969cda08079312243c37176c8c3184266ef59ae3. CYNGNOS-1677 Change-Id: Ic814b7af9e9d1aef725b310af9f3b0383701eec7
* CMSettings: Fix defaults load on provider creation.Adnan Begovic2016-01-254-99/+363
| | | | | | | | | | | | | The database is innaccessible during creation through the android resolver interfaces, thus, no defaults were loaded even though the code would execute. So rewrite the DatabaseHelper to create a singular bulk transaction per table when default settings are to be loaded, and provide verification tests for the CMSettingsProvider. TICKET: CYNGNOS-1706 Change-Id: I3d8c5f25704ec9620fe57b82865531fb976a516f
* Automatic translation importMichael Bestas2016-01-259-19/+102
| | | | Change-Id: I3777f8d3c8b2c83da6bfe734bfaa1554ae91b198
* Add left QS quick pulldown (3/3)LuK13372016-01-231-3/+3
| | | | Change-Id: I77c8f0eda1b059bc2c0f0dff1d92834f36cd9de9
* cmsdk: Update for new ll interfaces.Adnan Begovic2016-01-222-0/+4
| | | | Change-Id: I48a7b6aff3ed21db69539b7733e0159db866c270
* cmsdk: Fix hardware service interfaces.Adnan Begovic2016-01-221-1/+1
| | | | | | | | Always add new interfaces to the bottom of the aidl or you break backwards compatability. Change-Id: I376fbe6869d3fb0002822112eb05d9acddd51572 TICKET: CYNGNOS-1699
* 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