Commit Graph

32 Commits

Author SHA1 Message Date
Adnan Begovic cdf4d0d699 cmsdk: Update api for new notification lights profiles options.
Change-Id: I7697308f34c89f6391810e114b12bc7457def725
2016-02-10 18:14:35 -08:00
Adnan Begovic 1d2351e0fc cmsdk: Add elderberry interfaces to api text.
Change-Id: I391f4089e97af6cf8bd55c982979e110d7d8ca91
2016-02-09 11:12:57 -08:00
Matt Wagantall eb82dbf050 cmsdk: cmhw: Add UniqueDeviceId support
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
2016-02-02 16:37:59 -08:00
Adnan Begovic 588c05aeb8 cmsdk: Update for new ll interfaces.
Change-Id: I48a7b6aff3ed21db69539b7733e0159db866c270
2016-01-22 17:35:58 -08:00
Adnan Begovic ebf0f55125 cmsdk: Finalize DragonFruit (api level 4).
TICKET: CYNGNOS-1648
Change-Id: I5844bc0bad9968b2c1d2d9e1ca3d65ae9d2d70c8
2016-01-18 13:36:21 -08:00
Adnan Begovic b4b1321666 cmsdk: Update api text.
Change-Id: I76297c11050e7b33ccfc530330ab37cfb8a07916
2016-01-06 17:52:18 -08:00
Adnan Begovic 2d4d51479e cmsdk: Update current api text.
Change-Id: Ib13c389ec64ee04fb8d189b22a94ca676835bfa6
2016-01-02 12:12:37 -08:00
Roman Birg d29499ddf7 cmsdk: update api for level 3
Change-Id: Ie5ed566934ff7a69ba71a5f080bd49929f7f71fe
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit 1bb37d9676a97c9b5bbb7fea8493afdfeebb64c8)
2015-12-23 09:33:51 -08:00
Adnan Begovic 10d20252e4 cmsdk: Update API text for constants changes.
Change-Id: Ie820bae6db375e6d5429f495829d3d24f8a3469c
2015-09-30 17:49:52 -07:00
Danesh M c56b48eac0 CmSdk : Update api text for thermal monitor
Change-Id: I5e58a86244dc40572305d52244dda6e230fb56f5
2015-09-24 18:19:23 -07:00
herriojr e78ca4d6fe Added Application Suggestions.
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
2015-09-14 14:29:43 -07:00
Adnan Begovic 9f381bc89f cmsdk: Update api text for Persistent Storage API.
Change-Id: Icdbe63ba416f62d12f25b521541162d72c8040d4
2015-09-09 17:29:30 -07:00
Matt Garnes 087f2b536d Update API txt files for cyanogenmod.media.MediaRecorder.
Update API txt files for PartnerInterface.

Change-Id: I9a7d184791f9078b724c46cb5c9f7f2fe4557719
2015-09-09 11:57:43 -07:00
Matt Garnes eabd575721 Add Broadcast action and query API for AudioSource.HOTWORD.
- 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
2015-09-08 17:28:20 -07:00
Adnan Begovic 9971604ed5 cmsdk: Update cm-api for hasSensitiveData() and new permissions.
Change-Id: Iffc308a434ee9c82ba4278972bbfe774436bcfab
2015-09-01 17:19:51 -07:00
Yvonne Wong 0eb2999091 Add CMSettingsProvider and CMDatabaseHelper
issue-id: CYNGNOS-828

Change-Id: I01c08c0e432d6a941950a565e5ab6664664e2a7f
2015-08-31 13:52:27 -07:00
Yvonne Wong a632fbcde5 cmsdk: Update cm api text files
Change-Id: I4330eed40d07b98031b76ce345fc8f032e00cf74
2015-08-28 16:18:17 -07:00
Joao Figueiredo 7f50335f2b cmsdk: Dual SIM support on CM SDK
Signed-off-by: Adnan Begovic <adnan@cyngn.com>
Change-Id: I69b349853b0259582956744d9ddd99a187c10fff
2015-08-06 18:56:12 -07:00
Matt Garnes 7820e6d566 Update APIs for new settings and DeskClock support.
Change-Id: Ia53e60c37d868109b69e0435cdb02ded2a041bba
2015-08-06 16:19:56 -07:00
Matt Garnes 51c39ba2d7 Add API to SettingsManager to set zen mode.
- 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
2015-08-06 16:18:50 -07:00
Matt Garnes 0cdb1d513c Add SettingsManager.
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
2015-08-06 11:35:00 -07:00
Adnan Begovic 8481cec918 cmsdk: Expose ProfileTrigger constructor for third parties.
Change-Id: I96dbc4974f49d07df020510be59f6ad23040e448
2015-08-04 17:03:00 -07:00
Adnan Begovic 6b7fd5f94f cmsdk: Update current api text files.
Change-Id: Ifd99bba9c25cb97d590049e3b4a5109159ed0019
2015-07-31 16:41:17 -07:00
Adnan Begovic 3290540468 cmsdk: Add method for shouldCollapsePanel.
- Allow for disabling of panel collapse when
  handling an onClick or onClickUri event in
  CustomTile.

Change-Id: I73bd513baf0fb8b7db33020a3456430702ccd609
2015-07-27 13:16:38 -07:00
Adnan Begovic f68c6c7e98 cmsdk: Hide PARCELABLE_VERSION constant which varies between releases.
Change-Id: I3bdeb9b359e46f0c02e833b23a958d071fc63df5
2015-07-21 15:51:59 -07:00
Adnan Begovic a276a418f2 cmsdk: Update api text for recent changes.
- Specific parceleable version
  - Update constants for profile extras

Change-Id: Ibfad1c6b2549ff0bdf9ea4f9e580667e30830d63
2015-07-21 11:56:26 -07:00
Adnan Begovic ce52da697f cmsdk: Update api files for intent action change.
Change-Id: Ifd81f220a7c9430133446b2d1cc3520f6250790c
2015-07-17 13:54:46 -07:00
Adnan Begovic f9ec3a4da3 cmsdk: Add boysenberry to api text.
Change-Id: Ifaa252536a2b11aca7951d1fcd52a189755f7909
2015-07-13 17:14:30 -07:00
Adnan Begovic eddb89c527 cmsdk: Update api text files.
Change-Id: Iee8a09bfecf0060242468d995e9aa7a79eb18de7
2015-07-13 15:22:34 -07:00
Adnan Begovic f1f9f25a34 CMSDK: Only target specific packages for checkapi.
Change-Id: I0dce0c9ff92f6b5fb670c17660ffa9dfaca79d79
2015-06-23 03:38:36 +00:00
Adnan Begovic 3f7e428fdd CMSDK: Update current and system api texts.
Change-Id: I7ac3a72cb7d2a840614801a85bad4db099245216
2015-06-09 11:03:37 -07:00
Adnan Begovic 273f2dbd6e CMSDK: Add check-api generated texts.
Change-Id: I3742459a49795860cf91368b356850ae65b8eeae
2015-06-01 10:11:30 -07:00