Home
last modified time | relevance | path

Searched refs:customComponentPower (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsTest.java350 int screenPowerModel, double cpuPower, int cpuPowerModel, double customComponentPower, in addUidBatteryConsumer() argument
368 BatteryConsumer.FIRST_CUSTOM_POWER_COMPONENT_ID, customComponentPower) in addUidBatteryConsumer()
403 double consumedPower, int cpuPower, int customComponentPower, int cpuDuration, in addAggregateBatteryConsumer() argument
414 customComponentPower) in addAggregateBatteryConsumer()
512 int cpuPowerModel, double customComponentPower, int cpuDuration, in assertUidBatteryConsumer() argument
542 BatteryConsumer.FIRST_CUSTOM_POWER_COMPONENT_ID)).isEqualTo(customComponentPower); in assertUidBatteryConsumer()
623 int userId, int cpuPower, int customComponentPower, in assertUserBatteryConsumer() argument
628 BatteryConsumer.FIRST_CUSTOM_POWER_COMPONENT_ID)).isEqualTo(customComponentPower); in assertUserBatteryConsumer()
640 int aggregateBatteryConsumerScopeAllApps, int cpuPower, int customComponentPower, in assertAggregateBatteryConsumer() argument
647 BatteryConsumer.FIRST_CUSTOM_POWER_COMPONENT_ID)).isEqualTo(customComponentPower); in assertAggregateBatteryConsumer()
/frameworks/base/core/java/android/os/
DPowerComponents.java189 final double customComponentPower = in dump() local
191 if (skipEmptyComponents && customComponentPower == 0) { in dump()
198 sb.append(BatteryStats.formatCharge(customComponentPower)); in dump()