/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | WakefulnessLifecycleTest.java | 67 assertEquals(WakefulnessLifecycle.WAKEFULNESS_AWAKE, mWakefulness.getWakefulness()); in baseState() 76 assertEquals(WakefulnessLifecycle.WAKEFULNESS_WAKING, mWakefulness.getWakefulness()); in dispatchStartedWakingUp() 86 assertEquals(WakefulnessLifecycle.WAKEFULNESS_AWAKE, mWakefulness.getWakefulness()); in dispatchFinishedWakingUp() 99 mWakefulness.getWakefulness()); in dispatchStartedGoingToSleep() 112 mWakefulness.getWakefulness()); in dispatchFinishedGoingToSleep()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | WakefulnessLifecycle.java | 106 public @Wakefulness int getWakefulness() { in getWakefulness() method in WakefulnessLifecycle 134 if (getWakefulness() == WAKEFULNESS_WAKING) { in dispatchStartedWakingUp() 155 if (getWakefulness() == WAKEFULNESS_AWAKE) { in dispatchFinishedWakingUp() 164 if (getWakefulness() == WAKEFULNESS_GOING_TO_SLEEP) { in dispatchStartedGoingToSleep() 184 if (getWakefulness() == WAKEFULNESS_ASLEEP) { in dispatchFinishedGoingToSleep()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImplTest.java | 145 when(mWakefullnessLifcycle.getWakefulness()).thenReturn( in testVolumeChangeW_deviceNotInteractiveAOD() 155 when(mWakefullnessLifcycle.getWakefulness()).thenReturn( in testVolumeChangeW_deviceInteractive() 165 when(mWakefullnessLifcycle.getWakefulness()).thenReturn( in testVolumeChangeW_deviceInteractive_StartedSleeping() 169 when(mWakefullnessLifcycle.getWakefulness()).thenReturn( in testVolumeChangeW_deviceInteractive_StartedSleeping() 179 when(mWakefullnessLifcycle.getWakefulness()).thenReturn( in testVolumeChangeW_deviceOutFromBLEHeadset_doStateChanged() 193 when(mWakefullnessLifcycle.getWakefulness()).thenReturn( in testVolumeChangeW_deviceOutFromA2DP_doStateChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesCommandQueueCallbacks.java | 519 return mWakefulnessLifecycle.getWakefulness() in isGoingToSleep() 524 return mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in isWakingUpOrAwake() 525 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING; in isWakingUpOrAwake()
|
D | DozeServiceHost.java | 386 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in setAnimateWakeup() 387 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING) { in setAnimateWakeup()
|
D | CentralSurfacesImpl.java | 2715 return mWakefulnessLifecycle.getWakefulness() in isGoingToSleep() 2720 return mWakefulnessLifecycle.getWakefulness() == WakefulnessLifecycle.WAKEFULNESS_WAKING in isWakingOrAwake() 2721 || mWakefulnessLifecycle.getWakefulness() == WakefulnessLifecycle.WAKEFULNESS_AWAKE; in isWakingOrAwake()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenBrightnessTest.java | 525 when(mWakefulnessLifecycle.getWakefulness()).thenReturn( in transitionToDoze_noClampBrightness_afterTimeout_clampsToDim() 538 when(mWakefulnessLifecycle.getWakefulness()).thenReturn( in transitionToDoze_noClampBrigthness_notAfterTimeout_doesNotClampToDim()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 286 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_GOING_TO_SLEEP) in clampToDimBrightnessForScreenOff()
|
D | DozeMachine.java | 429 @Wakefulness int wakefulness = mWakefulnessLifecycle.getWakefulness(); in resolveIntermediateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | VisualStabilityCoordinator.java | 130 mSleepy = mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP; in attach()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/ |
D | ThemeOverlayController.java | 207 : mWakefulnessLifecycle.getWakefulness() != WAKEFULNESS_ASLEEP;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayControllerTest.java | 153 when(mWakefulnessLifecycle.getWakefulness()).thenReturn(WAKEFULNESS_AWAKE); in setup()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogControllerImpl.java | 505 int wakefulness = mWakefulnessLifecycle.getWakefulness(); in shouldShowUI()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationPanelViewController.java | 2418 float factor = ShadeViewController.getFalsingThresholdFactor(getWakefulness()); in getFalsingThreshold() 2422 private WakefulnessModel getWakefulness() { in getWakefulness() method in NotificationPanelViewController 3860 /* screenOnFromTouch=*/ getWakefulness().isAwakeFromTapOrGesture());
|