Home
last modified time | relevance | path

Searched refs:DOZE_SUSPEND_TRIGGERS (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSuppressorTest.java24 import static com.android.systemui.doze.DozeMachine.State.DOZE_SUSPEND_TRIGGERS;
133 verify(mDozeMachine, atLeastOnce()).requestState(DOZE_SUSPEND_TRIGGERS); in testSuspendTriggersDoze_carMode()
135 .requestState(AdditionalMatchers.not(eq(DOZE_SUSPEND_TRIGGERS))); in testSuspendTriggersDoze_carMode()
148 verify(mDozeMachine).requestState(DOZE_SUSPEND_TRIGGERS); in testSuspendTriggersDoze_enterCarMode()
157 mDozeSuppressor.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in testDozeResume_exitCarMode()
172 mDozeSuppressor.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in testDozeAoDResume_exitCarMode()
190 verify(mDozeMachine, times(1)).requestState(DOZE_SUSPEND_TRIGGERS); in testUiModeDoesNotChange_noStateTransition()
192 .requestState(AdditionalMatchers.not(eq(DOZE_SUSPEND_TRIGGERS))); in testUiModeDoesNotChange_noStateTransition()
212 verify(mDozeMachine, times(1)).requestState(DOZE_SUSPEND_TRIGGERS); in testUiModeTypeChange_CarModeEnabledAndDozeMachineNotReady_suspendsTriggersAfter()
DDozeMachineTest.java29 import static com.android.systemui.doze.DozeMachine.State.DOZE_SUSPEND_TRIGGERS;
417 mMachine.requestState(DOZE_SUSPEND_TRIGGERS); in testPulsing_dozeSuspendTriggers_pulseDone_doesntCrash()
506 verify(mPartMock).transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in testTransitionToInitialized_carModeIsEnabled()
507 assertEquals(DOZE_SUSPEND_TRIGGERS, mMachine.getState()); in testTransitionToInitialized_carModeIsEnabled()
529 assertEquals(DOZE_SUSPEND_TRIGGERS, mMachine.getState()); in testDozeToDozeSuspendTriggers_carModeIsEnabled()
540 assertEquals(DOZE_SUSPEND_TRIGGERS, mMachine.getState()); in testDozeAoDToDozeSuspendTriggers_carModeIsEnabled()
551 assertEquals(DOZE_SUSPEND_TRIGGERS, mMachine.getState()); in testDozePulsingBrightDozeSuspendTriggers_carModeIsEnabled()
562 assertEquals(DOZE_SUSPEND_TRIGGERS, mMachine.getState()); in testDozeAodDockedDozeSuspendTriggers_carModeIsEnabled()
588 assertEquals(Display.STATE_OFF, DOZE_SUSPEND_TRIGGERS.screenState(null)); in testDozeSuppressTriggers_screenState()
DDozeTriggersTest.java238 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE_SUSPEND_TRIGGERS); in transitionToDozeSuspendTriggers_disablesAllCallbacks()
241 DozeMachine.State.DOZE_SUSPEND_TRIGGERS); in transitionToDozeSuspendTriggers_disablesAllCallbacks()
DDozeScreenBrightnessTest.java27 import static com.android.systemui.doze.DozeMachine.State.DOZE_SUSPEND_TRIGGERS;
192 mScreen.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in dozeSuspendTriggers_doesNotUseLightSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DDozeStateModel.kt27 DOZE_SUSPEND_TRIGGERS,
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java70 DOZE_SUSPEND_TRIGGERS, enumConstant
130 case DOZE_SUSPEND_TRIGGERS: in screenState()
387 return State.DOZE_SUSPEND_TRIGGERS; in transitionPolicy()
401 || mState == State.DOZE_AOD_DOCKED || mState == State.DOZE_SUSPEND_TRIGGERS) in transitionPolicy()
DDozeTriggers.java21 import static com.android.systemui.doze.DozeMachine.State.DOZE_SUSPEND_TRIGGERS;
450 if (oldState == DOZE_SUSPEND_TRIGGERS && (newState != FINISH in transitionTo()
496 case DOZE_SUSPEND_TRIGGERS: in transitionTo()
DDozeSuppressor.java160 mMachine.requestState(DozeMachine.State.DOZE_SUSPEND_TRIGGERS); in handleCarModeStarted()
DDozeUi.java124 case DOZE_SUSPEND_TRIGGERS: in transitionTo()
DDozeScreenBrightness.java154 case DOZE_SUSPEND_TRIGGERS: in transitionTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt641 DozeMachine.State.DOZE_SUSPEND_TRIGGERS -> DozeStateModel.DOZE_SUSPEND_TRIGGERS in isKeyguardShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt485 DozeMachine.State.DOZE_SUSPEND_TRIGGERS, in <lambda>()
509 DozeStateModel.DOZE_SUSPEND_TRIGGERS, in <lambda>()
/frameworks/base/packages/SystemUI/docs/device-entry/
Ddoze.md22 ### DOZE_SUSPEND_TRIGGERS subsection