Searched refs:WAKEFULNESS_ASLEEP (Results 1 – 9 of 9) sorted by relevance
36 public static final int WAKEFULNESS_ASLEEP = 0; field in WakefulnessLifecycle41 private int mWakefulness = WAKEFULNESS_ASLEEP;76 if (getWakefulness() == WAKEFULNESS_ASLEEP) { in dispatchFinishedGoingToSleep()79 setWakefulness(WAKEFULNESS_ASLEEP); in dispatchFinishedGoingToSleep()
34 public static final int WAKEFULNESS_ASLEEP = 0; field in PowerManagerInternal60 case WAKEFULNESS_ASLEEP: in wakefulnessToString()78 case WAKEFULNESS_ASLEEP: in wakefulnessToProtoEnum()79 return PowerManagerInternalProto.WAKEFULNESS_ASLEEP; in wakefulnessToProtoEnum()
19 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;292 mService.setWakefulnessLocked(WAKEFULNESS_ASLEEP, PowerManager.GO_TO_SLEEP_REASON_TIMEOUT, in testGetDesiredScreenPolicy_WithVR()322 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testWakefulnessSleep_NoDozeSleepFlag()338 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testWakefulnessAwake_AcquireCausesWakeup()345 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testWakefulnessAwake_AcquireCausesWakeup()381 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()396 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()402 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()422 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testWakefulnessAwake_ShouldWakeUpWhenPluggedIn()483 assertThat(mService.getWakefulness()).isEqualTo(WAKEFULNESS_ASLEEP); in testForceSuspend_putsDeviceToSleep()[all …]
209 mAttentionDetector.onWakefulnessChangeStarted(PowerManagerInternal.WAKEFULNESS_ASLEEP); in testOnWakefulnessChangeStarted_cancelsRequestWhenNotAwake()
54 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, mWakefulness.getWakefulness()); in baseState()97 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, in dispatchFinishedGoingToSleep()
57 WAKEFULNESS_ASLEEP = 0; enumerator
19 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;1392 if (mWakefulness == WAKEFULNESS_ASLEEP in userActivityNoUpdateLocked()1501 || mWakefulness == WAKEFULNESS_ASLEEP in goToSleepNoUpdateLocked()1581 if (eventTime < mLastWakeTime || mWakefulness == WAKEFULNESS_ASLEEP in reallyGoToSleepNoUpdateLocked()1590 setWakefulnessLocked(WAKEFULNESS_ASLEEP, PowerManager.GO_TO_SLEEP_REASON_TIMEOUT, in reallyGoToSleepNoUpdateLocked()1635 if (mWakefulness == WAKEFULNESS_DOZING || mWakefulness == WAKEFULNESS_ASLEEP) { in finishWakefulnessChangeIfNeededLocked()1903 if (mWakefulness == WAKEFULNESS_ASLEEP in adjustWakeLockSummaryLocked()1907 if (mWakefulness == WAKEFULNESS_ASLEEP) { in adjustWakeLockSummaryLocked()2536 if (mWakefulness == WAKEFULNESS_ASLEEP || sQuiescent) { in getDesiredScreenPolicyLocked()3119 if (!mSystemReady || mWakefulness == WAKEFULNESS_ASLEEP in boostScreenBrightnessInternal()
451 mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_ASLEEP in shouldShowUI()
30 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_ASLEEP;2626 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP in dismissKeyguardThenExecute()