Home
last modified time | relevance | path

Searched refs:STATE_POWER (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsProcessorTest.java18 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_POWER;
44 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createPowerEstimationPlan_allDeviceStatesPresentInUidStates()
45 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE); in createPowerEstimationPlan_allDeviceStatesPresentInUidStates()
65 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createPowerEstimationPlan_combineDeviceStats()
66 .trackUidStates(STATE_POWER, STATE_PROCESS_STATE); in createPowerEstimationPlan_combineDeviceStats()
DPhoneCallPowerStatsProcessorTest.java21 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_POWER;
167 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in copyEstimatesFromMobileRadioPowerStats()
168 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in copyEstimatesFromMobileRadioPowerStats()
180 aggregatedPowerStats.setDeviceState(STATE_POWER, POWER_STATE_OTHER, 0); in copyEstimatesFromMobileRadioPowerStats()
DMobileRadioPowerStatsProcessorTest.java29 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_POWER;
181 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in powerProfileModel()
182 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in powerProfileModel()
189 aggregatedStats.setState(STATE_POWER, POWER_STATE_OTHER, 0); in powerProfileModel()
420 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in prepareAggregatedStats_energyConsumerModel()
421 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in prepareAggregatedStats_energyConsumerModel()
428 aggregatedStats.setState(STATE_POWER, POWER_STATE_OTHER, 0); in prepareAggregatedStats_energyConsumerModel()
DBinaryStatePowerStatsProcessorTest.java27 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_POWER;
267 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createAggregatedPowerStats()
268 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in createAggregatedPowerStats()
276 powerComponentStats.setState(STATE_POWER, POWER_STATE_OTHER, 0); in createAggregatedPowerStats()
DCpuPowerStatsProcessorTest.java26 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_POWER;
87 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in setup()
88 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE); in setup()
DBluetoothPowerStatsProcessorTest.java27 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_POWER;
473 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createAggregatedPowerStats()
474 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in createAggregatedPowerStats()
481 aggregatedStats.setState(STATE_POWER, POWER_STATE_OTHER, 0); in createAggregatedPowerStats()
DAggregatedPowerStatsTest.java59 AggregatedPowerStatsConfig.STATE_POWER, in setup()
62 AggregatedPowerStatsConfig.STATE_POWER, in setup()
DWifiPowerStatsProcessorTest.java29 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_POWER;
526 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createAggregatedPowerStats()
527 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in createAggregatedPowerStats()
534 aggregatedStats.setState(STATE_POWER, POWER_STATE_OTHER, 0); in createAggregatedPowerStats()
DPowerStatsAggregatorTest.java68 AggregatedPowerStatsConfig.STATE_POWER, in setup()
71 AggregatedPowerStatsConfig.STATE_POWER, in setup()
DPowerStatsExporterTest.java90 .trackDeviceStates(AggregatedPowerStatsConfig.STATE_POWER, in setup()
92 .trackUidStates(AggregatedPowerStatsConfig.STATE_POWER, in setup()
/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStatsConfig.java34 public static final int STATE_POWER = 0; field in AggregatedPowerStatsConfig
39 STATE_POWER,
120 isTracked(mTrackedDeviceStates, STATE_POWER), in getDeviceStateConfig()
131 isTracked(mTrackedUidStates, STATE_POWER), in getUidStateConfig()
DPowerStatsExporter.java149 if (states[AggregatedPowerStatsConfig.STATE_POWER] in populateBatteryUsageStatsBuilder()
202 if (states[AggregatedPowerStatsConfig.STATE_POWER] in populateUidBatteryConsumers()
DPowerStatsAggregator.java103 mStats.setDeviceState(AggregatedPowerStatsConfig.STATE_POWER, batteryState, in aggregatePowerStats()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java476 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
479 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
487 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
490 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
502 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
505 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
513 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
516 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
524 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
527 AggregatedPowerStatsConfig.STATE_POWER, in createAggregatedPowerStatsConfig()
[all …]