aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* cmsdk: Add touch gesture haptic feedback settingMichael Bestas2016-02-273-0/+15
| | | | Change-Id: I1e26287a700ccc071c0c5dc5ff71c01df86ef6a0
* cmsdk: Factoring out color temperature to RGB conversion algorithmSteve Kondik2016-02-261-1/+223
| | | | | | * We need this for other things besides LiveDisplay. Change-Id: I14c80b059beded80c7cee369a9b40f71d6e905e8
* cmsdk: send intent to intialize CMHWRoman Birg2016-02-253-1/+23
| | | | | | | Ref: OPO-513 Change-Id: Iedd88bfad12b8f257bb792bf024d8eefa92b321c Signed-off-by: Roman Birg <roman@cyngn.com>
* Uncomment out getHotwordPackageNameInternal implMatt Garnes2016-02-241-2/+0
| | | | | | | | This was mistakenly commented out and causes the API to not function. Fixes FOR-205. Change-Id: I3c76d9c3665e35e2d13bed00cba1e742e4c0fb07
* PerformanceManager : Ensure we clear calling identityDanesh M2016-02-231-2/+9
| | | | | | | | | | | When going from perfmanager -> powermanager we need to clear the calling identity otherwise you get : Bad call: specified package android under uid 10031 but it is really 1000 CYNGNOS-786 Change-Id: Iacd310f56d6538b0f7a4779f89b4451f6a203c5b
* cmsdk: Update binder transaction tests for new interfaces.Adnan Begovic2016-02-223-80/+290
| | | | Change-Id: I79352dc36a4934f9821c5b487df0fb19a7ebc693
* Automatic translation importMichael Bestas2016-02-226-17/+30
| | | | Change-Id: I86ecc76f33b4cc3db62be2939ae501cd10f1634c
* cmsdk: insert dnd & edit tiles for 12.1 -> 13.0 upgradeRoman Birg2016-02-191-0/+39
| | | | | | | Ref: CYNGNOS-1924 Change-Id: I6d221e143dc91ec3dbc1c9a1877754f2b98b732e Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Add sanity checks in ColorUtilsSteve Kondik2016-02-191-2/+12
| | | | | | * Protect against nulls when generating colors from icons. Change-Id: I0ba9540848f7be485e713301f2c6c804bd4522e1
* cmsdk: add common action for launching camera from screen gestureRoman Birg2016-02-182-0/+14
| | | | | | | Ref: OPO-427 Change-Id: If97b2ebc864687a53c4ef8253f5d2d0bafc1e996 Signed-off-by: Roman Birg <roman@cyngn.com>
* CMSettingsProvider: Define battery style default.Adnan Begovic2016-02-173-0/+16
| | | | | Change-Id: Ic0cea75783ee5a0a7be3d0a24e57588ca177169a TICKET: CYNGNOS-2041
* cmsdk: Set explicity dependency for res package files.Adnan Begovic2016-02-171-0/+6
| | | | | | | | | | During checkapi-cm invocation under make, the api text generation dependant on the stubs (which depend on the sdk intermediates) needs the res package files: Manifest and R.java, to be available in the intermediates. Change-Id: I19921f1b5531822341a6804cf83e1b0b21b9f8bf TICKET: CYNGNOS-2049
* PerformanceManager : Keep in sync with low power modeDanesh M2016-02-151-6/+21
| | | | | | | | | | | | | | Fix edge cases such as : 1) Toggling to power save when plugged in (Should reject) 2) Plugging in to power while in power save should toggle to balanced. 3) Toggling from power save to anything else should disable low power mode (Orange system bars...etc) CYNGNOS-786 Change-Id: If6a4c08843673a6d02c38c94ed44d36230c0cb81
* CMSDK: Allow/Prevent notification light in Zen mode (3 of 3)niks2552016-02-153-0/+23
| | | | Change-Id: Icad93cf6166359debd774259aa186640de34d432
* Automatic translation importMichael Bestas2016-02-1410-16/+134
| | | | Change-Id: I5616066b18e84f59e040a0e73882a3831cdca35f
* cmsdk: launch default music player on headset connect [3/3]Michael Bestas2016-02-123-0/+12
| | | | Change-Id: Ibbb0607a56ab4d9246c14632eb4199558866854a
* cmsdk: Deprecate POWER_NOTIFICATIONS_ENABLED settingMichael Bestas2016-02-121-2/+4
| | | | | | * We will reuse AOSP CHARGING_SOUNDS_ENABLED Change-Id: I930ed41dd90f6dd1440ada5bf5b926467d683a46
* CMSDK : Add caffeine tile (2/2)Keith Mok2016-02-112-0/+3
| | | | Change-Id: I6c3d5cdc0dc2cce06f1c00c6ffbb96d5f376dc46
* cmsdk: adjust default tile orderRoman Birg2016-02-111-1/+1
| | | | | | | Ref: CYNGNOS-1861 Change-Id: I0f4ab58cb38fe0c9a2dba1b7d38de9020544bdc4 Signed-off-by: Roman Birg <roman@cyngn.com>
* 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