Searched refs:prepareForGentleSleep (Results 1 – 6 of 6) sorted by relevance
207 doAnswer(invocation -> null).when(mDozeHost).prepareForGentleSleep(captor.capture()); in test_animatesPausing()215 verify(mDozeHost).prepareForGentleSleep(eq(captor.getValue())); in test_animatesPausing()223 doAnswer(invocation -> null).when(mDozeHost).prepareForGentleSleep(captor.capture()); in test_animatesOff()231 verify(mDozeHost).prepareForGentleSleep(eq(captor.getValue())); in test_animatesOff()
84 }).when(mDozeHost).prepareForGentleSleep(any()); in setUp()
69 void prepareForGentleSleep(Runnable onDisplayOffCallback); in prepareForGentleSleep() method
128 mDozeHost.prepareForGentleSleep(() -> applyScreenState(screenState)); in transitionTo()
107 public void prepareForGentleSleep(Runnable onDisplayOffCallback) { in prepareForGentleSleep() method in DozeServiceHost
402 public void prepareForGentleSleep(Runnable onDisplayOffCallback) { in prepareForGentleSleep() method in DozeServiceHost