summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2016-07-18 14:14:20 -0700
committerDianne Hackborn <hackbod@google.com>2016-07-19 14:16:50 -0700
commitd0db6f00435b83c88f041ccf0cfcb9986ae8e6ef (patch)
tree4747dbf651d5044f58159ea802f73535d2ea1e68 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent74171f88c28fb177bd6b2777b72b0e36cead03d9 (diff)
Add reporting of long wake locks.
These appear as a new event in the battery stats history, "longwake" in the long version and "Elw" in the checkin. The power manager keeps track of which wake locks are held for a long time and reports them to battery stats. Long is currently considered 1 minute or more. Once it is long, the start event will appear, and once if is released the event will end. In the case of a wake lock changing (typically its work source changing), for purposes of this accounting this is considering a pure release of the old state and start of the new state... so the timer will reset back to one minute until the wake lock is considered long. This is done to prevent things that make lots of changes to wake lock work sources from spamming the log. Bug: 28753137 Change-Id: I33b6168c57a7ea6ea558273dec731704123124a5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions