aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* cmsdk: Move sdk classes under new sdk directory.Adnan Begovic2016-04-01100-22108/+0
| | | | | TICKET: CYNGNOS-2299 Change-Id: Ia6c6a1ee901f4f94446c379cbceabfdfced651ef
* Initial checkin for DataUsageContractgkipnis2016-04-011-0/+164
| | | | | | | Used for accessing DataUsageProvider which is used by the Settings App for monitoring per App cellular bandwidth consumption Change-Id: Iab0fa27de69067c706d98eb08cc0458eb74111dc
* Added ACTION_DATA_USAGE Intent to directly invoke Settings->DataUsagegkipnis2016-04-011-0/+10
| | | | Change-Id: I1a1131b60c7a6695ad45d85ff1e9cbc3ac6ea0eb
* cmsdk: Unhide the Concierge.Adnan Begovic2016-04-011-2/+5
| | | | Change-Id: I82adee7f9acb67623725acea723b52e08bab7311
* CmSdk : Swipe offsets and show lockscreenDanesh M2016-04-014-0/+68
| | | | | | | Allows live lockscreen to listen to keyguard offsets and show lockscreen. Change-Id: I1a06c78b95e4e6940e063c6e0ba0e4db44a3c380
* cmsdk: Change parameter type of unregisterProcessingListener.Adnan Begovic2016-03-311-1/+1
| | | | Change-Id: I96dde056e2f83218a27024ebc94de51fd45299d1
* cmsdk: Add preliminary ThemeManager test coverage.Adnan Begovic2016-03-311-1/+2
| | | | | TICKET: CYNGNOS-2307 Change-Id: Ie94ae3cd55678ecb2c631dc10d2335fb5d7362a7
* cmsdk: Create Concierge parcel handler concept.Adnan Begovic2016-03-3120-426/+424
| | | | | | | | | | | | | | | | | | | | | | | | | | Simply, Concierge handles your parcels and makes sure they get marshalled and unmarshalled correctly when cross IPC boundaries even when there is a version mismatch between the client sdk level and the framework implementation. On incoming parcel (to be unmarshalled): ParcelInfo incomingParcelInfo = Concierge.receiveParcel(incomingParcel); int parcelableVersion = incomingParcelInfo.getParcelVersion(); // Do unmarshalling steps here iterating over every plausible version // Complete the process incomingParcelInfo.complete(); On outgoing parcel (to be marshalled): ParcelInfo outgoingParcelInfo = Concierge.prepareParcel(incomingParcel); // Do marshalling steps here iterating over every plausible version // Complete the process outgoingParcelInfo.complete(); Change-Id: I0096851e08ce25908e19e39e6bc4af344e85725e
* Add Weather Content Provider [4/5]Luis Vidal2016-03-3121-0/+2508
| | | | | | | | | | | | | Introduce CM Weather Manager and Weather Provider Services API. The CM Weather Manager can be used by apps to request weather updates. The Weather Provider Services API allows a third party developer to implement a weather service to process weather update requests and update the CM Weather Content Provider data which can be consumed by any other app holding the required permission. Change-Id: Idcc80712ba92715109d3577d120f7fea85d6c996
* CMSettings: add event live lock component keyRoman Birg2016-03-311-0/+6
| | | | | | Ticket: CYNGNOS-2267 Change-Id: Ifa6115f466190c6e45c4d76d2da5a2cdab1bb0e1 Signed-off-by: Roman Birg <roman@cyngn.com>
* Add callbacks for window attachmentd34d2016-03-313-2/+186
| | | | | | | | Because we restrict the window type used for live lock screens to only one instance, we need to know when the current one is detached so that a new one can be added. Change-Id: I55cf79a8eeb962b53c01014ec97373403cd073b6
* cmsdk: add live lock screen settings action intentRoman Birg2016-03-301-0/+7
| | | | | | Ticket: CYNGNOS-2241 Change-Id: I42dbfc96807d1f2aad1f84b100b5e7a2ab68daea Signed-off-by: Roman Birg <roman@cyngn.com>
* LLS: Add live lock screen service [1/4]d34d2016-03-299-0/+808
| | | | | | | | The live lock screen service is resposonsible for deciding what LLS should be displayed at any given time. Live lock screens can be swapped out using a priority based system. Change-Id: Ifba73e839b749fe78a9e4ee347dd20eea6bf0a22
* cmsdk: Add hidden interface for getService on AppSuggestManager.Adnan Begovic2016-03-281-1/+3
| | | | | | | | Also retrieve service on Singleton constructor to match patterns of other manager service relationships. Change-Id: I4dbca5d0a2339603ddfb58ee54959355d24c8a9a TICKET: CYNGNOS-2319
* cmsdk: Mandate partner feature xml's for service implementation.Adnan Begovic2016-03-252-0/+14
| | | | | | | | | | | | | | The feature xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. Change-Id: Ic980225df9c115e97f7147cf043cf92bbb225f01 TICKET: CYNGNOS-2293
* cmsdk: Mandate performance feature xml's for service implementation.Adnan Begovic2016-03-252-1/+14
| | | | | | | | | | | | | | The feature xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. Change-Id: I50f5993ff9c5107fdeaa9a5aa95377235eb3ac02 TICKET: CYNGNOS-2294
* cmsdk: Mandate themes feature xml's for service implementation.Adnan Begovic2016-03-252-4/+19
| | | | | | | | | | | | | | The feature xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. Change-Id: I67b16a0725ed89d5ddbc973b09337d6227087e4d TICKET: CYNGNOS-2295
* cmsdk: Mandate telephony feature xml's for service implementation.Adnan Begovic2016-03-242-0/+17
| | | | | | | | | | | | | | The feature xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. Change-Id: Ib8e41130f143f784088b4566589a4ddc58aa2ace TICKET: CYNGNOS-2291
* cmsdk: Mandate app suggest feature xml's for service implementation.Adnan Begovic2016-03-242-1/+17
| | | | | | | | | | | | | | The feature xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. Change-Id: Icda71efc084cf91bd358dba24eee4704179be90e TICKET: CYNGNOS-2290
* cmsdk: Mandate profile feature xml's for service implementation.Adnan Begovic2016-03-242-0/+15
| | | | | | | | | | | | | | The feature xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. TICKET: CYNGNOS-2288 Change-Id: Id0adcc1eaa4a0512faf25f11057c45dc2ac733e0
* cmsdk: Mandate cm sb feature xml's for service implementation.Adnan Begovic2016-03-242-0/+15
| | | | | | | | | | | | | | The feature xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. TICKET: CYNGNOS-2289 Change-Id: Ice0ae7c45aecbb34e0ea667128b040906c46d7e7
* cmsdk: fix javadoc for performance profilesRoman Birg2016-03-241-1/+1
| | | | | | | Native performance manager returns -1 if the feature is unset, not 0. Change-Id: I77800f474a2cf68f4eda62cfb7239f106a73d458 Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: fix last profile extra constantRoman Birg2016-03-171-1/+1
| | | | | | | Ref: OSS CYAN-7459 Change-Id: I6be1f11e1a48e358cd9050358a3ca5b8b4a6d4e0 Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: send connection value when changing network modesRoman Birg2016-03-152-26/+135
| | | | | | | Ref: CYNGNOS-1463 Change-Id: I2ef1feb0d1f135f360dc553e3426bdd7610087bd Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Mandate cmhw feature xml's for service implementation.Adnan Begovic2016-03-152-7/+29
| | | | | | | | | | | | | The features xml plays two roles: 1) To allow sdk interface (constructor) to throw when system service is unavailable. This allows for clearer platform development debugging. 2) To allow for simpler disambiguation of what services to instrument in a modular environment. Change-Id: I41f4ac60af076743909c6090fd50c3ad045bc9e1
* Revert "cmhw: Don't hold a static reference to the service"Adnan Begovic2016-03-141-44/+41
| | | | | | | | | | This is a bit heavy handed, will provide new patch to attempt to provide verbosity on ordering issue where system service bind failure is present. This reverts commit 96cfc7392c27137ceff08c86dec29059614ce6b0. Change-Id: I8facd08a39c0cfa9837688b00226f37023baef8c
* CMSettings : Add display gamma settingDanesh M2016-03-141-0/+7
| | | | | | CYNGNOS-1166 Change-Id: I41ee5120359df3dc4702cc2c573c66b06a9bee00
* cmhw: Don't hold a static reference to the serviceSteve Kondik2016-03-131-41/+44
| | | | | | | * If getService fails for whatever reason, there is no chance to try again. Fix it. Change-Id: Ibabd73dfbff0b99e0b75fda96eadbde5e8685c74
* CMSettings: Add VIBRATOR_INTENSITY settingd34d2016-03-111-0/+6
| | | | | Change-Id: I55025639036becd6df6c945abc904a531ffa4207 TICKET:CYNGNOS-1166
* CMSettings: Add FEATURE_TOUCH_HOVERINGd34d2016-03-111-0/+6
| | | | | | | | Unbreaks the build by adding this missing setting used in framework services. Change-Id: I4389647b026f0a755623cb822996344755b9590a TICKET: CYNGNOS-1166
* ExtViews: Guard against bad LLS providersd34d2016-03-101-15/+33
| | | | | | | | | Add checks in onServiceConnected to make sure the provider was created correctly and if not, log it and move on without imploding the universe. Change-Id: I6929a02631685636e2c52c2d6d13883f0c3a13c4 TICKET: CNYNGOS-2217
* Revert "Allow to ignore presentation indicator of outgoing calls [1/3]"Adnan Begovic2016-03-101-12/+0
| | | | | | | | | | | This adds public cmsdk symbols to the bootclasspath. :( 2) testBootClassPathIsClean(org.cyanogenmod.tests.versioning.unit.ClassPathTest) java.lang.AssertionError: Jar file /system/framework/telephony-common.jar should not have cyanogenmod.alarmclock.ClockContract$AlarmsColumns ! This reverts commit 3a590c305737a8533f40235fc7dbdcfaee30bdcb. Change-Id: I03cc2796e84e602933e7132f9181a5822c7f327c
* cmsdk: Add PerformanceManager tests, Change target permission.Adnan Begovic2016-03-081-1/+2
| | | | | | | | | | | | Since PerformanceManager is strictly a CyanogenMod construct, it doesn't make sense to enforce the interfaces with an android specific permission (even though the implementation is delegated to power manager). To keep consistency with the other api's, modify the enforcing permission to a cm specific declaration. Also add test cases for the PerformanceManager public interfaces. Change-Id: I430b69dbee73bf94bb60932d1942ab97e3ba193e
* Allow to ignore presentation indicator of outgoing calls [1/3]Gabriele M2016-03-071-0/+12
| | | | | | | | | | With some mobile network operators, the presentation indicator of outgoing calls is always set to either "unknown" or "restricted". As consequence, the dialed number doesn't show up in clear in the call history. Allow to ignore the presentation indicator of outgoing calls to never hide the dialed numbers. Change-Id: Ia7b9fef3a929e512d8ecb704204b36e3836a056b
* Themes: Refactor themes to CMSDK [2/6]d34d2016-03-0412-0/+2640
| | | | | | | | First attempt at moving as much as possible out of F/B and into cmsdk Change-Id: I9e53d1c32e01e88fc3918663dabe0001df922bc2 TICKET: CYNGNOS-2126
* cmsdk: Add touch gesture haptic feedback settingMichael Bestas2016-02-271-0/+13
| | | | 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-251-0/+11
| | | | | | | Ref: OPO-513 Change-Id: Iedd88bfad12b8f257bb792bf024d8eefa92b321c 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-181-0/+12
| | | | | | | Ref: OPO-427 Change-Id: If97b2ebc864687a53c4ef8253f5d2d0bafc1e996 Signed-off-by: Roman Birg <roman@cyngn.com>
* CMSDK: Allow/Prevent notification light in Zen mode (3 of 3)niks2552016-02-151-0/+19
| | | | Change-Id: Icad93cf6166359debd774259aa186640de34d432
* cmsdk: launch default music player on headset connect [3/3]Michael Bestas2016-02-121-0/+10
| | | | 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: Add notification light setting to system profiles (1/2)Petr Sedlacek2016-02-101-0/+57
| | | | Change-Id: Ic6705792948c5393fc5ca9b207bc250b252e66da
* CMSettings : Add option to pass swipe-up-to-unlock (3/3)Danesh M2016-02-082-0/+16
| | | | | | CYNGNOS-1873 Change-Id: Icdd2505dbc56a77f49a76ea61daf75c5d8a24fd6
* 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: cmhw: Add UniqueDeviceId supportMatt Wagantall2016-02-022-1/+21
| | | | | | | | | | | | | | | | 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
* Add left QS quick pulldown (3/3)LuK13372016-01-231-3/+3
| | | | Change-Id: I77c8f0eda1b059bc2c0f0dff1d92834f36cd9de9