/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeMachineTest.java | 22 import static com.android.systemui.doze.DozeMachine.State.DOZE; 130 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_goesToDoze() 131 assertEquals(DOZE, mMachine.getState()); in testInitialize_goesToDoze() 162 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_afterDockPaused_goesToDoze() 163 assertEquals(DOZE, mMachine.getState()); in testInitialize_afterDockPaused_goesToDoze() 173 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_goesToDoze() 174 assertEquals(DOZE, mMachine.getState()); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_goesToDoze() 184 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_alwaysOnEnabled_goesToDoze() 185 assertEquals(DOZE, mMachine.getState()); in testInitialize_alwaysOnSuppressed_alwaysOnEnabled_goesToDoze() 195 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_afterDocked_goesToDoze() [all …]
|
D | DozeTriggersTest.java | 144 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE); in testOnNotification_stillWorksAfterOneFailedProxCheck() 149 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_stillWorksAfterOneFailedProxCheck() 175 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE); in testOnNotification_noPulseIfPulseIsNotPendingAnymore() 180 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_noPulseIfPulseIsNotPendingAnymore() 198 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE); in testTransitionTo_disablesAndEnablesTouchSensors() 200 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testTransitionTo_disablesAndEnablesTouchSensors() 206 mTriggers.transitionTo(DozeMachine.State.DOZE, in testTransitionTo_disablesAndEnablesTouchSensors() 223 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in transitionToDockedAod_disablesTouchSensors() 228 mTriggers.transitionTo(DozeMachine.State.DOZE, DozeMachine.State.DOZE_AOD_DOCKED); in transitionToDockedAod_disablesTouchSensors() 253 mTriggers.transitionTo(DozeMachine.State.DOZE, DozeMachine.State.FINISH); in testDockEventListener_registerAndUnregister() [all …]
|
D | DozeSuppressorTest.java | 22 import static com.android.systemui.doze.DozeMachine.State.DOZE; 142 mDozeSuppressor.transitionTo(INITIALIZED, DOZE); in testSuspendTriggersDoze_enterCarMode() 163 verify(mDozeMachine).requestState(DOZE); in testDozeResume_exitCarMode() 251 verify(mDozeMachine).requestState(DOZE); in testPowerSaveChanged_active() 259 when(mDozeMachine.getState()).thenReturn(DOZE); in testPowerSaveChanged_notActive() 282 verify(mDozeMachine).requestState(DOZE); in testAlwaysOnSuppressedChanged_nowSuppressed() 290 when(mDozeMachine.getState()).thenReturn(DOZE); in testAlwaysOnSuppressedChanged_notSuppressed()
|
D | DozeScreenStateTest.java | 19 import static com.android.systemui.doze.DozeMachine.State.DOZE; 109 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInDoze() 125 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_onInPulse() 127 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_onInPulse() 136 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInRequestPulseWithoutAoD() 138 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithoutAoD() 148 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_offInRequestPulseWithAoD() 250 mScreen.transitionTo(DOZE_AOD, DOZE); in test_animatesOff()
|
D | DozeScreenBrightnessTest.java | 19 import static com.android.systemui.doze.DozeMachine.State.DOZE; 177 mScreen.transitionTo(INITIALIZED, DOZE); in doze_doesNotUseLightSensor() 247 mScreen.transitionTo(INITIALIZED, DOZE); in testPulsing_withoutLightSensor_setsAoDDimmingScrimTransparent() 250 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testPulsing_withoutLightSensor_setsAoDDimmingScrimTransparent() 258 mScreen.transitionTo(INITIALIZED, DOZE); in testScreenOffAfterPulsing_pausesLightSensor() 259 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreenOffAfterPulsing_pausesLightSensor() 262 mScreen.transitionTo(DOZE_PULSE_DONE, DOZE); in testScreenOffAfterPulsing_pausesLightSensor() 472 mScreen.transitionTo(INITIALIZED, DOZE); in transitionToDoze_shouldClampBrightness_afterTimeout_clampsToDim() 488 mScreen.transitionTo(INITIALIZED, DOZE); in transitionToDoze_shouldClampBrightness_notAfterTimeout_doesNotClampToDim() 499 mScreen.transitionTo(INITIALIZED, DOZE); in transitionToDoze_noClampBrightness_afterTimeout_noScreenOff_doesNotClampToDim() [all …]
|
D | DozeUiTest.java | 19 import static com.android.systemui.doze.DozeMachine.State.DOZE; 112 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_noAlwaysOn() 120 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_alwaysOn()
|
D | DozeDockHandlerTest.java | 115 verify(mMachine).requestState(eq(State.DOZE)); in onEvent_noneWhileDisabledAod_requestsDozeState() 122 verify(mMachine).requestState(eq(State.DOZE)); in onEvent_hide_requestsDozeState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeSuppressor.java | 155 ? DozeMachine.State.DOZE_AOD : DozeMachine.State.DOZE); in handleCarModeExited() 170 nextState = DozeMachine.State.DOZE; 171 } else if (mMachine.getState() == DozeMachine.State.DOZE 190 nextState = DozeMachine.State.DOZE;
|
D | DozeMachine.java | 69 DOZE, enumConstant 93 case DOZE: in canPulse() 130 case DOZE: in screenState() 392 return State.DOZE; in transitionPolicy() 397 return State.DOZE; in transitionPolicy() 400 || mState == State.DOZE_AOD || mState == State.DOZE in transitionPolicy() 434 nextState = mDockManager.isHidden() ? State.DOZE : State.DOZE_AOD_DOCKED; in resolveIntermediateState() 438 nextState = State.DOZE; in resolveIntermediateState()
|
D | DozeUi.java | 19 import static com.android.systemui.doze.DozeMachine.State.DOZE; 115 if (oldState == DOZE_AOD_PAUSED || oldState == DOZE) { in transitionTo() 127 case DOZE: in transitionTo()
|
D | DozeDockHandler.java | 107 : State.DOZE; in onEvent() 110 nextState = State.DOZE; in onEvent()
|
D | DozeScreenState.java | 21 import static com.android.systemui.doze.DozeMachine.State.DOZE; 150 final boolean turningOn = (oldState == DOZE_AOD_PAUSED || oldState == DOZE) in transitionTo() 152 final boolean turningOff = (oldState.isAlwaysOn() && newState == DOZE) in transitionTo()
|
D | DozeAuthRemover.java | 39 if (newState == DozeMachine.State.DOZE || newState == DozeMachine.State.DOZE_AOD) { in transitionTo()
|
D | DozeTriggers.java | 426 if (state == DozeMachine.State.DOZE) { in onWakeScreen() 439 mMachine.requestState(DozeMachine.State.DOZE); in onWakeScreen() 461 case DOZE: in transitionTo() 611 return dozeState == DozeMachine.State.DOZE in canPulse()
|
D | DozeWallpaperState.java | 62 case DOZE: in transitionTo()
|
D | DozeScreenBrightness.java | 153 case DOZE: in transitionTo() 166 setScreenOff(newState == DozeMachine.State.DOZE); in transitionTo()
|
D | DozeService.java | 140 mDozeMachine.requestState(DozeMachine.State.DOZE); in onRequestHideDoze()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SurfaceFlinger_SetPowerModeInternalTest.cpp | 33 IComposerClient::PowerMode::DOZE; 40 std::vector<DisplayCapability>({DisplayCapability::DOZE})), in setupComposerCallExpectations() 176 struct TransitionOnToDozeVariant : public TransitionVariantCommon<PowerMode::ON, PowerMode::DOZE> { 185 : public TransitionVariantCommon<PowerMode::DOZE_SUSPEND, PowerMode::DOZE> { 194 struct TransitionDozeToOnVariant : public TransitionVariantCommon<PowerMode::DOZE, PowerMode::ON> { 314 struct PowerModeInitialVSyncEnabled<PowerMode::DOZE> : public std::true_type {};
|
D | RefreshRateStatsTest.cpp | 89 mRefreshRateStats->setPowerMode(PowerMode::DOZE); in TEST_F() 166 mRefreshRateStats->setPowerMode(PowerMode::DOZE); in TEST_F()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/ |
D | DozeStateModel.kt | 25 DOZE,
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | Hal.h | 131 case aidl::android::hardware::graphics::composer3::DisplayCapability::DOZE: in to_string() 191 case hardware::graphics::composer::hal::PowerMode::DOZE: in to_string()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardTransitionScenariosTest.kt | 299 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in lockscreenToDreaming() 330 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in lockscreenToDreamingLockscreenHosted() 416 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in dreamingLockscreenHostedToLockscreen() 506 DozeTransitionModel(from = DozeStateModel.INITIALIZED, to = DozeStateModel.DOZE) in dreamingLockscreenHostedToDozing() 708 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in goneToDreaming() 739 DozeTransitionModel(from = DozeStateModel.DOZE, to = DozeStateModel.FINISH) in goneToDreamingLockscreenHosted()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | FromDreamingTransitionInteractor.kt | 119 dozeTransitionModel.to == DozeStateModel.DOZE && in <lambda>()
|
D | FromDreamingLockscreenHostedTransitionInteractor.kt | 147 dozeTransitionModel.to == DozeStateModel.DOZE && in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardRepositoryImplTest.kt | 588 listener.onDozeTransition(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE) in <lambda>() 590 listener.onDozeTransition(DozeMachine.State.DOZE, DozeMachine.State.DOZE_AOD) in <lambda>() 618 DozeTransitionModel(DozeStateModel.INITIALIZED, DozeStateModel.DOZE), in <lambda>() 619 DozeTransitionModel(DozeStateModel.DOZE, DozeStateModel.DOZE_AOD), in <lambda>()
|