Home
last modified time | relevance | path

Searched refs:getWakefulness (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWakefulnessLifecycleTest.java67 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/
DWakefulnessLifecycle.java106 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/
DVolumeDialogControllerImplTest.java145 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/
DCentralSurfacesCommandQueueCallbacks.java519 return mWakefulnessLifecycle.getWakefulness() in isGoingToSleep()
524 return mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in isWakingUpOrAwake()
525 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING; in isWakingUpOrAwake()
DDozeServiceHost.java386 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in setAnimateWakeup()
387 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING) { in setAnimateWakeup()
DCentralSurfacesImpl.java2715 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/
DDozeScreenBrightnessTest.java525 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/
DDozeScreenBrightness.java286 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_GOING_TO_SLEEP) in clampToDimBrightnessForScreenOff()
DDozeMachine.java429 @Wakefulness int wakefulness = mWakefulnessLifecycle.getWakefulness(); in resolveIntermediateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DVisualStabilityCoordinator.java130 mSleepy = mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP; in attach()
/frameworks/base/packages/SystemUI/src/com/android/systemui/theme/
DThemeOverlayController.java207 : mWakefulnessLifecycle.getWakefulness() != WAKEFULNESS_ASLEEP;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayControllerTest.java153 when(mWakefulnessLifecycle.getWakefulness()).thenReturn(WAKEFULNESS_AWAKE); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogControllerImpl.java505 int wakefulness = mWakefulnessLifecycle.getWakefulness(); in shouldShowUI()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java2418 float factor = ShadeViewController.getFalsingThresholdFactor(getWakefulness()); in getFalsingThreshold()
2422 private WakefulnessModel getWakefulness() { in getWakefulness() method in NotificationPanelViewController
3860 /* screenOnFromTouch=*/ getWakefulness().isAwakeFromTapOrGesture());