Home
last modified time | relevance | path

Searched refs:DOZE_PULSING (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeMachineTest.java22 import static com.android.systemui.doze.DozeMachine.State.DOZE_PULSING;
111 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToDoze()
124 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToAoD()
170 mMachine.requestState(DOZE_PULSING); in testWakeLock_heldInPulseStates()
191 mMachine.requestState(DOZE_PULSING); in testWakeLock_releasedAfterPulse()
203 mMachine.requestState(DOZE_PULSING); in testPulseDuringPulse_doesntCrash()
222 mMachine.requestState(DOZE_PULSING); in testTransitions_canRequestTransitions()
228 assertEquals(DOZE_PULSING, mMachine.getState()); in testTransitions_canRequestTransitions()
247 || newState == DOZE_PULSING in testPulseReason_getFromTransition()
258 mMachine.requestState(DOZE_PULSING); in testPulseReason_getFromTransition()
DDozeScreenBrightnessTest.java24 import static com.android.systemui.doze.DozeMachine.State.DOZE_PULSING;
134 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testDozingAfterPulsing_pausesLightSensor()
135 mScreen.transitionTo(DOZE_PULSING, DOZE_PULSE_DONE); in testDozingAfterPulsing_pausesLightSensor()
DDozeScreenStateTest.java21 import static com.android.systemui.doze.DozeMachine.State.DOZE_PULSING;
81 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java58 DOZE_PULSING, enumConstant
83 case DOZE_PULSING: in staysAwake()
98 case DOZE_PULSING: in screenState()
199 || mState == State.DOZE_PULSING in getPulseReason()
276 case DOZE_PULSING: in validateTransition()
281 mState == State.DOZE_REQUEST_PULSE || mState == State.DOZE_PULSING); in validateTransition()
DDozeUi.java63 mMachine.requestState(DozeMachine.State.DOZE_PULSING); in pulseWhileDozing()
101 case DOZE_PULSING: in updateAnimateWakeup()
DDozeTriggers.java166 if (state == DozeMachine.State.DOZE_PULSING) {
201 case DOZE_PULSING: