Searched refs:shouldControlScreenOff (Results 1 – 9 of 9) sorted by relevance
76 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testAnimates_whenSupported()92 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testDoesNotAnimate_whenNotSupported()
159 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in test_holdsWakeLockWhenGoingToLowPowerDelayed()176 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in test_releasesWakeLock_abortingLowPowerDelayed()
159 return shouldControlScreenOff() ? DozeScreenState.ENTER_DOZE_HIDE_WALLPAPER_DELAY in getWallpaperAodDuration()190 public boolean shouldControlScreenOff() { in shouldControlScreenOff() method in DozeParameters
117 mAnimateChange = mDozeParameters.shouldControlScreenOff(); in prepare()
75 animated = mDozeParameters.shouldControlScreenOff(); in transitionTo()
94 && mParameters.shouldControlScreenOff(); in transitionTo()
96 return parameters.shouldControlScreenOff() ? Display.STATE_ON in screenState()
574 when(mDozeParamenters.shouldControlScreenOff()).thenReturn(false); in testAnimatesTransitionToAod()580 when(mDozeParamenters.shouldControlScreenOff()).thenReturn(true); in testAnimatesTransitionToAod()
4017 if (mAmbientState.isFullyDark() && dozeParameters.shouldControlScreenOff()) {