Home
last modified time | relevance | path

Searched refs:mDozeServiceHost (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java74 private DozeServiceHost mDozeServiceHost; field in DozeServiceHostTest
104 mDozeServiceHost = new DozeServiceHost(mDozeLog, mPowerManager, mWakefullnessLifecycle, in setup()
112 mDozeServiceHost.initialize( in setup()
122 mDozeServiceHost.addCallback(mCallback); in testStartStopDozing()
126 assertFalse(mDozeServiceHost.getDozingRequested()); in testStartStopDozing()
128 mDozeServiceHost.startDozing(); in testStartStopDozing()
133 mDozeServiceHost.stopDozing(); in testStartStopDozing()
144 mDozeServiceHost.pulseWhileDozing(new DozeHost.PulseCallback() { in testPulseWhileDozing_updatesScrimController()
195 mDozeServiceHost.mWakeLockScreenPerformsAuth = true; in testPulseWhileDozing_notifyAuthInterrupt()
198 mDozeServiceHost.pulseWhileDozing(mock(DozeHost.PulseCallback.class), i); in testPulseWhileDozing_notifyAuthInterrupt()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesCommandQueueCallbacksTest.java96 @Mock private DozeServiceHost mDozeServiceHost; field in CentralSurfacesCommandQueueCallbacksTest
133 mDozeServiceHost, in setup()
186 verify(mDozeServiceHost).setAlwaysOnSuppressed(true); in testSuppressAmbientDisplay_suppress()
192 verify(mDozeServiceHost).setAlwaysOnSuppressed(false); in testSuppressAmbientDisplay_unsuppress()
DCentralSurfacesImplTest.java301 @Mock private DozeServiceHost mDozeServiceHost; field in CentralSurfacesImplTest
555 mDozeServiceHost, in createCentralSurfaces()
824 when(mDozeServiceHost.isPulsing()).thenReturn(true); in testPulseWhileDozing_updatesScrimController()
829 when(mDozeServiceHost.isPulsing()).thenReturn(false); in testPulseWhileDozing_updatesScrimController()
982 when(mDozeServiceHost.getDozingRequested()).thenReturn(true); in testOnStartedWakingUp_isNotDozing()
989 verify(mDozeServiceHost, never()).stopDozing(); in testOnStartedWakingUp_isNotDozing()
992 verify(mDozeServiceHost).stopDozing(); in testOnStartedWakingUp_isNotDozing()
999 when(mDozeServiceHost.getDozingRequested()).thenReturn(true); in testOnStartedWakingUp_doesNotDismissBouncer_whenPulsing()
1007 verify(mDozeServiceHost).stopDozing(); in testOnStartedWakingUp_doesNotDismissBouncer_whenPulsing()
1130 when(mDozeServiceHost.shouldAnimateWakeup()).thenReturn(true); in fingerprintManagerNull_noNPE()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java383 DozeServiceHost mDozeServiceHost; field in CentralSurfacesImpl
769 mDozeServiceHost = dozeServiceHost; in CentralSurfacesImpl()
989 mDozeServiceHost.initialize( in start()
2034 boolean keyguardForDozing = mDozeServiceHost.getDozingRequested() in updateIsKeyguard()
2543 !mDozeServiceHost.isPulsing()
2590 mDozeServiceHost.stopDozing();
2651 boolean disabled = (!mDeviceInteractive && !mDozeServiceHost.isPulsing()) in updateNotificationPanelTouchState()
2655 !mDozeServiceHost.isPulsing()); in updateNotificationPanelTouchState()
2726 mDozeServiceHost.updateDozing(); in notifyBiometricAuthModeChanged()
2809 } else if (mDozeServiceHost.isPulsing()) { in updateScrimController()
[all …]
DCentralSurfacesCommandQueueCallbacks.java99 private final DozeServiceHost mDozeServiceHost; field in CentralSurfacesCommandQueueCallbacks
170 mDozeServiceHost = dozeServiceHost; in CentralSurfacesCommandQueueCallbacks()
497 mDozeServiceHost.setAlwaysOnSuppressed(suppressed); in suppressAmbientDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationShadeWindowViewController.java133 private final DozeServiceHost mDozeServiceHost; field in NotificationShadeWindowViewController
212 mDozeServiceHost = dozeServiceHost; in NotificationShadeWindowViewController()
467 && !mDozeServiceHost.isPulsing() in setupExpandedStatusBar()
558 handled = !mDozeServiceHost.isPulsing(); in setupExpandedStatusBar()