Commit Graph

443 Commits

Author SHA1 Message Date
Michael Bestas
f1b172d392 Automatic translation import
Change-Id: I14df405ee407ce9b9b32507255ab8a7fa57ef40a
2016-04-06 01:25:07 +03:00
Michael Bestas
45f1e04519 cmsdk: Improve data usage strings
Change-Id: Iea97226f3a1a7bfc1d79e90f046e5a634d9fedf7
2016-04-04 19:03:17 +03:00
Adnan Begovic
6b879f36e4 cmsdk: Introduce Fig, api level 6.
Change-Id: I2916b1462c1f0b9582f4fefac82f60c20f820b85
TICKET: CYNGNOS-2303
2016-04-01 16:36:38 -07:00
Adnan Begovic
877a0234fa cmsdk: Add release notes for api level 5.
Change-Id: I2ba738197286ce8f5128b08a6a800e06ec321822
2016-04-01 15:53:01 -07:00
d34d
ea7d71200d cmsdk: Add test coverage for parceling LiveLockScreenInfo
Change-Id: I75898014f211075bdec06a00289837e1df6f3a84
2016-04-01 15:12:50 -07:00
d34d
3757686b93 cmsdk: Add test coverage for LiveLockScreenInfo.Builder
Change-Id: If802d3fcb5b1941d641d08beabbec9882c8ea451
2016-04-01 15:12:09 -07:00
Adnan Begovic
5f6c9f40c7 cmsdk: Move sdk classes under new sdk directory.
TICKET: CYNGNOS-2299
Change-Id: Ia6c6a1ee901f4f94446c379cbceabfdfced651ef
2016-04-01 12:22:14 -07:00
gkipnis
1ee5f204cc Added READ_DATAUSAGE and WRITE_DATAUSAGE permissions
These permissions are used to control access to the DataUsageProvider

Change-Id: I3c0df3900c964d274081fe3bd9038705334819c8
2016-04-01 12:11:03 -07:00
gkipnis
fcfc13e313 Initial checkin for DataUsageContract
Used for accessing DataUsageProvider which is used by the Settings
App for monitoring per App cellular bandwidth consumption

Change-Id: Iab0fa27de69067c706d98eb08cc0458eb74111dc
2016-04-01 12:09:03 -07:00
gkipnis
891e998adb Added ACTION_DATA_USAGE Intent to directly invoke Settings->DataUsage
Change-Id: I1a1131b60c7a6695ad45d85ff1e9cbc3ac6ea0eb
2016-04-01 12:08:48 -07:00
Adnan Begovic
0ab2886e38 Revert "cmsdk: Fix cm system api stub generation."
This reverts commit d2e7e04bc4.

Change-Id: I307847bfa41cf2dcf3203ff199188422150618be
2016-04-01 11:22:11 -07:00
Adnan Begovic
df4486fb0e cmsdk: Unhide the Concierge.
Change-Id: I82adee7f9acb67623725acea723b52e08bab7311
2016-04-01 11:21:49 -07:00
Danesh M
d549053b2d CmSdk : Swipe offsets and show lockscreen
Allows live lockscreen to listen to keyguard offsets
and show lockscreen.

Change-Id: I1a06c78b95e4e6940e063c6e0ba0e4db44a3c380
2016-04-01 11:17:16 -07:00
Michael Bestas
42a1a85427 cmsdk: Minor weather provider string updates
Change-Id: Ic565daa23ad520484b1c5b802ab6f8d83f6653a8
2016-04-01 17:09:50 +03:00
Adnan Begovic
3726f6bcb9 cmsdk: Add test coverage for parceling of ThemeChangeRequests.
Change-Id: Id0cb15133de1ab5c202417837b7b72e3d3937958
TICKET: CYNGNOS-2307
2016-03-31 17:58:35 -07:00
Adnan Begovic
3916ed759c cmsdk: Add test coverage for ThemeChangeRequestBuilder and object.
Change-Id: I24894d50c6e28939e5f5c3497e0279dbb45ca851
TICKET: CYNGNOS-2307
2016-03-31 17:58:30 -07:00
Adnan Begovic
127c0cf8fe cmsdk: Change parameter type of unregisterProcessingListener.
Change-Id: I96dde056e2f83218a27024ebc94de51fd45299d1
2016-03-31 17:58:28 -07:00
Adnan Begovic
22859efbfd cmsdk: Add preliminary ThemeManager test coverage.
TICKET: CYNGNOS-2307
Change-Id: Ie94ae3cd55678ecb2c631dc10d2335fb5d7362a7
2016-03-31 17:58:24 -07:00
Adnan Begovic
d2e7e04bc4 cmsdk: Fix cm system api stub generation.
Change-Id: I04287107d1f2cdfdf9c8cd7f5b713db3466239ec
2016-03-31 17:58:20 -07:00
Adnan Begovic
eafcdbd229 cmsdk: Create Concierge parcel handler concept.
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
2016-03-31 17:58:11 -07:00
Luis Vidal
4195a1cf89 Add Weather Content Provider [4/5]
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
2016-03-31 17:36:53 -07:00
Roman Birg
46821304e9 CMSettings: add event live lock component key
Ticket: CYNGNOS-2267
Change-Id: Ifa6115f466190c6e45c4d76d2da5a2cdab1bb0e1
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-03-31 16:07:50 -07:00
d34d
2c5d3d5224 Add callbacks for window attachment
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
2016-03-31 09:54:50 -07:00
d34d
c99582205e LLS: Don't build LlsInfo when defComponent is empty
Unflattening an empty string will result in a null ComponentName
which will cause an IllegalArgumentException when building the
LiveLockScreenInfo.

Change-Id: I0bafddb48a47ef67d9833cd12bff7eb34369425e
2016-03-31 09:49:42 -07:00
Roman Birg
a50a323724 LLS: add type
Ticket: CYNGNOS-2267
Change-Id: Iea20e60aef80407911940d901f11b1589baa4483
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-03-30 08:49:56 -07:00
Roman Birg
9f6530bf03 cmsdk: add live lock screen settings action intent
Ticket: CYNGNOS-2241
Change-Id: I42dbfc96807d1f2aad1f84b100b5e7a2ab68daea
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-03-30 08:49:30 -07:00
d34d
bfa500dd15 LLS: Add live lock screen service [1/4]
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
2016-03-29 15:02:45 -07:00
Adnan Begovic
11334c9592 cmsdk: Add hidden interface for getService on AppSuggestManager.
Also retrieve service on Singleton constructor to match
  patterns of other manager service relationships.

Change-Id: I4dbca5d0a2339603ddfb58ee54959355d24c8a9a
TICKET: CYNGNOS-2319
2016-03-28 10:35:37 -07:00
Michael Bestas
3f42978e6f Automatic translation import
Change-Id: I2c8633db25b85efc83b1539c8c20b9146fb220d5
2016-03-28 08:01:18 -07:00
Michael Bestas
374a17e295 Fix: "cmsdk: Mandate partner feature xml's for service implementation."
* CMContextConstants.Features.PERFORMANCE was mistakely used
  instead of CMContextConstants.Features.PARTNER

Change-Id: I4582b2faac23b0a3d34a5c6396cffa56c6177556
2016-03-28 14:26:12 +02:00
Adnan Begovic
b271dcf279 cmsdk: Mandate partner feature xml's for service implementation.
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
2016-03-25 14:16:35 -07:00
Adnan Begovic
279ce42664 cmsdk: Mandate performance feature xml's for service implementation.
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
2016-03-25 14:14:14 -07:00
Adnan Begovic
ccdb292eec cmsdk: Mandate themes feature xml's for service implementation.
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
2016-03-25 11:19:46 -07:00
Adnan Begovic
c406211045 cmsdk: Mandate telephony feature xml's for service implementation.
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
2016-03-24 17:34:54 -07:00
Adnan Begovic
fe7fd1d489 cmsdk: Mandate app suggest feature xml's for service implementation.
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
2016-03-24 17:25:13 -07:00
Adnan Begovic
21a567428d cmsdk: Mandate profile feature xml's for service implementation.
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
2016-03-24 16:50:56 -07:00
Adnan Begovic
cdf85adde1 cmsdk: Mandate cm sb feature xml's for service implementation.
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
2016-03-24 16:50:40 -07:00
Roman Birg
1bf0cf2ff8 cmsdk: fix javadoc for performance profiles
Native performance manager returns -1 if the feature is unset, not 0.

Change-Id: I77800f474a2cf68f4eda62cfb7239f106a73d458
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-03-24 13:43:21 -07:00
d34d
b05ce12eab Themes: Check theme api level in onBootPhase
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
2016-03-21 09:16:33 -07:00
Michael Bestas
948e399b5d Automatic translation import
Change-Id: Iedea6c96b80f72ad83b9bb38069c069982ca5fce
2016-03-18 16:01:14 -07:00
Roman Birg
45f57c5c9b update api
I made Cid angry

Change-Id: Ide114bdb0877cdfbce0060f2d0068a63a15ecc63
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-03-17 15:29:22 -07:00
Roman Birg
99200b900b cmsdk: fix last profile extra constant
Ref: OSS CYAN-7459

Change-Id: I6be1f11e1a48e358cd9050358a3ca5b8b4a6d4e0
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-03-17 14:54:30 -07:00
Roman Birg
c46e0ffb69 cmsdk: send connection value when changing network modes
Ref: CYNGNOS-1463

Change-Id: I2ef1feb0d1f135f360dc553e3426bdd7610087bd
Signed-off-by: Roman Birg <roman@cyngn.com>
2016-03-15 16:08:46 -07:00
Adnan Begovic
80f56517fd cmsdk: Introduce externalCMServices array to cmres.
Change-Id: I29427524e69327f79e0adae16ccd800fbd712646
2016-03-15 15:54:06 -07:00
Adnan Begovic
a335ba39c2 cmsdk: Mandate cmhw feature xml's for service implementation.
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
2016-03-15 14:09:04 -07:00
Adnan Begovic
19b267dfff Revert "cmhw: Don't hold a static reference to the service"
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 96cfc7392c.

Change-Id: I8facd08a39c0cfa9837688b00226f37023baef8c
2016-03-14 16:42:28 -07:00
Danesh M
220ab7985e CMSettings : Add display gamma setting
CYNGNOS-1166

Change-Id: I41ee5120359df3dc4702cc2c573c66b06a9bee00
2016-03-14 10:39:30 -07:00
Steve Kondik
96cfc7392c cmhw: Don't hold a static reference to the service
* If getService fails for whatever reason, there is no chance
   to try again. Fix it.

Change-Id: Ibabd73dfbff0b99e0b75fda96eadbde5e8685c74
2016-03-13 05:18:59 -07:00
d34d
5e2d5a6850 CMSettings: Add VIBRATOR_INTENSITY setting
Change-Id: I55025639036becd6df6c945abc904a531ffa4207
TICKET:CYNGNOS-1166
2016-03-11 13:16:12 -08:00
d34d
9714d7f9de CMSettings: Add FEATURE_TOUCH_HOVERING
Unbreaks the build by adding this missing setting used in framework
services.

Change-Id: I4389647b026f0a755623cb822996344755b9590a
TICKET: CYNGNOS-1166
2016-03-11 12:48:12 -08:00