Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DPowerManagerServiceTest.java416 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in forceDozing()
519 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_NoWakelocks()
542 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithPartialWakelock()
565 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithFullWakelock()
588 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithScreenBrightWakelock()
610 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithScreenDimWakelock()
957 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in testWakefulnessDoze_goToSleep()
1250 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
2113 PowerManager.GO_TO_SLEEP_REASON_APPLICATION); in testMultiDisplay_updatesLastGlobalWakeTime()
2259 eq(PowerManager.GO_TO_SLEEP_REASON_APPLICATION), anyLong()); in testMultiDisplay_onlyOneDisplaySleeps_onWakefulnessChangedEventsFire()
[all …]
H A DPowerGroupTest.java24 import static android.os.PowerManager.GO_TO_SLEEP_REASON_APPLICATION;
100 mPowerGroup.sleepLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_APPLICATION); in testWakePowerGroup()
102 eq(WAKEFULNESS_ASLEEP), eq(TIMESTAMP1), eq(GO_TO_SLEEP_REASON_APPLICATION), in testWakePowerGroup()
122 eq(WAKEFULNESS_DREAMING), eq(TIMESTAMP1), eq(GO_TO_SLEEP_REASON_APPLICATION), in testDreamPowerGroup()
293 mPowerGroup.dozeLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_APPLICATION); in testUpdateWhileDozing_UpdatesDisplayPowerRequest()
331 mPowerGroup.dozeLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_APPLICATION); in testUpdateWhileDozing_DozeAfterScreenOff()
/aosp14/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl159 const int GO_TO_SLEEP_REASON_APPLICATION = 0; field
H A DPowerManager.java418 public static final int GO_TO_SLEEP_REASON_APPLICATION = GO_TO_SLEEP_REASON_MIN; field in PowerManager
511 case GO_TO_SLEEP_REASON_APPLICATION: return "application"; in sleepReasonToString()
613 GO_TO_SLEEP_REASON_APPLICATION,
1474 goToSleep(time, GO_TO_SLEEP_REASON_APPLICATION, 0); in goToSleep()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
H A DVibrationSettingsTest.java563 mockGoToSleep(vibrateStartTime - 10, PowerManager.GO_TO_SLEEP_REASON_APPLICATION); in shouldCancelVibrationOnScreenOff_withEventBeforeVibration_returnsAlwaysFalse()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt38185 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_APPLICATION:I