Searched refs:DOZE_REQUEST_PULSE (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeMachine.java | 62 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()
|
D | DozeUi.java | 138 case DOZE_REQUEST_PULSE: in transitionTo() 155 case DOZE_REQUEST_PULSE: in updateAnimateWakeup()
|
D | DozeWallpaperState.java | 71 case DOZE_REQUEST_PULSE: in transitionTo()
|
D | DozeDockHandler.java | 91 if (dozeState == State.DOZE_REQUEST_PULSE || dozeState == State.DOZE_PULSING in requestPulseOutNow()
|
D | DozeScreenBrightness.java | 110 case DOZE_REQUEST_PULSE: in transitionTo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeScreenStateTest.java | 22 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()
|
D | DozeWallpaperStateTest.java | 125 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()
|
D | DozeScreenBrightnessTest.java | 25 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()
|
D | DozeMachineTest.java | 23 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()
|
D | DozeTriggersTest.java | 118 DozeMachine.State.DOZE_REQUEST_PULSE); in testTransitionTo_disablesAndEnablesTouchSensors() 119 mTriggers.transitionTo(DozeMachine.State.DOZE_REQUEST_PULSE, in testTransitionTo_disablesAndEnablesTouchSensors()
|