Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java62 DOZE_REQUEST_PULSE, enumConstant
90 case DOZE_REQUEST_PULSE: in staysAwake()
103 case DOZE_REQUEST_PULSE: in screenState()
161 Preconditions.checkArgument(requestedState != State.DOZE_REQUEST_PULSE); in requestState()
171 requestState(State.DOZE_REQUEST_PULSE, pulseReason); in requestPulse()
218 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE in getPulseReason()
261 if (newState == State.DOZE_REQUEST_PULSE) { in updatePulseReason()
298 Preconditions.checkState(mState == State.DOZE_REQUEST_PULSE); in validateTransition()
302 mState == State.DOZE_REQUEST_PULSE || mState == State.DOZE_PULSING in validateTransition()
326 if (requestedState == State.DOZE_REQUEST_PULSE && !mState.canPulse()) { in transitionPolicy()
DDozeUi.java138 case DOZE_REQUEST_PULSE: in transitionTo()
155 case DOZE_REQUEST_PULSE: in updateAnimateWakeup()
DDozeWallpaperState.java71 case DOZE_REQUEST_PULSE: in transitionTo()
DDozeDockHandler.java91 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()
168 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testPulsing_withoutLightSensor_setsAoDDimmingScrimTransparent()
177 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testDozingAfterPulsing_pausesLightSensor()
178 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testDozingAfterPulsing_pausesLightSensor()
DDozeMachineTest.java23 import static com.android.systemui.doze.DozeMachine.State.DOZE_REQUEST_PULSE;
230 }).when(mPartMock).transitionTo(any(), eq(DOZE_REQUEST_PULSE)); in testTransitions_canRequestTransitions()
252 if (newState == DOZE_REQUEST_PULSE in testPulseReason_getFromTransition()
DDozeTriggersTest.java118 DozeMachine.State.DOZE_REQUEST_PULSE); in testTransitionTo_disablesAndEnablesTouchSensors()
119 mTriggers.transitionTo(DozeMachine.State.DOZE_REQUEST_PULSE, in testTransitionTo_disablesAndEnablesTouchSensors()