| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Iedea6c96b80f72ad83b9bb38069c069982ca5fce
|
|
|
|
| |
Change-Id: I29427524e69327f79e0adae16ccd800fbd712646
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
* permdesc strings should end with a dot
Change-Id: I948ab86ee7548507da1a8cd3bd260637a1e927b7
|
|
|
|
| |
Change-Id: I20b28bcfb801cd9ba9051f9c97e79ac1119e6fb7
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since PerformanceManager is strictly a CyanogenMod construct,
it doesn't make sense to enforce the interfaces with an android
specific permission (even though the implementation is delegated
to power manager). To keep consistency with the other api's,
modify the enforcing permission to a cm specific declaration.
Also add test cases for the PerformanceManager public interfaces.
Change-Id: I430b69dbee73bf94bb60932d1942ab97e3ba193e
|
|
|
|
| |
Change-Id: Ie18403b1b7f026c986e327c28050123f52352084
|
|
|
|
|
|
|
|
| |
First attempt at moving as much as possible out of F/B
and into cmsdk
Change-Id: I9e53d1c32e01e88fc3918663dabe0001df922bc2
TICKET: CYNGNOS-2126
|
|
|
|
|
|
| |
* Reduce duplicate strings between device-specific setting extensions
Change-Id: I5691a68ba0ce031e2b8e3f9686997b155e04faff
|
|
|
|
|
|
|
| |
Ref: OPO-513
Change-Id: Iedd88bfad12b8f257bb792bf024d8eefa92b321c
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
| |
This was mistakenly commented out and causes the API to not function.
Fixes FOR-205.
Change-Id: I3c76d9c3665e35e2d13bed00cba1e742e4c0fb07
|
|
|
|
|
|
|
|
|
|
|
| |
When going from perfmanager -> powermanager we need to clear the calling
identity otherwise you get :
Bad call: specified package android under uid 10031 but it is really 1000
CYNGNOS-786
Change-Id: Iacd310f56d6538b0f7a4779f89b4451f6a203c5b
|
|
|
|
| |
Change-Id: I86ecc76f33b4cc3db62be2939ae501cd10f1634c
|
|
|
|
|
|
|
| |
Ref: OPO-427
Change-Id: If97b2ebc864687a53c4ef8253f5d2d0bafc1e996
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix edge cases such as :
1) Toggling to power save when plugged in (Should reject)
2) Plugging in to power while in power save should toggle to
balanced.
3) Toggling from power save to anything else should disable
low power mode (Orange system bars...etc)
CYNGNOS-786
Change-Id: If6a4c08843673a6d02c38c94ed44d36230c0cb81
|
|
|
|
| |
Change-Id: I5616066b18e84f59e040a0e73882a3831cdca35f
|
|
|
|
|
|
|
| |
Ref: CYNGNOS-1861
Change-Id: I0f4ab58cb38fe0c9a2dba1b7d38de9020544bdc4
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: Id15cfc17d95f89aceb963a216ddd23295c21773a
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I1893380ab4f7e3bb5ff31c72578aa28a932839a0
|
|
|
|
|
|
|
|
|
|
| |
This fixes the following errors during bootup:
QSTileHost: Error creating tile for spec: visualizer
QSTileHost: java.lang.IllegalArgumentException: Bad tile spec: visualizer
CYNGNOS-1722
Change-Id: Idd45ef73beb004fb4afb310bb335f3cc85b08330
|
|
|
|
|
|
|
|
| |
This reverts commit 33e300e32db2b94274d94295435e1ad4c9a8347e.
CYNGNOS-1677
Change-Id: Ia4a9d192fde03152d308f7a93f3fe6525cb57c7d
|
|
|
|
| |
Change-Id: I3777f8d3c8b2c83da6bfe734bfaa1554ae91b198
|
|
|
|
|
|
|
|
|
|
|
| |
Some of this exists in the PersistentStorage implementation, but it
was never formally documented in the APIs. Inherit the cmhw implementation
error checking & move it into the service.
Add tests to validate the new restrictions & a test that was previously
failing.
Change-Id: I3ecda29fdd28bbc4e6d8ccce7511c4644065ea46
|
|
|
|
|
|
|
|
| |
Lower protection level of THIRD_PARTY_KEYGUARD permission from
signature|privileged to normal.
Change-Id: I464daba67a66e88efe6219cec2663a07d15ab3ed
TICKET: CYNGNOS-1689
|
|
|
|
| |
Change-Id: I39a0e63fa95fd9a37a79dc6cb52da8047c40c86f
|
|
|
|
| |
Change-Id: I52972bc4d32505ba7fd2f7278efdb9441c39b82a
|
|
|
|
| |
Change-Id: I742c557747bbee9f821298497e2cef0e371bb0a2
|
|
|
|
|
|
|
| |
Add resources needed by WiFi service (see
If1613a8556908f372a70fbd859fa35e9315f9613)
Change-Id: I76b838354459e4482795c9812d37bb204df708c3
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I1b033ff646dbbdafa5d0efcaf110b76ca48980e3
|
|
|
|
|
|
| |
Ref: CYNGNOS-1478
Change-Id: If4952c4513063ea4b2cf2105514183731175ad72
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
|
|
| |
Ref: CYNGNOS-1461
Change-Id: Idee9417a2f0b181c8d15cd763859c0a0e581dce6
Signed-off-by: Roman Birg <roman@cyngn.com>
|
|
|
|
| |
Change-Id: I2fdf589967efc997d0b3f93ff73268ad57858a61
|
|
|
|
|
|
|
|
|
| |
For CM13, the third party keyguard permission is being added to
the cmsdk rather than frameworks/base. This patch also introduces
CmLockPatternUtils, a subclass of LockPatternUtils, which allows us
to make use of the new third party keyguard permissions in cmsdk.
Change-Id: I91fadfaae79e3f146e9ae73929cea91294ef8d87
|
|
|
|
| |
Change-Id: Ia5f644ce0b964a965afa47ea08016167c8b20620
|
|
|
|
| |
Change-Id: I5644f6d9769614d72220ee68a08202e6c69037d9
|
|
|
|
| |
Change-Id: If126936f788d398c53dca21297cd7d69f9d933b8
|
|
|
|
| |
Change-Id: I1db0cba6cf107926a25a8e45952813d3c21eb470
|
|
|
|
|
|
|
| |
Add an API to query PerformanceManager if a perf profile supports
app-profiles.
Change-Id: I51d958343624ab085de0352ac182cb05308e0da4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rework profile handling to address the following issues:
- When app specific profiles are enabled, the perf service silently
changes the profile to BALANCED when the user revisits settings.
The service and Settings UI still show whatever pref the user had
selected. The user is now unable to change the setting to BALANCED.
The perf service ignores the change because the current profile
(selected by app profiles) did not change.
- When low power mode (battery saver) activates or deactivates, the
user selected profile is overwritten.
All runtime decisions regarding active profiles have been consolidated
in to a single applyProfile() function that handles low power mode,
user and app-specific profile rules.
App specific profiles are applied only if the power profile is
BALANCED.
setPowerProfileInternal has been changed to save the user pref even if
the active pref is unchanged.
Fixes SAMBAR-1088
Change-Id: Iac658959130f08452f5e41ce3339fe4603ac474e
|
|
|
|
| |
Change-Id: I850d45e9aca6eff8221766830fce45468c8ca549
|
|
|
|
|
|
|
|
|
| |
* Lights with Screen On
* LEDs Brightness
* Multiple LEDs
Change-Id: I8c3f3cae53c834d1d2798d9dece00e3253ccb1db
Signed-off-by: AdrianDC <radian.dc@gmail.com>
|