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.java74 DOZE_REQUEST_PULSE, enumConstant
105 case DOZE_REQUEST_PULSE: in staysAwake()
125 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.java127 case DOZE_REQUEST_PULSE: in transitionTo()
144 case DOZE_REQUEST_PULSE: in updateAnimateWakeup()
DDozeWallpaperState.java67 case DOZE_REQUEST_PULSE: in transitionTo()
DDozeDockHandler.java120 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;
127 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_onInPulse()
128 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
138 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithoutAoD()
148 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithAoD()
290 mScreen.transitionTo(DOZE_AOD, DOZE_REQUEST_PULSE); in testDelayExitPulsingScreenState_whenUdfpsFingerDown()
291 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;
250 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testPulsing_withoutLightSensor_setsAoDDimmingScrimTransparent()
259 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreenOffAfterPulsing_pausesLightSensor()
260 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreenOffAfterPulsing_pausesLightSensor()
DDozeTriggersTest.java207 DozeMachine.State.DOZE_REQUEST_PULSE); in testTransitionTo_disablesAndEnablesTouchSensors()
208 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.kt643 DozeMachine.State.DOZE_REQUEST_PULSE -> DozeStateModel.DOZE_REQUEST_PULSE in isKeyguardShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt481 DozeMachine.State.DOZE_REQUEST_PULSE, in <lambda>()
505 DozeStateModel.DOZE_REQUEST_PULSE, in <lambda>()