Searched refs:DOZE_SUSPEND_TRIGGERS (Results 1 – 13 of 13) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSuppressorTest.java | 24 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()
|
D | DozeMachineTest.java | 29 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()
|
D | DozeTriggersTest.java | 238 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE_SUSPEND_TRIGGERS); in transitionToDozeSuspendTriggers_disablesAllCallbacks() 241 DozeMachine.State.DOZE_SUSPEND_TRIGGERS); in transitionToDozeSuspendTriggers_disablesAllCallbacks()
|
D | DozeScreenBrightnessTest.java | 27 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/ |
D | DozeStateModel.kt | 27 DOZE_SUSPEND_TRIGGERS,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeMachine.java | 70 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()
|
D | DozeTriggers.java | 21 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()
|
D | DozeSuppressor.java | 160 mMachine.requestState(DozeMachine.State.DOZE_SUSPEND_TRIGGERS); in handleCarModeStarted()
|
D | DozeUi.java | 124 case DOZE_SUSPEND_TRIGGERS: in transitionTo()
|
D | DozeScreenBrightness.java | 154 case DOZE_SUSPEND_TRIGGERS: in transitionTo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardRepository.kt | 641 DozeMachine.State.DOZE_SUSPEND_TRIGGERS -> DozeStateModel.DOZE_SUSPEND_TRIGGERS in isKeyguardShowing()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardRepositoryImplTest.kt | 485 DozeMachine.State.DOZE_SUSPEND_TRIGGERS, in <lambda>() 509 DozeStateModel.DOZE_SUSPEND_TRIGGERS, in <lambda>()
|
/frameworks/base/packages/SystemUI/docs/device-entry/ |
D | doze.md | 22 ### DOZE_SUSPEND_TRIGGERS subsection
|