summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorHaoran.Wang <elven.wang@nxp.com>2019-12-17 15:18:55 +0800
committerHaoran.Wang <elven.wang@nxp.com>2019-12-17 15:35:41 +0800
commit1d63546de956f152469cbbf015e301d14be34cbe (patch)
tree47aca17bd16d1fd1e7dfc74739824a3f6f378fc4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent775540c6d61f8719a6ab7221230b600e0f1834e3 (diff)
add default cpu.active power consumption
In CpuPowerCalculator it will calculate the power consumption based on the PowerProfile. But when the device run on the GSI image, the PowerProfile will not match the specific device's overlay. The default power_profile.xml which don't have cpu.active will make some multiple-cluster device have zero CPU power consumption calculation result. So added the default value for the cpu.active values which overlay by many devices. This patch help below cts-on-gsi get pass: run cts-on-gsi -m CtsStatsdHostTestCases -t android.cts.statsd.atom.UidAtomTests#testDeviceCalculatedPowerBlameUid run cts-on-gsi -m CtsStatsdHostTestCases -t android.cts.statsd.validation.BatteryStatsValidationTests#testPowerBlameUid TEST: run cts -m CtsStatsdHostTestCases -t android.cts.statsd.atom.UidAtomTests#testDeviceCalculatedPowerBlameUid Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions