Home
last modified time | relevance | path

Searched refs:mNotifierMock (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java174 @Mock private Notifier mNotifierMock; field in PowerManagerServiceTest
280 return mNotifierMock; in createService()
569 verify(mNotifierMock).showDismissibleKeyguard(); in testWakefulnessAwakeShowKeyguard_SoftSleepFlag_NoWakelocks()
1065 }).when(mNotifierMock).onWakeLockAcquired(anyInt(), anyString(), anyString(), anyInt(), in testForceSuspend_wakeLocksDisabled()
1070 }).when(mNotifierMock).onWakeLockReleased(anyInt(), anyString(), anyString(), anyInt(), in testForceSuspend_wakeLocksDisabled()
1736 verify(mNotifierMock, never()).onGlobalWakefulnessChangeStarted(anyInt(), anyInt(), in testBoot_ShouldBeAwake()
1756 verify(mNotifierMock).onGlobalWakefulnessChangeStarted(eq(WAKEFULNESS_ASLEEP), anyInt(), in testQuiescentBoot_ShouldBeAsleep()
2307 verify(mNotifierMock).onGroupWakefulnessChangeStarted(eq(Display.DEFAULT_DISPLAY_GROUP), in testMultiDisplay_onlyOneDisplaySleeps_onWakefulnessChangedEventsFire()
2309 verify(mNotifierMock).onGlobalWakefulnessChangeStarted(eq(WAKEFULNESS_ASLEEP), in testMultiDisplay_onlyOneDisplaySleeps_onWakefulnessChangedEventsFire()
2344 verify(mNotifierMock).onGroupWakefulnessChangeStarted(eq(nonDefaultDisplayGroupId), in testMultiDisplay_bothDisplaysSleep_onWakefulnessChangedEventsFireCorrectly()
[all …]
DNotifierTest.java76 @Mock private Notifier mNotifierMock; field in NotifierTest
286 return mNotifierMock;