Home
last modified time | relevance | path

Searched refs:WAKEFULNESS_ASLEEP (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWakefulnessLifecycle.java32 public static final int WAKEFULNESS_ASLEEP = 0; field in WakefulnessLifecycle
37 private int mWakefulness = WAKEFULNESS_ASLEEP;
59 setWakefulness(WAKEFULNESS_ASLEEP); in dispatchFinishedGoingToSleep()
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java32 public static final int WAKEFULNESS_ASLEEP = 0; field in PowerManagerInternal
58 case WAKEFULNESS_ASLEEP: in wakefulnessToString()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWakefulnessLifecycleTest.java52 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, mWakefulness.getWakefulness()); in baseState()
95 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, in dispatchFinishedGoingToSleep()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java35 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;
113 mService.setWakefulnessLocked(WAKEFULNESS_ASLEEP, 0); in testGetDesiredScreenPolicy_WithVR()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java110 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;
1354 if (mWakefulness == WAKEFULNESS_ASLEEP in userActivityNoUpdateLocked()
1412 case WAKEFULNESS_ASLEEP: in wakeUpNoUpdateLocked()
1456 || mWakefulness == WAKEFULNESS_ASLEEP in goToSleepNoUpdateLocked()
1556 if (eventTime < mLastWakeTime || mWakefulness == WAKEFULNESS_ASLEEP in reallyGoToSleepNoUpdateLocked()
1565 setWakefulnessLocked(WAKEFULNESS_ASLEEP, PowerManager.GO_TO_SLEEP_REASON_TIMEOUT); in reallyGoToSleepNoUpdateLocked()
1620 if (mWakefulness == WAKEFULNESS_DOZING || mWakefulness == WAKEFULNESS_ASLEEP) { in finishWakefulnessChangeIfNeededLocked()
1858 if (mWakefulness == WAKEFULNESS_ASLEEP in updateWakeLockSummaryLocked()
1862 if (mWakefulness == WAKEFULNESS_ASLEEP) { in updateWakeLockSummaryLocked()
2440 if (mWakefulness == WAKEFULNESS_ASLEEP || sQuiescent) { in getDesiredScreenPolicyLocked()
[all …]
/frameworks/base/core/proto/android/service/
Dpower.proto101 WAKEFULNESS_ASLEEP = 0; enumerator
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java344 && mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_ASLEEP in shouldShowUI()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java23 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_ASLEEP;
3903 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP in dismissKeyguardThenExecute()