Home
last modified time | relevance | path

Searched refs:DOZE_PULSING (Results 1 – 11 of 11) 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;
117 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToDoze()
130 mMachine.requestState(DOZE_PULSING); in testPulseDone_goesToAoD()
176 mMachine.requestState(DOZE_PULSING); in testWakeLock_heldInPulseStates()
197 mMachine.requestState(DOZE_PULSING); in testWakeLock_releasedAfterPulse()
209 mMachine.requestState(DOZE_PULSING); in testPulseDuringPulse_doesntCrash()
228 mMachine.requestState(DOZE_PULSING); in testTransitions_canRequestTransitions()
234 assertEquals(DOZE_PULSING, mMachine.getState()); in testTransitions_canRequestTransitions()
253 || newState == DOZE_PULSING in testPulseReason_getFromTransition()
264 mMachine.requestState(DOZE_PULSING); in testPulseReason_getFromTransition()
DDozeDockHandlerTest.java114 when(mMachine.getState()).thenReturn(State.DOZE_PULSING); in testOnEvent_dockedHideWhenPulsing_requestPulseOut()
125 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE_PULSING); in testOnEvent_undockedWhenPulsing_requestPulseOut()
207 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE_PULSING); in testTransitionToPulsing_whenDockedHide_requestPulseOut()
211 mDockHandler.transitionTo(DozeMachine.State.INITIALIZED, State.DOZE_PULSING); in testTransitionToPulsing_whenDockedHide_requestPulseOut()
DDozeScreenBrightnessTest.java24 import static com.android.systemui.doze.DozeMachine.State.DOZE_PULSING;
178 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testDozingAfterPulsing_pausesLightSensor()
179 mScreen.transitionTo(DOZE_PULSING, DOZE_PULSE_DONE); in testDozingAfterPulsing_pausesLightSensor()
DDozeTriggersTest.java120 DozeMachine.State.DOZE_PULSING); in testTransitionTo_disablesAndEnablesTouchSensors()
124 mTriggers.transitionTo(DozeMachine.State.DOZE_PULSING, DozeMachine.State.DOZE_PULSE_DONE); in testTransitionTo_disablesAndEnablesTouchSensors()
DDozeWallpaperStateTest.java143 DozeMachine.State.DOZE_PULSING); in testTransitionTo_animatesWhenWakingUpFromPulse()
145 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_PULSING, in testTransitionTo_animatesWhenWakingUpFromPulse()
DDozeScreenStateTest.java21 import static com.android.systemui.doze.DozeMachine.State.DOZE_PULSING;
96 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java64 DOZE_PULSING, enumConstant
91 case DOZE_PULSING: in staysAwake()
109 case DOZE_PULSING: in screenState()
219 || mState == State.DOZE_PULSING in getPulseReason()
297 case DOZE_PULSING: in validateTransition()
302 mState == State.DOZE_REQUEST_PULSE || mState == State.DOZE_PULSING in validateTransition()
DDozeWallpaperState.java73 case DOZE_PULSING: in transitionTo()
84 boolean wakingUpFromPulse = oldState == DozeMachine.State.DOZE_PULSING in transitionTo()
DDozeUi.java102 : DozeMachine.State.DOZE_PULSING); in pulseWhileDozing()
156 case DOZE_PULSING: in updateAnimateWakeup()
DDozeTriggers.java236 if (state == DozeMachine.State.DOZE_PULSING
321 case DOZE_PULSING: in transitionTo()
361 if (mMachine.getState() == DozeMachine.State.DOZE_PULSING in requestPulse()
DDozeDockHandler.java91 if (dozeState == State.DOZE_REQUEST_PULSE || dozeState == State.DOZE_PULSING in requestPulseOutNow()