aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmsdk: Add preliminary ThemeManager test coverage.Adnan Begovic2016-03-313-2/+361
| | | | | TICKET: CYNGNOS-2307 Change-Id: Ie94ae3cd55678ecb2c631dc10d2335fb5d7362a7
* cmsdk: Fix cm system api stub generation.Adnan Begovic2016-03-311-2/+2
| | | | Change-Id: I04287107d1f2cdfdf9c8cd7f5b713db3466239ec
* cmsdk: Create Concierge parcel handler concept.Adnan Begovic2016-03-3121-429/+428
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-3128-2/+3563
| | | | | | | | | | | | | 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
* LLS: Don't build LlsInfo when defComponent is emptyd34d2016-03-311-1/+2
| | | | | | | | Unflattening an empty string will result in a null ComponentName which will cause an IllegalArgumentException when building the LiveLockScreenInfo. Change-Id: I0bafddb48a47ef67d9833cd12bff7eb34369425e
* LLS: add typeRoman Birg2016-03-301-0/+25
| | | | | | Ticket: CYNGNOS-2267 Change-Id: Iea20e60aef80407911940d901f11b1589baa4483 Signed-off-by: Roman Birg <roman@cyngn.com>
* 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-2915-0/+1325
| | | | | | | | 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
* Automatic translation importMichael Bestas2016-03-2814-62/+179
| | | | Change-Id: I2c8633db25b85efc83b1539c8c20b9146fb220d5
* Fix: "cmsdk: Mandate partner feature xml's for service implementation."Michael Bestas2016-03-281-1/+1
| | | | | | | * CMContextConstants.Features.PERFORMANCE was mistakely used instead of CMContextConstants.Features.PARTNER Change-Id: I4582b2faac23b0a3d34a5c6396cffa56c6177556
* cmsdk: Mandate partner feature xml's for service implementation.Adnan Begovic2016-03-254-1/+26
| | | | | | | | | | | | | | 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-254-2/+27
| | | | | | | | | | | | | | 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-256-8/+35
| | | | | | | | | | | | | | 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-243-2/+24
| | | | | | | | | | | | | | 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-243-2/+24
| | | | | | | | | | | | | | 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-245-1/+30
| | | | | | | | | | | | | | 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-247-0/+37
| | | | | | | | | | | | | | 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>
* Themes: Check theme api level in onBootPhased34d2016-03-211-7/+11
| | | | | | | | | This check should be done once the system has reached the PHASE_ACTIVITY_MANAGER_READY otherwise we can end up getting a boot failure within the ThemeManagerService Change-Id: If3e9c8885d8718224cf7d8fed0c0fb82ebe0fcab TICKET: CYNGNOS-2230
* Automatic translation importMichael Bestas2016-03-18103-5/+2143
| | | | Change-Id: Iedea6c96b80f72ad83b9bb38069c069982ca5fce
* update apiRoman Birg2016-03-172-2/+2
| | | | | | | I made Cid angry Change-Id: Ide114bdb0877cdfbce0060f2d0068a63a15ecc63 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-154-26/+141
| | | | | | | Ref: CYNGNOS-1463 Change-Id: I2ef1feb0d1f135f360dc553e3426bdd7610087bd Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Introduce externalCMServices array to cmres.Adnan Begovic2016-03-152-0/+16
| | | | Change-Id: I29427524e69327f79e0adae16ccd800fbd712646
* cmsdk: Mandate cmhw feature xml's for service implementation.Adnan Begovic2016-03-156-8/+48
| | | | | | | | | | | | | 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
* cmsdk: Minor string improvementMichael Bestas2016-03-111-1/+1
| | | | | | * permdesc strings should end with a dot Change-Id: I948ab86ee7548507da1a8cd3bd260637a1e927b7
* 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-106-23/+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: Fix resource name.Adnan Begovic2016-03-081-1/+1
| | | | Change-Id: I20b28bcfb801cd9ba9051f9c97e79ac1119e6fb7
* cmsdk: Update README for release artifact numerics.Adnan Begovic2016-03-081-3/+3
| | | | Change-Id: I3571c40bc79be5b90f3ba3558780f8f5b539ab9d
* cmsdk: Add PerformanceManager tests, Change target permission.Adnan Begovic2016-03-088-16/+128
| | | | | | | | | | | | 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
* cmsdk: Keep generated java classes from aidl interfaces.Adnan Begovic2016-03-081-0/+3
| | | | | | | | Keep any classes extending IInterface so we can have the BinderTransactionTest run successfully. Change-Id: Ic49794017e472499cbbf351dfa12732854ceea8d TICKET: CYNGNOS-2189
* cmsdk: Clean up proguard flags.Adnan Begovic2016-03-081-4/+17
| | | | | | | | | | | | -dontskipnonpubliclibraryclasses and class members covers the processing of external libraries which makes the -injars option defunct. Also keep more android support related classes for when we expand the test package for more coverage. TICKET: CYNGNOS-2189 Change-Id: I37b66acdac86400f41d1f7f1e6610d1d9ca480b3
* Allow to ignore presentation indicator of outgoing calls [1/3]Gabriele M2016-03-076-0/+23
| | | | | | | | | | 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
* Automatic translation importMichael Bestas2016-03-0493-18/+3402
| | | | Change-Id: Ie18403b1b7f026c986e327c28050123f52352084
* Update stubs to include cyanogenmod.themes packaged34d2016-03-043-2/+193
| | | | | | | | This patch also adds a new variable stub_packages which is used when generating docs for public and system api, instead of defining it twice. Change-Id: I7d87b94088fca5b053f0447067c239006af72ad9
* cmsdk: Remove debugging from proguard.Adnan Begovic2016-03-041-7/+28
| | | | | TICKET: CYNGNOS-2189 Change-Id: Ia45f1e31bc23dcffc5a7f9923e268f9ad513df2a
* Add missing WRITE_THEMES from cm_system-currentd34d2016-03-041-0/+1
| | | | Change-Id: I607a3813f8b501e1cbd7765fb1df32b1bf1da47d
* cmsdk: Strip unused cmsdk members for codecoverage.Adnan Begovic2016-03-042-1/+17
| | | | | Change-Id: Id5437b11168d0dfd222cfc4abef2fc03629a17ca TICKET: CYNGNOS-2189
* Themes: Refactor themes to CMSDK [2/6]d34d2016-03-0420-0/+4425
| | | | | | | | First attempt at moving as much as possible out of F/B and into cmsdk Change-Id: I9e53d1c32e01e88fc3918663dabe0001df922bc2 TICKET: CYNGNOS-2126
* cmsdk: Add cyanogenmod.util to stubs and update APISteve Kondik2016-03-043-2/+34
| | | | | | | * ColorUtils was recently added here and it's suitable for general consumption. Add this to the API. Change-Id: Iff89d5714092d02070f1c6805e0e8f95debd980d
* cmsdk: Add device-specific stringsMichael Bestas2016-03-012-0/+22
| | | | | | * Reduce duplicate strings between device-specific setting extensions Change-Id: I5691a68ba0ce031e2b8e3f9686997b155e04faff