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 D | PowerManagerServiceTest.java | 416 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 D | PowerGroupTest.java | 24 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 D | IPowerManager.aidl | 159 const int GO_TO_SLEEP_REASON_APPLICATION = 0; field
|
H A D | PowerManager.java | 418 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 D | VibrationSettingsTest.java | 563 mockGoToSleep(vibrateStartTime - 10, PowerManager.GO_TO_SLEEP_REASON_APPLICATION); in shouldCancelVibrationOnScreenOff_withEventBeforeVibration_returnsAlwaysFalse()
|
/aosp14/frameworks/base/boot/hiddenapi/ |
H A D | hiddenapi-max-target-o.txt | 38185 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_APPLICATION:I
|