Searched refs:mWakefulnessObserver (Results 1 – 3 of 3) sorted by relevance
42 private WakefulnessLifecycle.Observer mWakefulnessObserver; field in WakefulnessLifecycleTest47 mWakefulnessObserver = mock(WakefulnessLifecycle.Observer.class); in setUp()48 mWakefulness.addObserver(mWakefulnessObserver); in setUp()55 verifyNoMoreInteractions(mWakefulnessObserver); in baseState()64 verify(mWakefulnessObserver).onStartedWakingUp(); in dispatchStartedWakingUp()74 verify(mWakefulnessObserver).onFinishedWakingUp(); in dispatchFinishedWakingUp()86 verify(mWakefulnessObserver).onStartedGoingToSleep(); in dispatchStartedGoingToSleep()99 verify(mWakefulnessObserver).onFinishedGoingToSleep(); in dispatchFinishedGoingToSleep()113 verify(mWakefulnessObserver, times(1)).onStartedGoingToSleep(); in doesNotDispatchTwice()114 verify(mWakefulnessObserver, times(1)).onFinishedGoingToSleep(); in doesNotDispatchTwice()[all …]
124 Dependency.get(WakefulnessLifecycle.class).addObserver(mWakefulnessObserver); in FingerprintUnlockController()378 private final WakefulnessLifecycle.Observer mWakefulnessObserver = field in FingerprintUnlockController
638 mWakefulnessLifecycle.addObserver(mWakefulnessObserver); in start()4469 final WakefulnessLifecycle.Observer mWakefulnessObserver = new WakefulnessLifecycle.Observer() {