Home
last modified time | relevance | path

Searched refs:DOZE_REQUEST_PULSE (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java75 DOZE_REQUEST_PULSE, enumConstant
106 case DOZE_REQUEST_PULSE: in staysAwake()
126 case DOZE_REQUEST_PULSE: in screenState()
213 Preconditions.checkArgument(requestedState != State.DOZE_REQUEST_PULSE); in requestState()
223 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
285 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE in getPulseReason()
329 if (newState == State.DOZE_REQUEST_PULSE) { in updatePulseReason()
364 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE); in validateTransition()
368 mState == State.DOZE_REQUEST_PULSE || mState == State.DOZE_PULSING in validateTransition()
406 if (requestedState == State.DOZE_REQUEST_PULSE && !mState.canPulse()) { in transitionPolicy()
DDozeUi.java146 case DOZE_REQUEST_PULSE: in transitionTo()
163 case DOZE_REQUEST_PULSE: in updateAnimateWakeup()
DDozeWallpaperState.java67 case DOZE_REQUEST_PULSE: in transitionTo()
DDozeDockHandler.java124 return state == State.DOZE_REQUEST_PULSE || state == State.DOZE_PULSING in isPulsing()
DDozeScreenBrightness.java149 case DOZE_REQUEST_PULSE: in transitionTo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenStateTest.java26 import static com.android.systemui.doze.DozeMachine.State.DOZE_REQUEST_PULSE;
130 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_onInPulse()
131 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
141 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithoutAoD()
151 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithAoD()
293 mScreen.transitionTo(DOZE_AOD, DOZE_REQUEST_PULSE); in testDelayExitPulsingScreenState_whenUdfpsFingerDown()
294 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testDelayExitPulsingScreenState_whenUdfpsFingerDown()
DDozeWallpaperStateTest.java125 DozeMachine.State.DOZE_REQUEST_PULSE); in testTransitionTo_requestPulseIsAmbientMode()
132 DozeMachine.State.DOZE_REQUEST_PULSE); in testTransitionTo_wakeFromPulseIsNotAmbientMode()
135 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_REQUEST_PULSE, in testTransitionTo_wakeFromPulseIsNotAmbientMode()
142 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_REQUEST_PULSE, in testTransitionTo_animatesWhenWakingUpFromPulse()
DDozeMachineTest.java28 import static com.android.systemui.doze.DozeMachine.State.DOZE_REQUEST_PULSE;
437 }).when(mPartMock).transitionTo(any(), eq(DOZE_REQUEST_PULSE)); in testTransitions_canRequestTransitions()
459 if (newState == DOZE_REQUEST_PULSE in testPulseReason_getFromTransition()
487 assertEquals(Display.STATE_OFF, DOZE_REQUEST_PULSE.screenState(dozeParameters)); in testDozePulsing_displayRequiresBlanking_screenState()
495 assertEquals(Display.STATE_ON, DOZE_REQUEST_PULSE.screenState(dozeParameters)); in testDozePulsing_displayDoesNotRequireBlanking_screenState()
DDozeScreenBrightnessTest.java26 import static com.android.systemui.doze.DozeMachine.State.DOZE_REQUEST_PULSE;
266 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testPulsing_withoutLightSensor_setsAoDDimmingScrimTransparent()
275 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreenOffAfterPulsing_pausesLightSensor()
276 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreenOffAfterPulsing_pausesLightSensor()
DDozeTriggersTest.java277 DozeMachine.State.DOZE_REQUEST_PULSE); in testTransitionTo_disablesAndEnablesTouchSensors()
278 mTriggers.transitionTo(DozeMachine.State.DOZE_REQUEST_PULSE, in testTransitionTo_disablesAndEnablesTouchSensors()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DDozeStateModel.kt31 DOZE_REQUEST_PULSE,
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt700 DozeMachine.State.DOZE_REQUEST_PULSE -> DozeStateModel.DOZE_REQUEST_PULSE in dozeMachineStateToModel()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt399 DozeMachine.State.DOZE_REQUEST_PULSE, in <lambda>()
426 DozeStateModel.DOZE_REQUEST_PULSE, in <lambda>()