Home
last modified time | relevance | path

Searched refs:mWakefulnessLifecycle (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DKeyguardLifecyclesDispatcher.java42 private final WakefulnessLifecycle mWakefulnessLifecycle; field in KeyguardLifecyclesDispatcher
48 mWakefulnessLifecycle = wakefulnessLifecycle; in KeyguardLifecyclesDispatcher()
72 mWakefulnessLifecycle.dispatchStartedWakingUp();
75 mWakefulnessLifecycle.dispatchFinishedWakingUp();
78 mWakefulnessLifecycle.dispatchStartedGoingToSleep();
81 mWakefulnessLifecycle.dispatchFinishedGoingToSleep();
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehavior.java77 private final Lazy<WakefulnessLifecycle> mWakefulnessLifecycle; field in AssistHandleLikeHomeBehavior
92 mWakefulnessLifecycle = wakefulnessLifecycle; in AssistHandleLikeHomeBehavior()
101 mIsAwake = mWakefulnessLifecycle.get().getWakefulness() in onModeActivated()
103 mWakefulnessLifecycle.get().addObserver(mWakefulnessLifecycleObserver); in onModeActivated()
112 mWakefulnessLifecycle.get().removeObserver(mWakefulnessLifecycleObserver); in onModeDeactivated()
DAssistHandleReminderExpBehavior.java172 private final Lazy<WakefulnessLifecycle> mWakefulnessLifecycle; field in AssistHandleReminderExpBehavior
218 mWakefulnessLifecycle = wakefulnessLifecycle; in AssistHandleReminderExpBehavior()
246 mIsAwake = mWakefulnessLifecycle.get().getWakefulness() in onModeActivated()
248 mWakefulnessLifecycle.get().addObserver(mWakefulnessLifecycleObserver); in onModeActivated()
276 mWakefulnessLifecycle.get().removeObserver(mWakefulnessLifecycleObserver); in onModeDeactivated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeFactory.java53 private final WakefulnessLifecycle mWakefulnessLifecycle; field in DozeFactory
81 mWakefulnessLifecycle = wakefulnessLifecycle; in DozeFactory()
107 mWakefulnessLifecycle, mBatteryController, mDozeLog, mDockManager, in assembleMachine()
DDozeMachine.java138 private final WakefulnessLifecycle mWakefulnessLifecycle; field in DozeMachine
154 mWakefulnessLifecycle = wakefulnessLifecycle; in DozeMachine()
382 @Wakefulness int wakefulness = mWakefulnessLifecycle.getWakefulness(); in resolveIntermediateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DDozeServiceHost.java73 private WakefulnessLifecycle mWakefulnessLifecycle; field in DozeServiceHost
116 mWakefulnessLifecycle = wakefulnessLifecycle; in DozeServiceHost()
351 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in setAnimateWakeup()
352 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING) { in setAnimateWakeup()
DStatusBar.java598 private final WakefulnessLifecycle mWakefulnessLifecycle; field in StatusBar
760 mWakefulnessLifecycle = wakefulnessLifecycle; in StatusBar()
816 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in start()
2820 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP in dismissKeyguardThenExecute()
3825 return mWakefulnessLifecycle.getWakefulness(); in getWakefulnessState()
3936 return mWakefulnessLifecycle.getWakefulness() in isGoingToSleep()
3941 return mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in isWakingUpOrAwake()
3942 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING; in isWakingUpOrAwake()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthContainerView.java97 @VisibleForTesting final WakefulnessLifecycle mWakefulnessLifecycle; field in AuthContainerView
264 mWakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in AuthContainerView()
396 mWakefulnessLifecycle.addObserver(this); in onAttachedToWindowInternal()
453 mWakefulnessLifecycle.removeObserver(this); in onDetachedFromWindow()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java77 private WakefulnessLifecycle mWakefulnessLifecycle; field in CarrierTextController
175 mWakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in CarrierTextController()
256 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in handleSetListening()
268 mWakefulnessLifecycle.removeObserver(mWakefulnessObserver); in handleSetListening()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java68 private WakefulnessLifecycle mWakefulnessLifecycle; field in DozeMachineTest
90 mWakefulnessLifecycle, mock(BatteryController.class), mDozeLog, mDockManager, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java247 @Inject Lazy<WakefulnessLifecycle> mWakefulnessLifecycle; field in Dependency
413 mProviders.put(WakefulnessLifecycle.class, mWakefulnessLifecycle::get); in start()