aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
* cmsdk: Fix javadoc comment for CM_VERSION_CODES.Adnan Begovic2015-07-171-1/+1
| | | | Change-Id: Ib5205051ffeb830df96b4c0fb30a9a0b5a7616ce
* cmsdk: Update PROFILE_PICKER intent action.Adnan Begovic2015-07-161-1/+1
| | | | Change-Id: I2fc91a642b7947ac49a33232164fcaf88a4b95f4
* cmsdk: Clean up constant linking for javadoc.Adnan Begovic2015-07-162-11/+11
| | | | Change-Id: I52c724b3f7caf66d24401c7f50435c42f4692d5a
* cmsdk: Return UNKNOWN for impossible sdk ints.Adnan Begovic2015-07-161-2/+7
| | | | Change-Id: I77a44abba0db223b031d6714c4fd8beb03a43cdc
* cmsdk: Add documentation for validating API level.Adnan Begovic2015-07-161-0/+20
| | | | Change-Id: I9a9fd444e6e2682dc59b28b72db7a3d33eca10fa
* cmsdk: Fix Profile parceling.Adnan Begovic2015-07-141-36/+106
| | | | Change-Id: I5cc260e902ef96f209ba55361374f795b81cc592
* cmsdk: Name api level 2 as boysenberry.Adnan Begovic2015-07-131-0/+6
| | | | Change-Id: I4a70218b3c8f43771bfc7050d805244ef96785e6
* cmsdk: @hide everything relating to ProfileGroups, until complete.Adnan Begovic2015-07-132-0/+6
| | | | Change-Id: Ic1ad2183bd6cdbf5d3bb5a8ac6d2d14199073c98
* cmsdk: Update profile settings documentation.Adnan Begovic2015-07-133-4/+4
| | | | Change-Id: Ifbe9c2beb880773fccad495e35de3e290980bd9d
* CMSDK: Begin documentation and testing for profiles.Adnan Begovic2015-07-109-94/+1594
| | | | Change-Id: I06c02f6aed63cfa0483376ae93a3f9a594aff201
* CMSDK: Introduce factored out resources from framework.Adnan Begovic2015-07-091-1/+2
| | | | Change-Id: I4193db99f3f883260354cde98366f94c608f6163