summaryrefslogtreecommitdiff
path: root/tools/aapt2/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-05-08 17:21:48 -0700
committerDianne Hackborn <hackbod@google.com>2015-05-11 15:16:47 -0700
commit8d66b3fbf5d8036e25d64a8472bcd2b6b7892a1a (patch)
treecc4aa1432f4abecd3b7d34275945a0c1c678fd34 /tools/aapt2/JavaClassGenerator_test.cpp
parentcfd6e9dfd063cba795497f251aa6f7fe2554f10b (diff)
Implement device idle in power manager.
When in device idle mode, we now prevent most apps from being able to hold partial wake locks. The device idle controller now pushes its white list of app uids into the power manager, so it can apply this policy correctly to only apps that are not whitelisted. The implementation adds a new "disabled" flag to a wake lock which is set when we want to apply this policy. When set, we ensure that we tell battery stats that the wake lock is not being held and ignore that wake lock when computing the power state summary. Also add new SDK APIs to schedule alarms that are allowed to execute while in idle mode. Finally add new dumpsys commands to the device idle controller to completely disable and re-enable its operation, to use for testing. Change-Id: I1f16672c6ac06d03bb538f9854d5843db9aa6f27
Diffstat (limited to 'tools/aapt2/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions