summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-11-19 17:55:19 -0800
committerDianne Hackborn <hackbod@google.com>2015-12-01 16:53:28 -0800
commita8d10945a608ac6f85a6ab85b69b9a118d7853d8 (patch)
tree538080712b9f65099b9a5158c6d6fb2ecf7756c1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent96b2da271ffa18f1ecc7da57e6469ac01e0c2041 (diff)
Fix reporting of uid state in battery stats.
Now that the activity manager keeps track of per-uid process states, we can push that already rolled-up data into battery stats to directly track the times in those states. The problem with the reporting was actually that we weren't dealing correctly with negative process states, which is now fixed. (It was interpreting them as FOREGROUND rather than not running.) Also split out a number of new states -- TOP, FOREGROUND_SERVICE, TOP_SLEEPING -- from FOREGROUND. This should allow us to get a much better idea of how much an app has been actively in use: TOP is when it is directly visible to the user or in use by such, FOREGROUND_SERVICE is when it is running in the background in a way the user is aware of. Also when reporting these numbers, they are no longer added together as reported but kept as separate times. Change-Id: I6d307503a4b4ad5c0d5d49305ef63f8eb858e2c9
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions