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;
68 if (getWakefulness() == WAKEFULNESS_ASLEEP) { in dispatchFinishedGoingToSleep()
71 setWakefulness(WAKEFULNESS_ASLEEP); in dispatchFinishedGoingToSleep()
/frameworks/base/core/java/android/os/
DPowerManagerInternal.java34 public static final int WAKEFULNESS_ASLEEP = 0; field in PowerManagerInternal
60 case WAKEFULNESS_ASLEEP: in wakefulnessToString()
78 case WAKEFULNESS_ASLEEP: in wakefulnessToProtoEnum()
79 return PowerManagerInternalProto.WAKEFULNESS_ASLEEP; in wakefulnessToProtoEnum()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWakefulnessLifecycleTest.java53 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, mWakefulness.getWakefulness()); in baseState()
96 assertEquals(WakefulnessLifecycle.WAKEFULNESS_ASLEEP, in dispatchFinishedGoingToSleep()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPowerManagerServiceTest.java19 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;
100 mService.setWakefulnessLocked(WAKEFULNESS_ASLEEP, 0); in testGetDesiredScreenPolicy_WithVR()
/frameworks/base/core/proto/android/os/
Dpowermanager.proto57 WAKEFULNESS_ASLEEP = 0; enumerator
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java19 import static android.os.PowerManagerInternal.WAKEFULNESS_ASLEEP;
1286 if (mWakefulness == WAKEFULNESS_ASLEEP in userActivityNoUpdateLocked()
1353 case WAKEFULNESS_ASLEEP: in wakeUpNoUpdateLocked()
1397 || mWakefulness == WAKEFULNESS_ASLEEP in goToSleepNoUpdateLocked()
1501 if (eventTime < mLastWakeTime || mWakefulness == WAKEFULNESS_ASLEEP in reallyGoToSleepNoUpdateLocked()
1510 setWakefulnessLocked(WAKEFULNESS_ASLEEP, PowerManager.GO_TO_SLEEP_REASON_TIMEOUT); in reallyGoToSleepNoUpdateLocked()
1565 if (mWakefulness == WAKEFULNESS_DOZING || mWakefulness == WAKEFULNESS_ASLEEP) { in finishWakefulnessChangeIfNeededLocked()
1828 if (mWakefulness == WAKEFULNESS_ASLEEP in adjustWakeLockSummaryLocked()
1832 if (mWakefulness == WAKEFULNESS_ASLEEP) { in adjustWakeLockSummaryLocked()
2454 if (mWakefulness == WAKEFULNESS_ASLEEP || sQuiescent) { in getDesiredScreenPolicyLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java390 mStatusBar.getWakefulnessState() != WakefulnessLifecycle.WAKEFULNESS_ASLEEP in shouldShowUI()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java24 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_ASLEEP;
3099 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP in dismissKeyguardThenExecute()