aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce KeyguardExternalViewLuis Vidal2015-12-181-0/+46
| | | | | | | | For now, this class is used only to expose the category that must be used by the activity requesting permissions in the keyguard and the name of the extra argument provided in the intent used to start such activity Change-Id: Ib978d192110ebab65691c6c3e03f977df2ab47d3
* External views for cm13Chris Sarbora2015-12-1829-1/+1033
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial ExternalViewProvider Change-Id: Ib35d79d3ae01d2e1a98020c5e65e4fbe50d2d322 Fill out methods and run everything on main thread Change-Id: I05dd1bce5c24057101cd85656d28b01e6681434a Fix aidl Change-Id: Ie4b9a4463fdea37a0c5d657ffbc8796d51b57303 Add sample provider Change-Id: I51b73302f85927aba2e9ea30ce47d6958af8e451 Create window and view earlier and only once Change-Id: I60264b3c2de302f6f628320f436ac2aeb39de42c visibility Change-Id: I6ed2d6431c5aec9d4959a51828c42a700aabbd22 Add logging Change-Id: I224587bcdfd1ff08673a618c5e45fef384041b8b Add external view Change-Id: Ic7f1ba96857239ac0fa43777f7d637716b7aead7 Resource fixes Change-Id: I75324900d36a465575338c8b0ec9cc568ea50b9a Add view host Change-Id: Ief57371563feca707f420a509827c78c48bedf9c Such hacks :\ Change-Id: I11ff460e7e7fed9cb14531ec3fb4699a37021ee0 Use a real window Change-Id: Ie79f8188beaa871c6b8c96303c3221cdd7352fc6 Make api able to handle multiple instances of provided views Change-Id: I185a8950aa577f920eaf7582c53f3316b88765c8 Ensure attribute set is passed to constructor Change-Id: I9ebb4e8b0f7538ea5d0e7da179b1f1df812532b1 Add clip rect support Change-Id: I23ac08b9e9e1e07e72bbf761ede1de87f4e4b084 Use final clipRect, instead of member Change-Id: I2fa5f6ff30adf30fc0fe10f9fac1869ab4c03904
* Keyguard: Introduce 3rd party keyguard perms and utilsd34d2015-12-183-0/+96
| | | | | | | | | For CM13, the third party keyguard permission is being added to the cmsdk rather than frameworks/base. This patch also introduces CmLockPatternUtils, a subclass of LockPatternUtils, which allows us to make use of the new third party keyguard permissions in cmsdk. Change-Id: I91fadfaae79e3f146e9ae73929cea91294ef8d87
* CMSDK : Remove VOLUME_LINK_NOTIFICATIONDanesh M2015-12-181-8/+0
| | | | | | | This is used by SeekBarVolumizer which is in core which is part of the BootClassPath. Change-Id: I96bf18b0d239543271e508eff12152af281bb8b0
* cmsdk: add LOCKSCREEN_VISUALIZER_ENABLEDRoman Birg2015-12-163-1/+15
| | | | | Change-Id: Ia8b11083a54195acfebab76c646987962b798c16 Signed-off-by: Roman Birg <roman@cyngn.com>
* Allow disabling the privacy guard notification - port from cm-12.1 (3/3)Chirayu Desai2015-12-161-0/+7
| | | | Change-Id: I3233517f9f6ff5a3e438682443b1e1b5907d4bd9
* CMSDK : Migrate QS_ADVANCED_LOCATION_SETTINGSDanesh M2015-12-151-1/+9
| | | | Change-Id: I638f69053eed6b5d6d35ed490071212924b63dca
* CMSettingsProvider: Split default load, don't load global for non-owner.Adnan Begovic2015-12-141-9/+23
| | | | | | | | Any "CALL" into the CMSettingsProvider on a new user triggers the load default settings mechanism which may lead to attempting to load "global" settings for non owner which is impossible. Change-Id: Ic8535e3c211aeaccfd3d72c3f9b11eef4d9087b8
* CMSDK : Add live display tileDanesh M2015-12-141-1/+1
| | | | Change-Id: I27098ed3cd59a58ba7b1dedc5e360ba541086c56
* cmsdk: Add AmbientDisplayTile.Adnan Begovic2015-12-111-1/+1
| | | | Change-Id: Ifc6b7e907fe24821c430192fc544493d5ae1d97e
* cmsdk: Add LockscreenToggleTile.Adnan Begovic2015-12-111-1/+1
| | | | Change-Id: Ic789c95db7e4c9cca543145bbc74941ddefd68ea
* cmsdk: Nuke concept of Dynamic Tiles in available tiles.Adnan Begovic2015-12-102-15/+0
| | | | Change-Id: Iad95954603271dc42785cd4a1862200b2f8602f4
* cmsdk: Uncomment dynamic tiles.Adnan Begovic2015-12-101-4/+4
| | | | Change-Id: I4bddccac5e9fbc523316fb2b0aa418813c31c667
* CMSDK : Add performance tileDanesh M2015-12-101-1/+1
| | | | Change-Id: I60c25eaba7fd497b8038b3755896f3e796321bfe
* CMSDK : Ensure getAvailableTiles clones objectDanesh M2015-12-101-1/+2
| | | | | | | Not doing so results in unwanted modifications to the underlying array. Change-Id: I344cb556aea5c7b1ac8b199f496eec0d50dae28c
* CMSDK : Add screen timeout tileDanesh M2015-12-101-1/+1
| | | | Change-Id: I574a9b7d80949e343870684d78330dc8aca83690
* CMSDK : Add usb tether tileDanesh M2015-12-101-1/+1
| | | | Change-Id: I54fd91f0221b5d3506d783d8a0f4a881d1ca0ec6
* CMSDK: Add profiles tileLuK13372015-12-101-1/+1
| | | | Change-Id: I2c223657a0c4761d51f4c60bdb8c07049576fd2a
* cmsdk: Add helper class for working with colorsSteve Kondik2015-12-091-0/+188
| | | | | | | * A bunch of generally useful algorithms and helpers for performing colorspace conversions and other color-related math. Change-Id: If54ca156fc5473f6c1b39eb53bd871f48c3dc2a1
* cmsdk: Add CMHW method to check if SRE is self managedSteve Kondik2015-12-093-0/+30
| | | | Change-Id: Ia5f644ce0b964a965afa47ea08016167c8b20620
* CMSDK : Add volume tileDanesh M2015-12-091-1/+1
| | | | Change-Id: I12bdf19dd8b44a2d6eaaae92fd1888266f1a58f9
* CMSDK : Add sync tileDanesh M2015-12-091-1/+1
| | | | Change-Id: Ic8c7777d7500e4adb9b4ef7e54b880aedd059ef5
* CMSDK : Add nfc tileDanesh M2015-12-091-1/+1
| | | | Change-Id: I84681fb643774cc13983ffb4b6af1bf070ca54a7
* CMSDK : Add compass tileDanesh M2015-12-081-1/+1
| | | | Change-Id: I1eae3200f5e8c4cfb1587a641deb541a43e43d81
* cmsdk: Add QS utility classes.Adnan Begovic2015-12-084-0/+431
| | | | Change-Id: I5644f6d9769614d72220ee68a08202e6c69037d9
* CMSettings: Add secure validators and relocate protected apps validatorYvonne Wong2015-12-072-156/+187
| | | | | | | | Move validators from CMSettings.System into CMSettings, add validators for CMSettings.Secure, and move protected apps validator from CMSettings.System to CMSettings.Secure Change-Id: I9f4e1bef7ff5be100376d2d03d34483d12938158
* Fix build breakage caused by "add default value for QS_USE_MAIN_TILES"Alexander Martinz2015-12-071-1/+1
| | | | | | | * commit 204ffe00a3c2dc205e5e1f90a1b2f10025d40ca9 Change-Id: I84d58a31e7f91e448865a05cf947f1e7d3442653 Signed-off-by: Alexander Martinz <eviscerationls@gmail.com>
* add default value for QS_USE_MAIN_TILESRoman Birg2015-12-072-0/+6
| | | | | Change-Id: I22f1430841b7eec3a01431bfd12ed1591361f46d Signed-off-by: Roman Birg <roman@cyngn.com>
* CMSettingsProvider: Only enable component if already disabled.Adnan Begovic2015-12-031-4/+7
| | | | | | | Each CALL method would renable and already enabled component, cut down on log spam. Change-Id: Ie58c75e32c828b1ce8b1017620b5a3b073830bbd
* cmsdk: Add initial cleanspec.Adnan Begovic2015-12-011-0/+45
| | | | Change-Id: I063534c822d3d1162e691952a9a8e3ae00fac271
* cmsdk: Compile in internal java src files to internal sdk.Adnan Begovic2015-12-011-0/+1
| | | | Change-Id: Id649dca11f506bae78345dbebb2061312e6973b7
* utils: Introduce ScreenType classMichael Bestas2015-12-011-0/+66
| | | | Change-Id: I6ddb14d6228565331d52069f4d96f93a9d306b45
* Protected Components: Adding validator. Fixing crash in Trebuchet due to ↵Vineet Patil2015-11-301-0/+21
| | | | | | missing validator. Change-Id: Id79784c82ae2851d4beb54d6c46496b3f3e4d2d7
* migration: Clean up abstractions.Adnan Begovic2015-11-295-57/+195
| | | | Change-Id: I97e6300b1f41693596124dd437468a1390445121
* cmsdk: Reimplement helper methods for secondary telephony service.Adnan Begovic2015-11-291-12/+14
| | | | Change-Id: If126936f788d398c53dca21297cd7d69f9d933b8
* cmsdk: Re-enable multiple profiles functions.Adnan Begovic2015-11-293-7/+7
| | | | Change-Id: I1db0cba6cf107926a25a8e45952813d3c21eb470
* Fix compile error in test cases from 3ddf435fb4085f07d47d67b21a6168c17d1f8aa1emancebo2015-11-271-2/+2
| | | | Change-Id: I83bb44505938e8a969b8c123d0947b6c35e12f8c
* perf: Add PerformanceManager.getProfileHasAppProfiles APIKhalid Zubair2015-11-253-2/+40
| | | | | | | Add an API to query PerformanceManager if a perf profile supports app-profiles. Change-Id: I51d958343624ab085de0352ac182cb05308e0da4
* perf: fix perf profile change issuesKhalid Zubair2015-11-251-42/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Rework profile handling to address the following issues: - When app specific profiles are enabled, the perf service silently changes the profile to BALANCED when the user revisits settings. The service and Settings UI still show whatever pref the user had selected. The user is now unable to change the setting to BALANCED. The perf service ignores the change because the current profile (selected by app profiles) did not change. - When low power mode (battery saver) activates or deactivates, the user selected profile is overwritten. All runtime decisions regarding active profiles have been consolidated in to a single applyProfile() function that handles low power mode, user and app-specific profile rules. App specific profiles are applied only if the power profile is BALANCED. setPowerProfileInternal has been changed to save the user pref even if the active pref is unchanged. Fixes SAMBAR-1088 Change-Id: Iac658959130f08452f5e41ce3339fe4603ac474e
* Protected apps componentsVineet Patil2015-11-243-0/+38
| | | | Change-Id: I850d45e9aca6eff8221766830fce45468c8ca549
* cmsdk: Fix readme on hist migration util.Adnan Begovic2015-11-231-3/+3
| | | | Change-Id: I735efd0cb58d7be7faa7a7820de63a3eb36c8faf
* CMSettingsProvider: Change migration pref.Adnan Begovic2015-11-201-3/+17
| | | | | | | | | The previous migration step should've never happened, change the default shared pref to a different location to force trigger a migration on devices where the previous iteration of settings migration already happened. Change-Id: I6b466d37910c31dbf58d37fd631807d7dd2dbae3
* CMSettings: add reporting status settingRoman Birg2015-11-201-0/+6
| | | | | | | | Ref: CYNGNOS-1131 Change-Id: Ic237763bc5900d89a7ad5efb19d7ad3bcc448e33 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 0c0aef6666490e6ec7055dc87503a63edbf66c98)
* testing: Host side settings migration verifier.Adnan Begovic2015-11-1916-0/+2357
| | | | | | See README for usage. Change-Id: Ibcbd4ee3882097a8d01ca219aeef0130778436f6
* CMSettings: Validate name and value for System settingsd34d2015-11-192-5/+717
| | | | | | Verify that the name and value being inserted/updated are correct. Change-Id: I0243556701b1d303ca52135178b055c2fd87671c
* CMSDK : Add missing settings to LEGACYDanesh M2015-11-171-2/+20
| | | | Change-Id: Iad4b81523962ce8af28bbf2cef4884168c975c40
* CMSettings : Remove unused/legacy settingDanesh M2015-11-171-6/+0
| | | | Change-Id: I690fc127280cb0e53da4b221d87df85e4218b82c
* CMSettings : Remove AOSP settingsDanesh M2015-11-171-40/+0
| | | | Change-Id: I73b3e057159113f111303e3fde822a533f8df8ed
* CMSettings : Remove BLUETOOTH_A2DP_SRC_PRIORITY_PREFIX WIFI_AUTO_CONNECT_TYPEDanesh M2015-11-171-21/+0
| | | | | | These are CAF features. Change-Id: I28c685a54969619db5e6037462976272fa51012a
* CMSDK : Remove legacy testsDanesh M2015-11-161-2/+2
| | | | Change-Id: I9872774053d68aaf7ed37c74888a5a7ead809484