Home
last modified time | relevance | path

Searched refs:POWER_COMPONENT_ANY (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsProcessorTest.java43 new AggregatedPowerStatsConfig.PowerComponent(BatteryConsumer.POWER_COMPONENT_ANY) in createPowerEstimationPlan_allDeviceStatesPresentInUidStates()
64 new AggregatedPowerStatsConfig.PowerComponent(BatteryConsumer.POWER_COMPONENT_ANY) in createPowerEstimationPlan_combineDeviceStats()
DBatteryUsageStatsTest.java19 import static android.os.BatteryConsumer.POWER_COMPONENT_ANY;
554 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
558 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
562 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
566 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java48 POWER_COMPONENT_ANY,
71 public static final int POWER_COMPONENT_ANY = -1; field in BatteryConsumer
224 if (powerComponent != POWER_COMPONENT_ANY) { in toString()
243 new Dimensions(POWER_COMPONENT_ANY, PROCESS_STATE_ANY);
465 if (componentId == POWER_COMPONENT_ANY) { in powerComponentIdToString()
DPowerComponents.java19 import static android.os.BatteryConsumer.POWER_COMPONENT_ANY;
59 if (dimensions.powerComponent != POWER_COMPONENT_ANY) { in getConsumedPower()
DUidBatteryConsumer.java153 Dimensions dimensions = new Dimensions(POWER_COMPONENT_ANY, processState); in appendProcessStateData()
/frameworks/base/services/core/java/com/android/server/am/
DAppBatteryTracker.java30 import static android.os.BatteryConsumer.POWER_COMPONENT_ANY;
1425 static final int DEFAULT_BG_CURRENT_DRAIN_POWER_COMPONENTS = POWER_COMPONENT_ANY;