Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerGroupTest.java25 import static android.os.PowerManager.GO_TO_SLEEP_REASON_APPLICATION;
101 mPowerGroup.sleepLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_APPLICATION); in testWakePowerGroup()
103 eq(WAKEFULNESS_ASLEEP), eq(TIMESTAMP1), eq(GO_TO_SLEEP_REASON_APPLICATION), in testWakePowerGroup()
123 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()
334 mPowerGroup.dozeLocked(TIMESTAMP1, UID, GO_TO_SLEEP_REASON_APPLICATION); in testUpdateWhileDozing_DozeAfterScreenOff()
DPowerManagerServiceTest.java353 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, PowerManager.GO_TO_SLEEP_FLAG_NO_DOZE); in forceSleep()
367 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in forceDozing()
490 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, PowerManager.GO_TO_SLEEP_FLAG_NO_DOZE); in testWakefulnessSleep_NoDozeSleepFlag()
503 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_NoWakelocks()
526 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithPartialWakelock()
549 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithFullWakelock()
572 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithScreenBrightWakelock()
594 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, in testWakefulnessSleep_SoftSleepFlag_WithScreenDimWakelock()
834 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in testWakefulnessDoze_goToSleep()
1135 PowerManager.GO_TO_SLEEP_REASON_APPLICATION, 0); in testSetDozeOverrideFromDreamManager_triggersSuspendBlocker()
[all …]
/frameworks/base/core/java/android/os/
DIPowerManager.aidl124 const int GO_TO_SLEEP_REASON_APPLICATION = 0; field
DPowerManager.java409 public static final int GO_TO_SLEEP_REASON_APPLICATION = GO_TO_SLEEP_REASON_MIN; field in PowerManager
502 case GO_TO_SLEEP_REASON_APPLICATION: return "application"; in sleepReasonToString()
624 GO_TO_SLEEP_REASON_APPLICATION,
1504 goToSleep(time, GO_TO_SLEEP_REASON_APPLICATION, 0); in goToSleep()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationSettingsTest.java550 mockGoToSleep(vibrateStartTime - 10, PowerManager.GO_TO_SLEEP_REASON_APPLICATION); in shouldCancelVibrationOnScreenOff_withEventBeforeVibration_returnsAlwaysFalse()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt38185 Landroid/os/PowerManager;->GO_TO_SLEEP_REASON_APPLICATION:I