Searched refs:WAKEFULNESS_AWAKE (Results 1 – 9 of 9) sorted by relevance
40 public static final int WAKEFULNESS_AWAKE = 1; field in PowerManagerInternal62 case WAKEFULNESS_AWAKE: in wakefulnessToString()80 case WAKEFULNESS_AWAKE: in wakefulnessToProtoEnum()81 return PowerManagerInternalProto.WAKEFULNESS_AWAKE; in wakefulnessToProtoEnum()96 return wakefulness == WAKEFULNESS_AWAKE || wakefulness == WAKEFULNESS_DREAMING; in isInteractive()
34 public static final int WAKEFULNESS_AWAKE = 2; field in WakefulnessLifecycle52 if (getWakefulness() == WAKEFULNESS_AWAKE) { in dispatchFinishedWakingUp()55 setWakefulness(WAKEFULNESS_AWAKE); in dispatchFinishedWakingUp()
20 import static android.os.PowerManagerInternal.WAKEFULNESS_AWAKE;90 mService.setWakefulnessLocked(WAKEFULNESS_AWAKE, 0); in testGetDesiredScreenPolicy_WithVR()105 mService.setWakefulnessLocked(WAKEFULNESS_AWAKE, 0); in testGetDesiredScreenPolicy_WithVR()
54 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceNotInteractiveAOD()62 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive()70 when(mStatusBar.getWakefulnessState()).thenReturn(WakefulnessLifecycle.WAKEFULNESS_AWAKE); in testVolumeChangeW_deviceInteractive_StartedSleeping()
72 assertEquals(WakefulnessLifecycle.WAKEFULNESS_AWAKE, mWakefulness.getWakefulness()); in dispatchFinishedWakingUp()
61 WAKEFULNESS_AWAKE = 1; enumerator
20 import static android.os.PowerManagerInternal.WAKEFULNESS_AWAKE;675 mWakefulness = WAKEFULNESS_AWAKE; in PowerManagerService()1343 if (eventTime < mLastSleepTime || mWakefulness == WAKEFULNESS_AWAKE in wakeUpNoUpdateLocked()1368 setWakefulnessLocked(WAKEFULNESS_AWAKE, 0); in wakeUpNoUpdateLocked()1477 if (eventTime < mLastWakeTime || mWakefulness != WAKEFULNESS_AWAKE in napNoUpdateLocked()1568 if (mWakefulness == WAKEFULNESS_AWAKE) { in finishWakefulnessChangeIfNeededLocked()1839 if (mWakefulness == WAKEFULNESS_AWAKE) { in adjustWakeLockSummaryLocked()1949 if (mWakefulness == WAKEFULNESS_AWAKE in updateUserActivitySummaryLocked()2115 if (mWakefulness == WAKEFULNESS_AWAKE && isItBedTimeYetLocked()) { in updateWakefulnessLocked()
25 import static com.android.systemui.keyguard.WakefulnessLifecycle.WAKEFULNESS_AWAKE;4902 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in setAnimateWakeup()
1548 private int mWakefulness = PowerManagerInternal.WAKEFULNESS_AWAKE;13265 reportGlobalUsageEventLocked(mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE in reportCurWakefulnessUsageEventLocked()13278 boolean wasAwake = mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()13279 boolean isAwake = wakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE; in onWakefulnessChanged()23101 if (mWakefulness == PowerManagerInternal.WAKEFULNESS_AWAKE) { in computeOomAdjLocked()23671 == PowerManagerInternal.WAKEFULNESS_AWAKE && in computeOomAdjLocked()23990 mWakefulness != PowerManagerInternal.WAKEFULNESS_AWAKE) { in computeOomAdjLocked()