aboutsummaryrefslogtreecommitdiffstats
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-0814-8/+835
| | | | | | * 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: -
* CMSettings: Add default overlay for forward and reverse lookupArne Coucheron2016-07-293-0/+18
| | | | Change-Id: I3510a3e136ef86a8d45847a0bf7a35fb426212f9
* 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-2013-16/+373
| | | | | | | | | | | | | | | * 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: -
* Instruct AIDL to generate NoOp inner classLuis Vidal2016-07-151-0/+2
| | | | | | Use custom AIDL flag to auto-generate the inner static class NoOp Change-Id: I98005a99b3df168b4fb9951006eb9aff72e499ff
* Automatic translation importpinky@build012016-07-061-1/+1
| | | | | Change-Id: Ibd2684df79c127cdebe35e3a0435d02f77e23eec Ticket: -
* cmsdk: Update README.Adnan Begovic2016-07-011-3/+3
| | | | Change-Id: I4def7a31379d375103b1468d5e98ed5de8c9c64f
* 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
* LLS: Allow default enabled events to be overlaidd34d2016-06-262-0/+10
| | | | | Change-Id: I4607c0cace28c0987c2ed13d04db7c1eb67a1d0b TICKET: CYNGNOS-3103
* Themes: Provide 100% test coverage for themesd34d2016-06-241-2/+253
| | | | | | | | This patch completes the ThemeManagerTest and thus brings the themes package to 100% test coverage! \o/ Change-Id: I3bdb41781f127c9554c83f56503d591371031a23 TICKET: CYNGNOS-3029
* Themes: Fix ThemeManagerTestd34d2016-06-201-26/+76
| | | | | | | | | This fixes the assmption that a device will have a default theme declared in CMSettings, which is not always the case. If no default theme package is defined in CMSettings we use ThemeConfig.SYSTEM_DEFAULT instead. Change-Id: If7952ea984eea0accf3d0990871fb11e3ccc373a
* 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
* cmsdk: Prevent NPE in CMWeatherManagerLuis Vidal2016-06-171-0/+6
| | | | | | | | Verify that we have an instance of to the weather manager service before we try to register/unregister a listener or query the current weather provider. Change-Id: Iec09073615f85626c6f64e4a55758aae52231ca8
* Automatic translation importinky@build012016-06-172-5/+6
| | | | Change-Id: I1808f0cf7530364bdebdef8d530d49dbe7e4c8ad
* Weather API test: Wait for a bit before Mockito verifies if method was calledLuis Vidal2016-06-162-7/+7
| | | | | | | | | | | | Sometimes the runnable posted to runOnServiceThread() might run a bit faster than the calls made to the mocked weather provider, which causes Mockito to throw an exception. Add a timeout to instruct Mockito to wait for a bit before it verifies if the method was actually called. Also removed an unused variable in CMWeatherManagerTest TICKET: CYNGNOS-3043 Change-Id: I53b6541aeb571a6c83d1c26b6723d74c3661e8cc
* cmsdk: Increase flaky test tolerance on zenmode tests.Adnan Begovic2016-06-161-2/+2
| | | | | Change-Id: Iff5522913a518b403bf580152d4890ed1e4d275e TICKET: CYNGNOS-3014
* ExtViews: Catch SecurityException due to bad interfaced34d2016-06-161-2/+2
| | | | | | | When interfaces get obfucsated, bad things happen. Change-Id: I9b0829853da536f4047dab8223c97f993a399645 TICKET: CYNGNOS-2916
* cmsdk: Provide test coverage for remainder PartnerInterface's.Adnan Begovic2016-06-162-0/+55
| | | | | | TICKET: CYNGNOS-3051 Change-Id: I1c15516dc03d3c0897cdd35f22281b25eedb84de
* cmsdk: Provide remainder test coverage for CMStatusbarManager.Adnan Begovic2016-06-163-5/+66
| | | | | Change-Id: I4cfa89ac3d9e27b234c3209c203f2a3f2bf9c46b TICKET: CYNGNOS-3050
* cmsdk: Provide remaining ProfileManager test coverage.Adnan Begovic2016-06-161-3/+151
| | | | | | TICKET: CYNGNOS-3046 Change-Id: I42792fe03fd7c218bec6f997115bd79bb8e97403
* cmsdk: Provide remaining Profile test coverage.Adnan Begovic2016-06-161-3/+276
| | | | | Change-Id: Ief60939e92c1e8efe700410e3e23a0eeff744364 TICKET: CYNGNOS-3046
* utils: Introduce FileUtils classMichael Bestas2016-06-161-0/+115
| | | | Change-Id: Icbfa068fa0db2ae28436063072dd4b576f1b2be1
* Provide remaining Weather API test coverageLuis Vidal2016-06-154-1/+600
| | | | | Change-Id: I15acbb4193158e7b2b98f7298b1774e1a1bc0cc2 TICKET: CYNGNOS-3043
* CMSDK : Add tests for ColorUtilsDanesh M2016-06-151-0/+94
| | | | | | CYNGNOS-3047 Change-Id: Icdea3bd18f80302eb421cbd572abc9e6eeb30f0a
* CMSDK : Fix external view testDanesh M2016-06-153-70/+41
| | | | | | | | | | Java's assert doesn't really do much on android and just returns true, which makes you feel good about your tests, but its just lying to you. On the long run its best that you know the real result and fix it, hence switch to JUnit's assert. CYNGNOS-3042 Change-Id: If7e5982b10abc1f842a52110973566818b1e3bf4
* CMSDK : Add LiveLockScreenManager testsDanesh M2016-06-151-0/+131
| | | | | | CYNGNOS-3048 Change-Id: I5a372d23028c43a3952199b8ad70854bec2dc7a1
* External view testDanesh M2016-06-147-2/+1035
| | | | | | CYNGNOS-3042 Change-Id: Ibdd11b631c6deea3eb030ffb1ba55b6ca5fe022b
* cmsdk: fixup javadoc in CMHardwareManagerScott Mertz2016-06-141-3/+3
| | | | Change-Id: I114e57c1b907de3cc7cdaff746b0391cef4b8eb0
* cmsdk: Clean up posted tile in CustomTileListenerService test.Adnan Begovic2016-06-141-0/+1
| | | | | TICKET: CYNGNOS-3022 Change-Id: If0c2e18b86c5d2061fd36d404d9e63496998c25f
* cmsdk: Add CustomTileListenerService tests.Adnan Begovic2016-06-132-4/+175
| | | | | Change-Id: Ife06dc7672efded1d6ce34afce2d3d3954c50d1f TICKET: CYNGNOS-3022
* cmsdk: Provide test coverage to Profile's *Settings classes.Adnan Begovic2016-06-136-0/+318
| | | | | Change-Id: I775cdd00e7e5cfbead681d548075f44d5799bccf TICKET: CYNGNOS-3027
* cmsdk: Provide tests for Profile.ProfileTrigger interfaces.Adnan Begovic2016-06-131-0/+36
| | | | | Change-Id: I2ece6365defdd126c2cce1bbdf1ccc7d671d3a70 TICKET: CYNGNOS-3021