aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/cyanogenmod/power
Commit message (Collapse)AuthorAgeFilesLines
* cmsdk: Mandate performance feature xml's for service implementation.Adnan Begovic2016-03-251-1/+6
| | | | | | | | | | | | | | 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
* cmsdk: fix javadoc for performance profilesRoman Birg2016-03-241-1/+1
| | | | | | | Native performance manager returns -1 if the feature is unset, not 0. Change-Id: I77800f474a2cf68f4eda62cfb7239f106a73d458 Signed-off-by: Roman Birg <roman@cyngn.com>
* cmsdk: Add PerformanceManager tests, Change target permission.Adnan Begovic2016-03-081-1/+2
| | | | | | | | | | | | 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
* perf: Add PerformanceManager.getProfileHasAppProfiles APIKhalid Zubair2015-11-252-0/+21
| | | | | | | Add an API to query PerformanceManager if a perf profile supports app-profiles. Change-Id: I51d958343624ab085de0352ac182cb05308e0da4
* cmsdk: Refactor the PerformanceManagerSteve Kondik2015-11-033-0/+239
* Remove all code and configuration into CMSDK. * Deprecate the properties-based API Change-Id: Ib14ce5b8623cb368e6b545d1f82bc9c58580e13b