aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
Commit message (Collapse)AuthorAgeFilesLines
* Themes: Uncomment ThemeVersion coded34d2015-11-051-2/+0
| | | | Change-Id: I09ea6c4f2923a0d49f6bd3ecb05e237062241433
* cmsdk: Refactor the PerformanceManagerSteve Kondik2015-11-035-0/+258
| | | | | | | * Remove all code and configuration into CMSDK. * Deprecate the properties-based API Change-Id: Ib14ce5b8623cb368e6b545d1f82bc9c58580e13b
* HighTouchSensitivity [1/2]: Add Settings preferenceAdrianDC2015-10-301-0/+8
| | | | | | | | | | | | | | | * Allows the HighTouchSensitivity (Glove mode) value to be saved in the CMSettings provider * Can be used in a device specific service to handle the Glove mode in a way closer to the device's vendor * Changes include : android_packages_apps_Settings cm_platform_sdk Change-Id: Ib3cb8c4c67fb2397136ccfdf08cd8e7d938e898d Signed-off-by: AdrianDC <radian.dc@gmail.com>
* cmsdk: Introduce content classes.Adnan Begovic2015-10-291-0/+33
| | | | Change-Id: I6306a3b240de2777f1ed8482eb4a76d4d7ea0237
* cmsdk: Introduce various new Settings from fwb.Adnan Begovic2015-10-291-0/+86
| | | | Change-Id: I93e8be7e5d6c80feccdbe248fa265538e6ae4893
* cmsdk: Introduce CYANOGENMOD_DISPLAY_VERSIONAdnan Begovic2015-10-291-0/+3
| | | | Change-Id: I4689d141bebfbfecef1fe28af30a4ccce3ea4ba7
* CMSettings: add privacy guard default keyRoman Birg2015-10-281-0/+6
| | | | | Change-Id: Iba10fcf3978e308f1b25a8d13570c420f7589a1b Signed-off-by: Roman Birg <roman@cyngn.com>
* CMSDK : Add statusbar constantsDanesh M2015-10-281-0/+42
| | | | Change-Id: I678078429a1c90a26f371db6ff4313f76e4b5169
* cmsdk: Point at cmsettings for system profiles.Adnan Begovic2015-10-261-0/+6
| | | | Change-Id: I61497111f1bf1873554c4185b4424662dcb8c7e5
* CMSettings: add notification play queue settingRoman Birg2015-10-201-1/+8
| | | | | | | | Ref: CYNGNOS-217 Change-Id: I2f2df00ce12aaaa300c083b01690282dbf29f10c Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit e6491468ea869909ec276bc272689cc64cc232aa)
* cmsdk: Temporary build fixesAdnan Begovic2015-10-093-7/+9
| | | | Change-Id: I18a1aa9ade95de63fe18eaaeca388b118c8ffe8c
* Remove AOSP settings from CMSettings/CMSettingsProviderYvonne Wong2015-10-091-18/+0
| | | | Change-Id: I85eee73bf215c72f42067c0e3d2f68946485a10f
* cmsdk: API level 4 for M release.Adnan Begovic2015-10-071-1/+9
| | | | Change-Id: Ieed8ebf256e91515b6921186487b83462910bca9
* CMSettings: Remove write check in query method and add values for heads up ↵Yvonne Wong2015-10-071-0/+3
| | | | | | notification Change-Id: I72ad8039757da5e66809134bdddd463c512de157
* cmdsk: rename thermal constants to reflect actual event semanticsWilhelm Fitzpatrick2015-09-291-9/+9
| | | | | | | | | | cool, warm, critical reflect the threshold names used in the lower level code, and warm has directional states depending on whether the temp is rising or falling. SAMBAR-266 Change-Id: Ifc0ad415f3d8409b6237d2715534d7e7ff3455f7
* cmsdk: Create api level 3, cantaloupe.Adnan Begovic2015-09-291-1/+7
| | | | Change-Id: I5cefacf1196261b071ce2c3561f18ebaf74de604
* Add way to migrate CM specific settings to CMSettingsProviderYvonne Wong2015-09-251-72/+400
| | | | | | issue-id: CYNGNOS-829 Change-Id: I08743ebf9ffd3846ae501ed41e396b1556dc41cf
* CMSdk : Add ThermalMonitorDanesh M2015-09-244-1/+118
| | | | Change-Id: Iafc87cf4c79feac5e2c66bb3d1945da6d0b742da
* 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
* cmsdk: Add persistent properties APISteve Kondik2015-09-092-0/+136
| | | | | | | | * Add support for reading and writing values from/to persistent storage. Requires the MANAGE_PERSISTENT_STORAGE permission, which should not be available for general use by applications. Change-Id: I8a793396d207f23fcda851c172372f2073778eec
* Add Broadcast action and query API for AudioSource.HOTWORD.Matt Garnes2015-09-085-26/+84
| | | | | | | | | | - 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
* Add Hotword audio capture constants.Matt Garnes2015-09-031-0/+44
| | | | | | | Add constants to expose the system level hotword audio capture permission and input source. Change-Id: Ibc52dc27097dcb69125fc9c6381e021583cba148
* cmsdk: Update documentation for Boysenberry release.Adnan Begovic2015-09-023-10/+29
| | | | Change-Id: I5bbd18d2d182b0c2fbecdc19484a4e6533b0fb28
* cmsdk: Enforce cyanogenmod.permission.MODIFY_PROFILES for profiles.Adnan Begovic2015-09-011-1/+2
| | | | Change-Id: Id14bfd9b214b4f53960c55d8abab2764f990b1b6
* cmsdk: Add preliminary hardware manager tests.Adnan Begovic2015-09-011-1/+1
| | | | Change-Id: Ic01898fc9c1ae4d9c3b52ade8737ec6ab8388670
* cmsdk: Change parceling for DisplayMode.Adnan Begovic2015-09-011-5/+54
| | | | Change-Id: Ied3521e3fb7c3f198c0b17d82638fa21ad5cd69a
* BugFix: Fix potential NPEs with getService()BadDaemon2015-09-011-19/+68
| | | | | | | | | Should fix "java.lang.NullPointerException: Attempt to invoke interface method 'int cyanogenmod.hardware.ICMHardwareService.getSupportedFeatures()' on a null object reference" and others Change-Id: Ic5a02fc953376aa746844fd6c2f93b5f48246516
* 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>
* Add CMSettingsProvider and CMDatabaseHelperYvonne Wong2015-08-311-0/+1044
| | | | | | issue-id: CYNGNOS-828 Change-Id: I01c08c0e432d6a941950a565e5ab6664664e2a7f
* cmhw: Add makeDefault arg to setDisplayModeSteve Kondik2015-08-202-3/+3
| | | | | | | * Already supported by the HAL and is necessary to sync state with the server side. Change-Id: I65148d5464dff8dbbee374387a01bcf13a945eb1
* cmsdk: Add initial DisplayMode and AutoContrast support to CMHWSteve Kondik2015-08-194-0/+154
| | | | Change-Id: I71f3599c64c03efc4b090ea71e583c942d0c03c2
* cmsdk: Transplant CMHW into CMSDKSteve Kondik2015-08-193-0/+583
| | | | | | * Moving CMHW out of the framework and into CMSDK. Change-Id: I0b68b67d059e2310c83e253a9071d886ed6760cb
* cmsdk: fix enabling/disabling keyguardRoman Birg2015-08-132-16/+33
| | | | | | | | | | | | | | 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 AlarmClock support for CM DeskClock manipulation.Matt Garnes2015-08-062-0/+472
| | | | | | | | | | - In order to externalize the AlarmClock provider within DeskClock, move the database contract, ClockContract, into the SDK so that interested parties can reference it. - Add CyanogenModAlarmClock to add new utilities for turning existing alarms on/off and creating new alarms. Change-Id: I1f11ccc3988bdef10d721e2038b2c7d69a4ae598
* 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-312-16/+203
| | | | | | | | | | 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: Hide PARCELABLE_VERSION constant which varies between releases.Adnan Begovic2015-07-211-0/+1
| | | | Change-Id: I3bdeb9b359e46f0c02e833b23a958d071fc63df5
* cmsdk: Declare a parcelable header.Adnan Begovic2015-07-2010-124/+535
| | | | | | | | | | - 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