Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java59 DOZE_REQUEST_PULSE, enumConstant
87 case DOZE_REQUEST_PULSE: in staysAwake()
100 case DOZE_REQUEST_PULSE: in screenState()
153 Preconditions.checkArgument(requestedState != State.DOZE_REQUEST_PULSE); in requestState()
163 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
210 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE in getPulseReason()
253 if (newState == State.DOZE_REQUEST_PULSE) { in updatePulseReason()
290 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE); in validateTransition()
294 mState == State.DOZE_REQUEST_PULSE || mState == State.DOZE_PULSING in validateTransition()
315 if (requestedState == State.DOZE_REQUEST_PULSE && !mState.canPulse()) { in transitionPolicy()
DDozeUi.java135 case DOZE_REQUEST_PULSE: in transitionTo()
152 case DOZE_REQUEST_PULSE: in updateAnimateWakeup()
DDozeWallpaperState.java69 case DOZE_REQUEST_PULSE: in transitionTo()
DDozeDockHandler.java90 if (dozeState == State.DOZE_REQUEST_PULSE || dozeState == State.DOZE_PULSING in requestPulseOutNow()
DDozeScreenBrightness.java110 case DOZE_REQUEST_PULSE: in transitionTo()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenStateTest.java22 import static com.android.systemui.doze.DozeMachine.State.DOZE_REQUEST_PULSE;
95 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_onInPulse()
96 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
106 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithoutAoD()
116 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithAoD()
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()
DDozeScreenBrightnessTest.java25 import static com.android.systemui.doze.DozeMachine.State.DOZE_REQUEST_PULSE;
152 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testPulsing_usesLightSensor()
163 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testDozingAfterPulsing_pausesLightSensor()
164 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testDozingAfterPulsing_pausesLightSensor()
DDozeMachineTest.java23 import static com.android.systemui.doze.DozeMachine.State.DOZE_REQUEST_PULSE;
223 }).when(mPartMock).transitionTo(any(), eq(DOZE_REQUEST_PULSE)); in testTransitions_canRequestTransitions()
245 if (newState == DOZE_REQUEST_PULSE in testPulseReason_getFromTransition()