Home
last modified time | relevance | path

Searched refs:SCREEN_STATE_ON (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DCpuPowerStatsProcessorTest.java24 import static com.android.server.power.stats.AggregatedPowerStatsConfig.SCREEN_STATE_ON;
98 states(POWER_STATE_BATTERY, SCREEN_STATE_ON), in powerProfileModel()
105 states(POWER_STATE_OTHER, SCREEN_STATE_ON), in powerProfileModel()
119 states(POWER_STATE_BATTERY, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND), in powerProfileModel()
122 states(POWER_STATE_BATTERY, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND), in powerProfileModel()
125 states(POWER_STATE_BATTERY, SCREEN_STATE_ON, PROCESS_STATE_BACKGROUND), in powerProfileModel()
128 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED), in powerProfileModel()
140 states(POWER_STATE_BATTERY, SCREEN_STATE_ON), in energyConsumerModel()
148 states(POWER_STATE_OTHER, SCREEN_STATE_ON), in energyConsumerModel()
164 states(POWER_STATE_BATTERY, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND), in energyConsumerModel()
[all …]
DAggregatedPowerStatsTest.java107 AggregatedPowerStatsConfig.SCREEN_STATE_ON, 2000); in prepareAggregatePowerStats()
154 AggregatedPowerStatsConfig.SCREEN_STATE_ON)) in verifyAggregatedPowerStats()
164 AggregatedPowerStatsConfig.SCREEN_STATE_ON)) in verifyAggregatedPowerStats()
169 AggregatedPowerStatsConfig.SCREEN_STATE_ON)) in verifyAggregatedPowerStats()
179 AggregatedPowerStatsConfig.SCREEN_STATE_ON)) in verifyAggregatedPowerStats()
190 AggregatedPowerStatsConfig.SCREEN_STATE_ON, in verifyAggregatedPowerStats()
197 AggregatedPowerStatsConfig.SCREEN_STATE_ON, in verifyAggregatedPowerStats()
211 AggregatedPowerStatsConfig.SCREEN_STATE_ON, in verifyAggregatedPowerStats()
218 AggregatedPowerStatsConfig.SCREEN_STATE_ON, in verifyAggregatedPowerStats()
DBinaryStatePowerStatsProcessorTest.java25 import static com.android.server.power.stats.AggregatedPowerStatsConfig.SCREEN_STATE_ON;
103 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel()
117 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in powerProfileModel()
141 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel()
192 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in energyConsumerModel()
209 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in energyConsumerModel()
233 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in energyConsumerModel()
277 powerComponentStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in createAggregatedPowerStats()
DBluetoothPowerStatsProcessorTest.java25 import static com.android.server.power.stats.AggregatedPowerStatsConfig.SCREEN_STATE_ON;
219 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_mostlyDataTransfer()
234 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in powerProfileModel_mostlyDataTransfer()
254 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_mostlyDataTransfer()
318 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_mostlyScan()
333 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in powerProfileModel_mostlyScan()
353 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_mostlyScan()
421 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in consumedEnergyModel()
437 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in consumedEnergyModel()
458 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in consumedEnergyModel()
[all …]
DPowerStatsAggregatorTest.java146 AggregatedPowerStatsConfig.SCREEN_STATE_ON})) in stateUpdates()
158 AggregatedPowerStatsConfig.SCREEN_STATE_ON, in stateUpdates()
233 AggregatedPowerStatsConfig.SCREEN_STATE_ON})) in incompatiblePowerStats()
238 AggregatedPowerStatsConfig.SCREEN_STATE_ON, in incompatiblePowerStats()
248 AggregatedPowerStatsConfig.SCREEN_STATE_ON})) in incompatiblePowerStats()
253 AggregatedPowerStatsConfig.SCREEN_STATE_ON, in incompatiblePowerStats()
DWifiPowerStatsProcessorTest.java27 import static com.android.server.power.stats.AggregatedPowerStatsConfig.SCREEN_STATE_ON;
255 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_powerController()
271 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in powerProfileModel_powerController()
292 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_powerController()
368 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in consumedEnergyModel_powerController()
384 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in consumedEnergyModel_powerController()
405 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in consumedEnergyModel_powerController()
475 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel_noPowerController()
491 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in powerProfileModel_noPowerController()
512 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel_noPowerController()
[all …]
DMobileRadioPowerStatsProcessorTest.java27 import static com.android.server.power.stats.AggregatedPowerStatsConfig.SCREEN_STATE_ON;
190 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in powerProfileModel()
251 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in powerProfileModel()
274 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in powerProfileModel()
293 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in powerProfileModel()
324 aggregatedStats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in energyConsumerModel()
346 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_FOREGROUND)); in energyConsumerModel()
365 states(POWER_STATE_OTHER, SCREEN_STATE_ON, PROCESS_STATE_CACHED)); in energyConsumerModel()
429 aggregatedStats.setState(STATE_SCREEN, SCREEN_STATE_ON, 0); in prepareAggregatedStats_energyConsumerModel()
DPhoneCallPowerStatsProcessorTest.java19 import static com.android.server.power.stats.AggregatedPowerStatsConfig.SCREEN_STATE_ON;
181 aggregatedPowerStats.setDeviceState(STATE_SCREEN, SCREEN_STATE_ON, 0); in copyEstimatesFromMobileRadioPowerStats()
216 stats.getDeviceStats(deviceStats, states(POWER_STATE_OTHER, SCREEN_STATE_ON)); in copyEstimatesFromMobileRadioPowerStats()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java49 private static final int SCREEN_STATE_ON = 2; field in KeyguardServiceDelegate
205 if (mKeyguardState.screenState == SCREEN_STATE_ON
210 if (mKeyguardState.screenState == SCREEN_STATE_ON) {
372 mKeyguardState.screenState = SCREEN_STATE_ON; in onScreenTurnedOn()
504 case SCREEN_STATE_ON: in screenStateToString()
/frameworks/base/services/core/java/com/android/server/power/stats/
DAggregatedPowerStatsConfig.java53 static final int SCREEN_STATE_ON = 0; field in AggregatedPowerStatsConfig
DPowerStatsAggregator.java110 ? AggregatedPowerStatsConfig.SCREEN_STATE_ON in aggregatePowerStats()
/frameworks/proto_logging/stats/enums/service/
Dprocstats_enum.proto26 SCREEN_STATE_ON = 2; enumerator
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java221 ProcessStatsEnums.SCREEN_STATE_ON
/frameworks/base/core/proto/android/server/
Dwindowmanagerservice.proto100 SCREEN_STATE_ON = 2; enumerator
/frameworks/base/core/java/android/widget/
DEditor.java1085 case View.SCREEN_STATE_ON: in onScreenStateChanged()
/frameworks/base/core/java/android/view/
DViewRootImpl.java2370 View.SCREEN_STATE_OFF : View.SCREEN_STATE_ON;
DView.java4468 public static final int SCREEN_STATE_ON = 0x1; field in View
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt33838 field public static final int SCREEN_STATE_ON = 1; // 0x1
/frameworks/base/core/api/
Dcurrent.txt53309 field public static final int SCREEN_STATE_ON = 1; // 0x1