aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/cyanogenmod/app
Commit message (Collapse)AuthorAgeFilesLines
* cmsdk: Move sdk classes under new sdk directory.Adnan Begovic2016-04-0132-6605/+0
| | | | | TICKET: CYNGNOS-2299 Change-Id: Ia6c6a1ee901f4f94446c379cbceabfdfced651ef
* cmsdk: Create Concierge parcel handler concept.Adnan Begovic2016-03-316-184/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-311-0/+20
| | | | | | | | | | | | | 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
* LLS: Add live lock screen service [1/4]d34d2016-03-298-0/+801
| | | | | | | | 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-251-0/+8
| | | | | | | | | | | | | | 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-251-0/+8
| | | | | | | | | | | | | | 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 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-151-4/+67
| | | | | | | 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-151-0/+15
| | | | | | | | | | | | | 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
* Themes: Refactor themes to CMSDK [2/6]d34d2016-03-041-0/+14
| | | | | | | | First attempt at moving as much as possible out of F/B and into cmsdk Change-Id: I9e53d1c32e01e88fc3918663dabe0001df922bc2 TICKET: CYNGNOS-2126
* cmsdk: Add notification light setting to system profiles (1/2)Petr Sedlacek2016-02-101-0/+57
| | | | Change-Id: Ic6705792948c5393fc5ca9b207bc250b252e66da
* CustomTiles: add a custom long press PendingIntentRoman Birg2016-01-181-0/+40
| | | | | | Ref: CYNGNOS-1602 Change-Id: Id0cca88fabb091dcf0fbad2ae24416fa1c0af83e Signed-off-by: Roman Birg <roman@cyngn.com>
* Reorder new setZenModeWithDuration API in aidlMatt Garnes2016-01-051-1/+1
| | | | | | | | | Previously, a new method was added to IPartnerInterface.aidl in the middle of other methods. This needs to be added only at the end to ensure backwards compatibility with older versions. Reorder the methods to place setZenModeWithDuration at the end. Change-Id: Ib9f9c7acceb928db5acc76e7351147074b230141
* CMSDK: add duration for priority/quiet modeJanet Sun2015-12-232-2/+34
| | | | | | | | | | | | | Add setZenModeWithDuration API call with long durationMills Use NotificationManager.setZenMode with Condition URI specifying end time. Update settings/CMPartnerInterfaceTest TODO: unit test to be added in: tests/src/org/cyanogenmod/tests/settings/unit. FOR-156 Change-Id: I18dd661fc07419a7019b6372e81df430a70f86e9
* Profiles: add isEnabled(); send state changesRoman Birg2015-12-212-37/+28
| | | | | | Ref: CYNGNOS-1461 Change-Id: Idee9417a2f0b181c8d15cd763859c0a0e581dce6 Signed-off-by: Roman Birg <roman@cyngn.com>
* Themes: Uncomment ThemeVersion coded34d2015-11-051-2/+0
| | | | Change-Id: I09ea6c4f2923a0d49f6bd3ecb05e237062241433
* cmsdk: Refactor the PerformanceManagerSteve Kondik2015-11-031-0/+7
| | | | | | | * Remove all code and configuration into CMSDK. * Deprecate the properties-based API Change-Id: Ib14ce5b8623cb368e6b545d1f82bc9c58580e13b
* cmsdk: Temporary build fixesAdnan Begovic2015-10-091-0/+2
| | | | Change-Id: I18a1aa9ade95de63fe18eaaeca388b118c8ffe8c
* Added Application Suggestions.herriojr2015-09-146-0/+345
| | | | | | | | | | | | | Added in custom Resolver to handle providing suggestions. Added in Service to handle providing suggestions to custom resolver. Added in ability to provider suggestions through a Proxy to another application which must be installed during compile time if one is to be used. This is a similar implementation to how the Location Services work. Change-Id: Id960260596b7bb6485caa1e1d07744e387a4c6e9
* Add Broadcast action and query API for AudioSource.HOTWORD.Matt Garnes2015-09-083-24/+42
| | | | | | | | | | - Add ACTION_HOTWORD_INPUT_CHANGED broadcast action and related extras. - Add getCurrentHotwordPackageName() API to SettingsManager to query the current package name of the application that controls the HOTWORD input. - Rename SettingsManager to PartnerInterface. Change-Id: I5987499cd32908c47a7e8e95d644c483dc32914c
* cmsdk: Update documentation for Boysenberry release.Adnan Begovic2015-09-021-8/+11
| | | | Change-Id: I5bbd18d2d182b0c2fbecdc19484a4e6533b0fb28
* cmsdk: Enforce cyanogenmod.permission.MODIFY_PROFILES for profiles.Adnan Begovic2015-09-011-1/+2
| | | | Change-Id: Id14bfd9b214b4f53960c55d8abab2764f990b1b6
* cmsdk: allow custom tiles to set the new qstile's sensitive data flagJorge Ruesga2015-08-311-2/+24
| | | | | | | Requires: topic:hide-qs-tiles Change-Id: I71c85a00ae5797f1e142073b4d6a3a4c3274007b Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
* cmsdk: Transplant CMHW into CMSDKSteve Kondik2015-08-191-0/+12
| | | | | | * Moving CMHW out of the framework and into CMSDK. Change-Id: I0b68b67d059e2310c83e253a9071d886ed6760cb
* cmsdk: fix enabling/disabling keyguardRoman Birg2015-08-131-3/+8
| | | | | | | | | | | | | | We cannot create a new WindowManagerPolicy every time since the method isn't called from the main thread every time, which could lead to exceptions being thrown when trying to create PhoneWindowManager. Instead of creating a new policy, bind to the keyguard service on bind, and then pass it to the profile to operate on. Ref: NIGHTLIES-1640 Change-Id: I3ac58bfa534755eaa73890cc5ddf05987a7d0d8c Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Dual SIM support on CM SDKJoao Figueiredo2015-08-063-0/+399
| | | | | Signed-off-by: Adnan Begovic <adnan@cyngn.com> Change-Id: I69b349853b0259582956744d9ddd99a187c10fff
* Add API to SettingsManager to set zen mode.Matt Garnes2015-08-062-0/+57
| | | | | | | | | | | | - Add a new permission cyanogenmod.permission.MODIFY_SOUND_SETTINGS. - Only allowed when the caller holds cyanogenmod.permission.MODIFY_SOUND_SETTINGS. - Allows the user to set zen mode to the off, priority interruptions only, or no interruptions modes. - For each mode change, the end condition will be set to null so that the mode remains active indefinitely. Change-Id: Id465509a8cc8d98953bf8cbe06cacff02b9f75a0
* Add SettingsManager.Matt Garnes2015-08-063-0/+190
| | | | | | | | | | | | | Add new APIs for changing a subset of system settings. Protected by cyanogenmod.permission.MODIFY_NETWORK_SETTINGS: - Add ability to toggle airplane mode on/off. - Add ability to toggle mobile data on/off. Protected by android.permission.REBOOT: - Add ability to shutdown or reboot the device. Change-Id: I5e943be11260c58afa664f1702c0ecb4413528fe
* cmsdk: Expose ProfileTrigger constructor for third parties.Adnan Begovic2015-08-041-1/+19
| | | | Change-Id: I96dbc4974f49d07df020510be59f6ad23040e448
* cmsdk: Clean up documentation.Adnan Begovic2015-08-032-4/+4
| | | | Change-Id: I1ffc22376b6241484b2208b0cd1daffc47aa9288
* cmsdk: Support deleteIntent and remove tiles when packages change.Adnan Begovic2015-07-311-0/+37
| | | | Change-Id: I488410296c7579870406ea8fe289cf0b2158ea80
* Profiles: add LockModeSettingsRoman Birg2015-07-311-16/+26
| | | | | | | | | | Splits out the lockmode into its own LockSettings, primarly so it has its own processOverride() - so it will respect the LockMode.DEFAULT setting. Ref: CYNGNOS-620 Change-Id: I6183492facebed37133e84d45a6bb2f91f76d5ea Signed-off-by: Roman Birg <roman@cyngn.com> Signed-off-by: Adnan Begovic <adnan@cyngn.com>
* cmsdk: Add support for remote views in expanded stylesAdnan Begovic2015-07-311-0/+56
| | | | Change-Id: Ifa4e7f09df60c65fe476c5b9d332da0cb460e098
* cmsdk: Create new setIcon method for utilizing bitmapsAdnan Begovic2015-07-311-1/+103
| | | | Change-Id: I123994af89fe435b9f4bc146056a237f1cecb939
* cmsdk: Make sure we're writing ProfileTrigger values as typed array.Adnan Begovic2015-07-311-2/+4
| | | | | JIRA: NIGHTLIES-1627 Change-Id: Ic04795810762380f9e9632737acd4491c750ff7d
* cmsdk: Fix Profile parceling for custom objects.Adnan Begovic2015-07-301-15/+17
| | | | | | | | | | Since these objects aren't part of the bootclasspath we need to explicitely write them as typed arrays so we can unmarshall them on the other side of the IPC call correctly. Also change the addProfileGroup method to filter out possible null groups. Change-Id: I501f46895440a174201c4bc413f4d3e6ee16a5ce
* cmsdk: Make sure we're defauling shouldCollapsePanel to true.Adnan Begovic2015-07-281-1/+1
| | | | Change-Id: Ibf8c09e54e784a72ddbc56561227d65a33e4d7ab
* cmsdk: Add method for shouldCollapsePanel.Adnan Begovic2015-07-271-1/+26
| | | | | | | | - Allow for disabling of panel collapse when handling an onClick or onClickUri event in CustomTile. Change-Id: I73bd513baf0fb8b7db33020a3456430702ccd609
* cmsdk: Declare a parcelable header.Adnan Begovic2015-07-204-107/+353
| | | | | | | | | | - This change forces that a parcelable header is written as the first data positions in a parcel and defines a means to distinguish between old sdk class versions vs new ones to do proper unraveling of parcels. Ticket: BAMBOO-152 Change-Id: I9cc762fe8a51cc527e85be7fe5de57e4613be019
* cmsdk: Update intent action extras to match new namespace.Adnan Begovic2015-07-171-2/+2
| | | | Change-Id: Iad255ebc25b43aa582edf2bf496412d54c7216a9
* cmsdk: Update PROFILE_PICKER intent action.Adnan Begovic2015-07-161-1/+1
| | | | Change-Id: I2fc91a642b7947ac49a33232164fcaf88a4b95f4
* cmsdk: Fix Profile parceling.Adnan Begovic2015-07-141-36/+106
| | | | Change-Id: I5cc260e902ef96f209ba55361374f795b81cc592
* cmsdk: @hide everything relating to ProfileGroups, until complete.Adnan Begovic2015-07-132-0/+6
| | | | Change-Id: Ic1ad2183bd6cdbf5d3bb5a8ac6d2d14199073c98
* CMSDK: Begin documentation and testing for profiles.Adnan Begovic2015-07-104-94/+405
| | | | Change-Id: I06c02f6aed63cfa0483376ae93a3f9a594aff201