Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java67 private DozeServiceHost mDozeServiceHost; field in DozeServiceHostTest
96 mDozeServiceHost = new DozeServiceHost(mDozeLog, mPowerManager, mWakefullnessLifecycle, in setup()
104 mDozeServiceHost.initialize( in setup()
117 assertFalse(mDozeServiceHost.getDozingRequested()); in testStartStopDozing()
119 mDozeServiceHost.startDozing(); in testStartStopDozing()
123 mDozeServiceHost.stopDozing(); in testStartStopDozing()
141 mDozeServiceHost.pulseWhileDozing(new DozeHost.PulseCallback() { in testPulseWhileDozing_updatesScrimController()
191 mDozeServiceHost.mWakeLockScreenPerformsAuth = true; in testPulseWhileDozing_notifyAuthInterrupt()
194 mDozeServiceHost.pulseWhileDozing(mock(DozeHost.PulseCallback.class), i); in testPulseWhileDozing_notifyAuthInterrupt()
DStatusBarTest.java241 @Mock private DozeServiceHost mDozeServiceHost; field in StatusBarTest
414 mDozeServiceHost, in setup()
830 when(mDozeServiceHost.isPulsing()).thenReturn(true); in testPulseWhileDozing_updatesScrimController()
835 when(mDozeServiceHost.isPulsing()).thenReturn(false); in testPulseWhileDozing_updatesScrimController()
871 when(mDozeServiceHost.getDozingRequested()).thenReturn(true); in testOnStartedWakingUp_isNotDozing()
878 verify(mDozeServiceHost).stopDozing(); in testOnStartedWakingUp_isNotDozing()
886 when(mDozeServiceHost.getDozingRequested()).thenReturn(true); in testOnStartedWakingUp_doesNotDismissBouncer_whenPulsing()
908 verify(mDozeServiceHost).setDozeSuppressed(true); in testSuppressAmbientDisplay_suppress()
914 verify(mDozeServiceHost).setDozeSuppressed(false); in testSuppressAmbientDisplay_unsuppress()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java400 DozeServiceHost mDozeServiceHost; field in StatusBar
859 mDozeServiceHost = dozeServiceHost; in StatusBar()
1041 mDozeServiceHost.initialize( in start()
1422 if (mDozeServiceHost != null) { in onPowerSaveChanged()
1423 mDozeServiceHost.firePowerSaveChanged(isPowerSave); in onPowerSaveChanged()
1973 mDozeServiceHost.fireNotificationPulse(entry); in onHeadsUpStateChanged()
1974 if (mDozeServiceHost.isPulsing()) { in onHeadsUpStateChanged()
2009 return mDozeServiceHost.isPulsing(); in isPulsing()
3131 && mDozeServiceHost.isPulsing()) {
3484 boolean keyguardForDozing = mDozeServiceHost.getDozingRequested()
[all …]