Searched refs:mDozeServiceHost (Results 1 – 6 of 6) sorted by relevance
74 private DozeServiceHost mDozeServiceHost; field in DozeServiceHostTest104 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 …]
96 @Mock private DozeServiceHost mDozeServiceHost; field in CentralSurfacesCommandQueueCallbacksTest133 mDozeServiceHost, in setup()186 verify(mDozeServiceHost).setAlwaysOnSuppressed(true); in testSuppressAmbientDisplay_suppress()192 verify(mDozeServiceHost).setAlwaysOnSuppressed(false); in testSuppressAmbientDisplay_unsuppress()
301 @Mock private DozeServiceHost mDozeServiceHost; field in CentralSurfacesImplTest555 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 …]
383 DozeServiceHost mDozeServiceHost; field in CentralSurfacesImpl769 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 …]
99 private final DozeServiceHost mDozeServiceHost; field in CentralSurfacesCommandQueueCallbacks170 mDozeServiceHost = dozeServiceHost; in CentralSurfacesCommandQueueCallbacks()497 mDozeServiceHost.setAlwaysOnSuppressed(suppressed); in suppressAmbientDisplay()
133 private final DozeServiceHost mDozeServiceHost; field in NotificationShadeWindowViewController212 mDozeServiceHost = dozeServiceHost; in NotificationShadeWindowViewController()467 && !mDozeServiceHost.isPulsing() in setupExpandedStatusBar()558 handled = !mDozeServiceHost.isPulsing(); in setupExpandedStatusBar()