Home
last modified time | relevance | path

Searched refs:STATE_SCREEN (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStatsConfig.java35 public static final int STATE_SCREEN = 1; field in AggregatedPowerStatsConfig
40 STATE_SCREEN,
123 isTracked(mTrackedDeviceStates, STATE_SCREEN), in getDeviceStateConfig()
134 isTracked(mTrackedUidStates, STATE_SCREEN), in getUidStateConfig()
DPowerStatsAggregator.java113 mStats.setDeviceState(AggregatedPowerStatsConfig.STATE_SCREEN, screenState, in aggregatePowerStats()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsProcessorTest.java20 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_SCREEN;
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()
DPhoneCallPowerStatsProcessorTest.java23 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_SCREEN;
167 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in copyEstimatesFromMobileRadioPowerStats()
168 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in copyEstimatesFromMobileRadioPowerStats()
181 aggregatedPowerStats.setDeviceState(STATE_SCREEN, SCREEN_STATE_ON, 0); in copyEstimatesFromMobileRadioPowerStats()
193 aggregatedPowerStats.setDeviceState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in copyEstimatesFromMobileRadioPowerStats()
DBinaryStatePowerStatsProcessorTest.java29 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_SCREEN;
87 stats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in powerProfileModel()
168 stats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in energyConsumerModel()
267 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createAggregatedPowerStats()
268 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in createAggregatedPowerStats()
277 powerComponentStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in createAggregatedPowerStats()
DMobileRadioPowerStatsProcessorTest.java31 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_SCREEN;
181 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in powerProfileModel()
182 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in powerProfileModel()
190 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in powerProfileModel()
204 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in powerProfileModel()
420 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in prepareAggregatedStats_energyConsumerModel()
421 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in prepareAggregatedStats_energyConsumerModel()
429 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in prepareAggregatedStats_energyConsumerModel()
447 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in prepareAggregatedStats_energyConsumerModel()
DAggregatedPowerStatsTest.java60 AggregatedPowerStatsConfig.STATE_SCREEN) in setup()
63 AggregatedPowerStatsConfig.STATE_SCREEN, in setup()
106 stats.setDeviceState(AggregatedPowerStatsConfig.STATE_SCREEN, in prepareAggregatePowerStats()
124 stats.setDeviceState(AggregatedPowerStatsConfig.STATE_SCREEN, in prepareAggregatePowerStats()
DBluetoothPowerStatsProcessorTest.java29 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_SCREEN;
186 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in powerProfileModel_mostlyDataTransfer()
286 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in powerProfileModel_mostlyScan()
389 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in consumedEnergyModel()
473 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createAggregatedPowerStats()
474 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in createAggregatedPowerStats()
482 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in createAggregatedPowerStats()
DWifiPowerStatsProcessorTest.java31 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_SCREEN;
214 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in powerProfileModel_powerController()
330 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in consumedEnergyModel_powerController()
435 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_OTHER, 2500); in powerProfileModel_noPowerController()
526 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in createAggregatedPowerStats()
527 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE) in createAggregatedPowerStats()
535 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in createAggregatedPowerStats()
DCpuPowerStatsProcessorTest.java28 import static com.android.server.power.stats.AggregatedPowerStatsConfig.STATE_SCREEN;
87 .trackDeviceStates(STATE_POWER, STATE_SCREEN) in setup()
88 .trackUidStates(STATE_POWER, STATE_SCREEN, STATE_PROCESS_STATE); in setup()
DPowerStatsAggregatorTest.java69 AggregatedPowerStatsConfig.STATE_SCREEN) in setup()
72 AggregatedPowerStatsConfig.STATE_SCREEN, in setup()
DPowerStatsExporterTest.java91 AggregatedPowerStatsConfig.STATE_SCREEN) in setup()
93 AggregatedPowerStatsConfig.STATE_SCREEN, in setup()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java477 AggregatedPowerStatsConfig.STATE_SCREEN) in createAggregatedPowerStatsConfig()
480 AggregatedPowerStatsConfig.STATE_SCREEN, in createAggregatedPowerStatsConfig()
488 AggregatedPowerStatsConfig.STATE_SCREEN) in createAggregatedPowerStatsConfig()
491 AggregatedPowerStatsConfig.STATE_SCREEN, in createAggregatedPowerStatsConfig()
503 AggregatedPowerStatsConfig.STATE_SCREEN) in createAggregatedPowerStatsConfig()
506 AggregatedPowerStatsConfig.STATE_SCREEN, in createAggregatedPowerStatsConfig()
514 AggregatedPowerStatsConfig.STATE_SCREEN) in createAggregatedPowerStatsConfig()
517 AggregatedPowerStatsConfig.STATE_SCREEN, in createAggregatedPowerStatsConfig()
525 AggregatedPowerStatsConfig.STATE_SCREEN) in createAggregatedPowerStatsConfig()
528 AggregatedPowerStatsConfig.STATE_SCREEN, in createAggregatedPowerStatsConfig()
[all …]