summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2018-11-16 17:41:09 -0800
committerJoe Onorato <joeo@google.com>2018-11-29 10:48:26 -0800
commit795bfbaabfac07be7063b12789a5286ac1ebf579 (patch)
tree7ac092bdba8e9914b7f9b1d76756266ad44a3360 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent68cf7a9e196d1702082a61f02ae259a59c0fe800 (diff)
Power model calculation based on batterystats data.
Similar to the ActivityReport, the PowerReport contains the power usage for a device. To do the calculations, each of the ComponentActivity objects are called, giving them the whole activity info (in case they need to apportion blame) and the PowerProfile. From that, they compute the per-component power usage, which is then summed up into the AppPower and PowerReport objects. Test: atest frameworks/base/tools/powermodel --host Change-Id: Ibc9ada6f7f4a667152fc4af388f04766125ca74c
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions