Searched refs:shouldControlScreenOff (Results 1 – 10 of 10) sorted by relevance
80 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in testAnimates_whenSupported()98 when(mDozeParameters.shouldControlScreenOff()).thenReturn(false); in testDoesNotAnimate_whenNotSupported()
156 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in test_holdsWakeLockWhenGoingToLowPowerDelayed()173 when(mDozeParameters.shouldControlScreenOff()).thenReturn(true); in test_releasesWakeLock_abortingLowPowerDelayed()
161 if (shouldControlScreenOff()) { in getWallpaperAodDuration()194 public boolean shouldControlScreenOff() { in shouldControlScreenOff() method in DozeParameters
110 mAnimateChange = mDozeParameters.shouldControlScreenOff(); in prepare()
3423 && DozeParameters.getInstance(mContext).shouldControlScreenOff(); in onDozingChanged()3661 && !DozeParameters.getInstance(mContext).shouldControlScreenOff(); in updateNotificationPanelTouchState()
94 && mParameters.shouldControlScreenOff(); in transitionTo()
80 animated = mDozeParameters.shouldControlScreenOff(); in transitionTo()
101 return parameters.shouldControlScreenOff() ? Display.STATE_ON in screenState()
625 when(mDozeParamenters.shouldControlScreenOff()).thenReturn(false); in testAnimatesTransitionToAod()631 when(mDozeParamenters.shouldControlScreenOff()).thenReturn(true); in testAnimatesTransitionToAod()
4801 if (dozeParameters.shouldControlScreenOff()) {