Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DWakefulnessLifecycleTest.java47 private WakefulnessLifecycle.Observer mWakefulnessObserver; field in WakefulnessLifecycleTest
61 mWakefulnessObserver = mock(WakefulnessLifecycle.Observer.class); in setUp()
62 mWakefulness.addObserver(mWakefulnessObserver); in setUp()
69 verifyNoMoreInteractions(mWakefulnessObserver); in baseState()
78 verify(mWakefulnessObserver).onStartedWakingUp(); in dispatchStartedWakingUp()
88 verify(mWakefulnessObserver).onFinishedWakingUp(); in dispatchFinishedWakingUp()
89 verify(mWakefulnessObserver).onPostFinishedWakingUp(); in dispatchFinishedWakingUp()
101 verify(mWakefulnessObserver).onStartedGoingToSleep(); in dispatchStartedGoingToSleep()
114 verify(mWakefulnessObserver).onFinishedGoingToSleep(); in dispatchFinishedGoingToSleep()
130 verify(mWakefulnessObserver, times(1)).onStartedWakingUp(); in doesNotDispatchTwice()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DVisualStabilityCoordinatorTest.java90 private WakefulnessLifecycle.Observer mWakefulnessObserver; field in VisualStabilityCoordinatorTest
115 mWakefulnessObserver = mWakefulnessObserverCaptor.getValue(); in setUp()
566 mWakefulnessObserver.onFinishedGoingToSleep(); in setSleepy()
568 mWakefulnessObserver.onStartedWakingUp(); in setSleepy()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
H A DWMShell.java165 private WakefulnessLifecycle.Observer mWakefulnessObserver; field in WMShell
295 mWakefulnessObserver = in initOneHanded()
311 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in initOneHanded()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DVisualStabilityCoordinator.java115 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in attach()
284 final WakefulnessLifecycle.Observer mWakefulnessObserver = new WakefulnessLifecycle.Observer() { field in VisualStabilityCoordinator
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DCarrierTextManager.java89 private final WakefulnessLifecycle.Observer mWakefulnessObserver = field in CarrierTextManager
279 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in handleSetListening()
291 mWakefulnessLifecycle.removeObserver(mWakefulnessObserver); in handleSetListening()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java116 private final WakefulnessLifecycle.Observer mWakefulnessObserver = field in PowerUI
172 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in start()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DBiometricsUnlockControllerTest.java427 mBiometricUnlockController.mWakefulnessObserver.onFinishedGoingToSleep(); in onFinishedGoingToSleep_authenticatesWhenPending()
435 mBiometricUnlockController.mWakefulnessObserver.onFinishedGoingToSleep(); in onFinishedGoingToSleep_authenticatesWhenPending()
H A DCentralSurfacesImplTest.java1117 mCentralSurfaces.mWakefulnessObserver.onStartedWakingUp(); in testOnStartedWakingUp_isNotDozing()
1120 mCentralSurfaces.mWakefulnessObserver.onFinishedWakingUp(); in testOnStartedWakingUp_isNotDozing()
1133 mCentralSurfaces.mWakefulnessObserver.onStartedWakingUp(); in testOnStartedWakingUp_doesNotDismissBouncer_whenPulsing()
1135 mCentralSurfaces.mWakefulnessObserver.onFinishedWakingUp(); in testOnStartedWakingUp_doesNotDismissBouncer_whenPulsing()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DBiometricUnlockController.java299 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in BiometricUnlockController()
832 final WakefulnessLifecycle.Observer mWakefulnessObserver = field in BiometricUnlockController
H A DCentralSurfacesImpl.java946 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in start()
2797 final WakefulnessLifecycle.Observer mWakefulnessObserver = new WakefulnessLifecycle.Observer() {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A DNavigationBar.java478 private final WakefulnessLifecycle.Observer mWakefulnessObserver = field in NavigationBar
784 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in onViewAttached()
831 mWakefulnessLifecycle.removeObserver(mWakefulnessObserver); in onViewDetached()