aboutsummaryrefslogtreecommitdiffstats
path: root/cm
Commit message (Collapse)AuthorAgeFilesLines
* Automatic translation importblinky@build012016-08-084-0/+8
| | | | | Change-Id: Ic90add544c2df37224eee1b7a62946d15c328f49 Ticket: -
* cmsdk/livedisplay: Add support for picture adjustmentSteve Kondik2016-08-083-1/+332
| | | | | | * Allows adjustment of hue, saturation, intensity, and contrast. Change-Id: Icf8ff6200a07b68e09dcd7f140a82e57b53944f7
* cmhw: Add support for display mode remappingSteve Kondik2016-08-043-3/+60
| | | | | | | * Simple mechanism for mapping vendor names to the various modes used in CM (with translations). Change-Id: I791e6302e48f1b886dfc3228a96176d7318679d5
* livedisplay: Enable by defaultSteve Kondik2016-08-041-1/+1
| | | | | | | * LiveDisplay is a popular feature that is widely enabled, so let's enable it by default. Change-Id: I6bc0240b0a79aa6a278ac83469d5cd9d63c682d1
* Themes: Broker the theme serviced34d2016-08-026-1419/+473
| | | | Change-Id: I429936f63d52eddcb1653515bc94e82f758b57d6
* livedisplay: Tweak defaultsSteve Kondik2016-08-011-2/+2
| | | | | | | | | * Raise the outdoor threshold to 12K lux to more accurately represent bright sunlight. * Raise the night color temperature to 4800K to provide a soft display look at night with less red. Change-Id: I26bdea7fc97acb2a17944a1f25e5e11866a08e29
* cmsdk: Allow services to conditionally start before decryptionSteve Kondik2016-08-013-2/+32
| | | | | | | | | | | | * Essentially everything in CMSDK should remain silent when we are being prompted to enter a passcode for decrypting the device. Unfortunately, simply shutting off CMSDK entirely will cause crashes everywhere. We need to be somewhat selective about it. * Motivation for this was LiveDisplay kicking into night mode before decrypted due to location services failing. Change-Id: I4d745debb2894776258343e8696ce5144f094404
* Automatic translation importinky@build012016-07-313-0/+8
| | | | | Change-Id: I00c456aff360d6e644953fb3eae8b16cc12147ad Ticket: -
* Automatic translation importblinky@build012016-07-291-0/+2
| | | | | Change-Id: Ic16cd0e674aa927413f735ee10f07b231d8b641f Ticket: -
* Automatic translation importinky@build012016-07-281-0/+2
| | | | | Change-Id: Icb1bbff6a51a59f4309a40ecc7e06b4fce1b4ccf Ticket: -
* Automatic translation importclyde@build012016-07-272-0/+4
| | | | | Change-Id: Ibcf3f9e87a5b335ac709f7061f88144e6c16aba0 Ticket: -
* Automatic translation importinky@build012016-07-264-7/+6
| | | | | Change-Id: Ib2786d6696fcc2ced57b50b65f9c746db342d8f5 Ticket: -
* Automatic translation importblinky@build012016-07-2595-0/+95
| | | | | Change-Id: I179df3f0aaad384a8c3ef780f7bdd26aa61a20f3 Ticket: -
* ThemeService:Component id is being changed for multiple entries in mixnmatch.Bharadwaj Narasimha2016-07-251-0/+5
| | | | | | | | | | | When a theme with more that one wallpaper is installed(Hexo), when we set the wallpaper in other themes to the second and third wallpapers of Hexo while using mixnmatch, some other components like icons,ringtones overlays would also change its Component_id to the corresponding Component_id of the wallpaper changed. Change-Id: I16a0b9a69a329308927cecbe2385f51184c8f0ee TICKET: CYNGNOS-3220
* cmsdk: Broker out CMAudioServiceRoman Birg2016-07-258-336/+144
| | | | | Change-Id: Ia1205ad67d524ebf379085a6287993b8b82bc76f Signed-off-by: Roman Birg <roman@cyngn.com>
* livedisplay: Add support for direct color balance controlSteve Kondik2016-07-205-6/+189
| | | | | | | | | | | | | | | * We currently use the DisplayColorCalibration API for setting display temperature which makes a lot of guesses about what temperature the display really is. Some devices will support the new ColorBalance API (via QDCM or other mechanism), which offers a calibrated alternative. Add support for this, which will supercede DCC if available. * Additionally, define the available color temperature range as a set of overlayable values so this can be specified per-device. This range will be mapped to balance values using the power curve calculations in the new MathUtils class. Change-Id: I99608c09807b747d962680293c7b0cee8d669003
* cmsdk: Correct the useSegmentedBatteryLed detailsAdrian DC2016-07-181-1/+1
| | | | | | | | * The power level is passed down as the alpha channel now, in order to preserve consistency and still pass down the color of the battery lights given to the liblights Change-Id: Ia44cf1f73f09da6c96ac3b98e9387f1e3ec42249
* Automatic translation importinky@build012016-07-151-0/+12
| | | | | Change-Id: I5bcb7e0777a697f18d9d58440c6db7269cef4ed1 Ticket: -
* Automatic translation importpinky@build012016-07-061-1/+1
| | | | | Change-Id: Ibd2684df79c127cdebe35e3a0435d02f77e23eec Ticket: -
* cmsdk: Create brokerablecmsystemservice concept.Adnan Begovic2016-07-014-155/+341
| | | | | | | | | Extending the BrokerableCMSystemService allows a core system service to declare a delegate provider interface that can exist in another package, either in the same or an external process. Change-Id: Idf8d170b1504528b0d3aafb23895951e26459c98
* cmsdk: Factor CMSystemServiceHelper to common.Adnan Begovic2016-07-012-7/+3
| | | | Change-Id: I3984d64210b9a1be71d075a8eb8b8a2cfebde183
* Apply active profile if user enables system profilesLuis Vidal2016-06-302-4/+80
| | | | | | | | | | | | | | | | | Ensures the active profile is applied when user enables system profiles. The profile will be automatically applied upon activation if: - No triggers are defined (i.e the profile does not respond to events) - A ON_CONNECT WiFi/BT trigger is defined and the device is currently connected to such network/device If system profiles are already enabled and a WiFi/BT event is fired, apply the profile overrides Change-Id: I362893151e52d35636d2ac05ab35e986d1f7237e TICKET: CYNGNOS-3104
* Automatic translation importinky@build012016-06-291-2/+2
| | | | Change-Id: If564dc92bc80d6ddfeaec7606678d544591cc11d
* Themes: Fix applying default themed34d2016-06-201-2/+1
| | | | | | | | | ThemeUtils has method for getting the default theme package name which will return ThemeConfig.SYSTEM_DEFAULT if no default theme package is defined in CMSettings. Use this method rather than read the setting directly. Change-Id: I924f8ee116d97a8f3fcf4703214376608b31f297
* Automatic translation importinky@build012016-06-172-5/+6
| | | | Change-Id: I1808f0cf7530364bdebdef8d530d49dbe7e4c8ad
* Ensures ProfileTrustAgent properly grants/revokes trust [2/2]Luis Vidal2016-06-081-17/+50
| | | | | | | | | | | | Notifies the ProfileTrustAgent when a WiFi/BT event was triggered even if no new profile was selected so the trust agent can grant/revoke trust Filters out the multiple network state change notifications to make sure we notify the trust agent only when the event that the profile is tracking actually happened Change-Id: I047861a8b145762fff24568e341373a89ee01de9 TICKET: CYNGNOS-2719
* cmsdk: LiveDisplay: Enforce dump permissionDiogo Ferreira2016-06-071-0/+2
| | | | | | Fixes android.security.cts.ServicePermissionsTest#testDumpProtected. Change-Id: I5641b42c56d9783b1edb8fb397d51040cadb1467
* Automatic translation importinky@build012016-06-061-0/+9
| | | | Change-Id: I39e197f19ff2888207f0eae14e72b39a21241eca
* Automatic translation importclyde@build012016-06-032-0/+4
| | | | Change-Id: I7cacb61ffe8817360907f7138555f466b9f2f060
* Themes: Use default audibles when pkgName is emptyd34d2016-06-021-1/+1
| | | | | | | | Fixes an issue where audibles would be "unknown" causing them to not play when phone rings, notifications arive or an alarm goes off Change-Id: If279ed7e88784c025999822da7ee3a1a51d63bbd TICKET: CYNGNOS-2728
* Automatic translation importinky@build012016-06-012-0/+50
| | | | Change-Id: I4c501ae6f8cf5bcdb2957ed920d081b3b8627e3d
* cmsdk: Create CMSystemServer to handle our platform init.Adnan Begovic2016-05-3118-91/+277
| | | | Change-Id: I7b62978e2a284a3a1ec1ffc1d8c72545d7b0c939
* Automatic translation importJessica Wagantall2016-05-263-2/+4
| | | | | Change-Id: I93bbea04f8764c0430597f295fef6972f632be1e Ticket: RM-214
* Automatic translation importJessica Wagantall2016-05-201-0/+34
| | | | | Change-Id: I46e5d915a803f1ef6813bdbdabe737863025e7ba Ticket: RM-214
* Automatic translation importAbhisek Devkota2016-05-171-0/+11
| | | | Change-Id: I806c87e9f036c65c25ec56c452fac23507cf643f
* Automatic translation importAbhisek Devkota2016-05-151-2/+2
| | | | Change-Id: I5728ee43d68ae83f6480664f19f8bafb7d3fcc10
* Automatic translation importAbhisek Devkota2016-05-142-0/+53
| | | | Change-Id: Ic62129d6a01476de1cee98a54e5d39e136f80701
* PerformanceManagerService: drop requests if system is not yet readyScott Mertz2016-05-121-0/+16
| | | | | | | | | There is a race condition between when onBootPhase(PHASE_SYSTEM_SERVICES_READY) is handled and when clients request profiles, cpu boost, or launch boost. Drop these requests in this condition. OPO-702 Change-Id: I0860f824473767a4a4776e9febc7fb786b81f457
* LLS: Fix NPE when backing service diesd34d2016-05-111-1/+1
| | | | | | | | | | The mService member variable should not be used directly as this can cause an NPE if the backing service has died. Instead, use the getServiceGuarded() method which will take care of re-establishing a connection to the backing service. Change-Id: I290e69c07a2e56644de7a394543d1e36fac1cbcc TICKET: CYNGNOS-2779
* Automatic translation importAbhisek Devkota2016-05-101-0/+2
| | | | | Change-Id: I08828c53b07a47fb169871c14b4d91641f88e3eb Ticket: RM-232
* Automatic translation importMichael Bestas2016-05-1095-13/+546
| | | | Change-Id: I415a05f9260dee22c61c2bd8cad035a424990fb6
* cmsdk: Pass the process name and pid for launch boostsSteve Kondik2016-05-066-45/+158
| | | | | | | | * We need this for vendor perf tools. * This also adds a NativeHelper class which loads the JNI library on-demand, since we don't have an entry point. Change-Id: If76ad8f952e86366978ae9cf9d1f107febccc28b
* QS: Make themes a first class citizen againd34d2016-05-054-0/+79
| | | | | Change-Id: Icd397a2ddd730ae525233b66288fde9a6798c221 TICKET: CYNGNOS-2670
* cmsdk: Fix CTS Failure due to testDumpProtectedPat Erley2016-05-051-0/+2
| | | | | | | Only dump CMAudio Service State for processes with dump permissions. OPO-679 Change-Id: I28a501851a76e6d82f5726c13ac1fac74f47a8f1
* cmsdk: Add allowViaWhitelist to LLS_MANAGER_ACCESS_PRIVATEd34d2016-05-041-1/+2
| | | | | Change-Id: Idee5bd602047c01f8e13cd7d5ddbe6fb151215a2 TICKET: CYNGNOS-2378
* cmsdk: Add support for segmented LEDsSteve Kondik2016-05-032-0/+7
| | | | | | * For devices with segmented LEDs which can function as a range bar. Change-Id: I346576b705635b60f9fd8716937e86b23bc7aa30
* cmsdk: Fix warning from 64-bit clangSteve Kondik2016-04-301-1/+1
| | | | Change-Id: I2e45d0b1a8a552331d2691d6bc6d72a3b48a8467
* Automatic translation importMichael Bestas2016-04-2995-1/+264
| | | | Change-Id: I9bc4a483af682783e5f0ee215daf8b7334fe5431
* cmsdk: Add CMAudioManagerSteve Kondik2016-04-277-0/+443
| | | | | | | | | | | | | * This is a rework of the session callback API which previously lived in the framework due to JNI usage. This has been split out and cleaned up for CMSDK. * The JNI library lives on the server side, and the app-level callback has been changed to a protected broadcast. This allows us to wake up registered services when these events occur. * Additionally, we support listing all active audio sessions. * Also brings some JNI love/hate over to CMSDK. Change-Id: I31c293943474419e3db088bb7ffab75f7440ac0f
* livedisplay: Fix another transition issueSteve Kondik2016-04-261-9/+2
| | | | | | | | | | | | | | | | * If the screen is off during the entire transition period, when we turn the display back on it is not updated with the correct color temperature. * The code here is trying to be Mr. Smarty Pants and avoid extra updates, but it's totally pointless and also broken. There's no ill effects from writing to the hardware when the screen comes on, and updateColorTemperature already has all the other conditionals we need. * Just call updateColorTemperature every time, regardless. The LiveDisplayService ensures the callbacks run on the handler thread and all this crap can be removed. Change-Id: Ib9560e13870a5c6bbe9c5a26fad40f5ec1cefa83