Searched refs:GO_TO_SLEEP_REASON_APPLICATION (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
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() 295 mPowerGroup.dozeLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_APPLICATION); in testUpdateWhileDozing_UpdatesDisplayPowerRequest() 335 mPowerGroup.dozeLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_APPLICATION); in testUpdateWhileDozing_DozeAfterScreenOff()
|
D | PowerManagerServiceTest.java | 419 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, PowerManager.GO_TO_SLEEP_FLAG_NO_DOZE); in forceSleep() 433 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in forceDozing() 535 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, PowerManager.GO_TO_SLEEP_FLAG_NO_DOZE); in testWakefulnessSleep_NoDozeSleepFlag() 550 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_NoWakelocks() 566 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessAwakeShowKeyguard_SoftSleepFlag_NoWakelocks() 590 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithPartialWakelock() 613 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithFullWakelock() 636 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithScreenBrightWakelock() 658 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithScreenDimWakelock() 1005 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in testWakefulnessDoze_goToSleep() [all …]
|
/frameworks/base/core/java/android/os/ |
D | IPowerManager.aidl | 160 const int GO_TO_SLEEP_REASON_APPLICATION = 0; field
|
D | PowerManager.java | 437 public static final int GO_TO_SLEEP_REASON_APPLICATION = GO_TO_SLEEP_REASON_MIN; field in PowerManager 530 case GO_TO_SLEEP_REASON_APPLICATION: return "application"; in sleepReasonToString() 632 GO_TO_SLEEP_REASON_APPLICATION, 1498 goToSleep(time, GO_TO_SLEEP_REASON_APPLICATION, 0); in goToSleep()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibrationSettingsTest.java | 694 mockGoToSleep(vibrateStartTime - 10, PowerManager.GO_TO_SLEEP_REASON_APPLICATION); in shouldCancelVibrationOnScreenOff_withEventBeforeVibration_returnsAlwaysFalse()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 37542 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_APPLICATION:I
|