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.java38 private final WakefulnessLifecycle mWakefulnessLifecycle; field in KeyguardLifecyclesDispatcher
43 mWakefulnessLifecycle = wakefulnessLifecycle; in KeyguardLifecyclesDispatcher()
67 mWakefulnessLifecycle.dispatchStartedWakingUp();
70 mWakefulnessLifecycle.dispatchFinishedWakingUp();
73 mWakefulnessLifecycle.dispatchStartedGoingToSleep();
76 mWakefulnessLifecycle.dispatchFinishedGoingToSleep();
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistHandleLikeHomeBehavior.java81 private final Lazy<WakefulnessLifecycle> mWakefulnessLifecycle; field in AssistHandleLikeHomeBehavior
96 mWakefulnessLifecycle = wakefulnessLifecycle; in AssistHandleLikeHomeBehavior()
105 mIsAwake = mWakefulnessLifecycle.get().getWakefulness() in onModeActivated()
107 mWakefulnessLifecycle.get().addObserver(mWakefulnessLifecycleObserver); in onModeActivated()
116 mWakefulnessLifecycle.get().removeObserver(mWakefulnessLifecycleObserver); in onModeDeactivated()
DAssistHandleReminderExpBehavior.java163 private final Lazy<WakefulnessLifecycle> mWakefulnessLifecycle; field in AssistHandleReminderExpBehavior
203 mWakefulnessLifecycle = wakefulnessLifecycle; in AssistHandleReminderExpBehavior()
226 mIsAwake = mWakefulnessLifecycle.get().getWakefulness() in onModeActivated()
228 mWakefulnessLifecycle.get().addObserver(mWakefulnessLifecycleObserver); in onModeActivated()
254 mWakefulnessLifecycle.get().removeObserver(mWakefulnessLifecycleObserver); in onModeDeactivated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java124 private final WakefulnessLifecycle mWakefulnessLifecycle; field in DozeMachine
138 mWakefulnessLifecycle = wakefulnessLifecycle; in DozeMachine()
349 @Wakefulness int wakefulness = mWakefulnessLifecycle.getWakefulness(); in resolveIntermediateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricDialogImpl.java63 private WakefulnessLifecycle mWakefulnessLifecycle; field in BiometricDialogImpl
157 mWakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in start()
158 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in start()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java69 private WakefulnessLifecycle mWakefulnessLifecycle; field in CarrierTextController
165 mWakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in CarrierTextController()
229 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in setListening()
241 mWakefulnessLifecycle.removeObserver(mWakefulnessObserver); in setListening()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java66 private WakefulnessLifecycle mWakefulnessLifecycle; field in DozeMachineTest
81 mWakefulnessLifecycle, mock(BatteryController.class)); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java572 protected WakefulnessLifecycle mWakefulnessLifecycle; field in StatusBar
639 if (mWakefulnessLifecycle != null && mWakefulnessObserver != null) { in start()
640 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in start()
1105 mWakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in getDependencies()
2728 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_ASLEEP in dismissKeyguardThenExecute()
3826 return mWakefulnessLifecycle.getWakefulness(); in getWakefulnessState()
3945 return mWakefulnessLifecycle.getWakefulness() in isGoingToSleep()
3950 return mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in isWakingUpOrAwake()
3951 || mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_WAKING; in isWakingUpOrAwake()
4203 if (mWakefulnessLifecycle.getWakefulness() == WAKEFULNESS_AWAKE in setAnimateWakeup()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java228 @Inject Lazy<WakefulnessLifecycle> mWakefulnessLifecycle; field in Dependency
391 mProviders.put(WakefulnessLifecycle.class, mWakefulnessLifecycle::get); in start()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java801 mWakefulnessLifecycle = createAwakeWakefulnessLifecycle(); in TestableStatusBar()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DCarStatusBar.java411 mWakefulnessLifecycle = Dependency.get(WakefulnessLifecycle.class); in getDependencies()