Home
last modified time | relevance | path

Searched refs:DOZE_AOD (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java20 import static com.android.systemui.doze.DozeMachine.State.DOZE_AOD;
89 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesLightSensor()
99 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesDebugValue()
123 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testPausingAod_doesntPauseLightSensor()
127 mScreen.transitionTo(DOZE_AOD, DOZE_AOD_PAUSING); in testPausingAod_doesntPauseLightSensor()
138 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testPausingAod_doesNotResetBrightness()
142 mScreen.transitionTo(DOZE_AOD, DOZE_AOD_PAUSING); in testPausingAod_doesNotResetBrightness()
195 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testNullSensor()
196 mScreen.transitionTo(DOZE_AOD, DOZE_AOD_PAUSING); in testNullSensor()
203 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testNoBrightnessDeliveredAfterFinish()
[all …]
DDozeWallpaperStateTest.java65 DozeMachine.State.DOZE_AOD); in testDreamNotification()
67 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, DozeMachine.State.FINISH); in testDreamNotification()
72 mDozeWallpaperState.transitionTo(DozeMachine.State.FINISH, DozeMachine.State.DOZE_AOD); in testDreamNotification()
84 DozeMachine.State.DOZE_AOD); in testAnimates_whenSupported()
88 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, DozeMachine.State.FINISH); in testAnimates_whenSupported()
101 DozeMachine.State.DOZE_AOD); in testDoesNotAnimate_whenNotSupported()
104 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, DozeMachine.State.FINISH); in testDoesNotAnimate_whenNotSupported()
115 DozeMachine.State.DOZE_AOD); in testDoesNotAnimate_whenWakeAndUnlock()
118 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, DozeMachine.State.FINISH); in testDoesNotAnimate_whenWakeAndUnlock()
131 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, in testTransitionTo_wakeFromPulseIsNotAmbientMode()
DDozeScreenStateTest.java20 import static com.android.systemui.doze.DozeMachine.State.DOZE_AOD;
85 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testScreen_onInAod()
114 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testScreen_offInRequestPulseWithAoD()
127 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in test_initialScreenStatePostedToHandler()
142 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in test_noScreenStateSetAfterFinish()
143 mScreen.transitionTo(DOZE_AOD, FINISH); in test_noScreenStateSetAfterFinish()
162 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in test_holdsWakeLockWhenGoingToLowPowerDelayed()
179 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in test_releasesWakeLock_abortingLowPowerDelayed()
181 mScreen.transitionTo(DOZE_AOD, FINISH); in test_releasesWakeLock_abortingLowPowerDelayed()
DDozeMachineTest.java20 import static com.android.systemui.doze.DozeMachine.State.DOZE_AOD;
108 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD); in testInitialize_goesToAod()
109 assertEquals(DOZE_AOD, mMachine.getState()); in testInitialize_goesToAod()
134 verify(mPartMock).transitionTo(DOZE_PULSE_DONE, DOZE_AOD); in testPulseDone_goesToAoD()
135 assertEquals(DOZE_AOD, mMachine.getState()); in testPulseDone_goesToAoD()
187 mMachine.requestState(DOZE_AOD); in testWakeLock_notHeldInDozeStates()
258 newState == DOZE || newState == DOZE_AOD); in testPulseReason_getFromTransition()
DDozeDockHandlerTest.java104 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE_AOD); in testOnEvent_dockedWhenDozeAoD_requestPulse()
151 verify(mMachine).requestState(eq(State.DOZE_AOD)); in testOnEvent_undockedWhenDozeAndEnabledAoD_requestDozeAoD()
172 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE_AOD); in testTransitionToDozeAoD_whenDocked_requestPulse()
173 mDockHandler.transitionTo(State.INITIALIZED, DozeMachine.State.DOZE_AOD); in testTransitionToDozeAoD_whenDocked_requestPulse()
197 when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE_AOD); in testTransitionToDozeAoD_whenDockedHide_requestDoze()
199 mDockHandler.transitionTo(DozeMachine.State.INITIALIZED, State.DOZE_AOD); in testTransitionToDozeAoD_whenDockedHide_requestDoze()
DDozeUiTest.java20 import static com.android.systemui.doze.DozeMachine.State.DOZE_AOD;
96 mDozeUi.transitionTo(INITIALIZED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
97 mDozeUi.transitionTo(DOZE_AOD, DOZE_AOD_PAUSED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
101 mDozeUi.transitionTo(DOZE_AOD_PAUSED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java60 DOZE_AOD, enumConstant
79 case DOZE_AOD: in canPulse()
112 case DOZE_AOD: in screenState()
318 || mState == State.DOZE_AOD || mState == State.DOZE) in transitionPolicy()
323 if (requestedState == State.DOZE_AOD && mBatteryController.isAodPowerSave()) { in transitionPolicy()
354 nextState = State.DOZE_AOD; in resolveIntermediateState()
DDozeScreenState.java84 && newState == DozeMachine.State.DOZE_AOD; in transitionTo()
86 || oldState == DozeMachine.State.DOZE) && newState == DozeMachine.State.DOZE_AOD; in transitionTo()
96 boolean shouldDelayTransition = newState == DozeMachine.State.DOZE_AOD in transitionTo()
DDozeDockHandler.java63 case DOZE_AOD: in transitionTo()
125 mMachine.requestState(State.DOZE_AOD); in onEvent()
132 if (dozeState == State.DOZE_AOD) { in onEvent()
DDozeTriggers.java234 final boolean aod = (state == DozeMachine.State.DOZE_AOD);
249 mMachine.requestState(DozeMachine.State.DOZE_AOD);
275 mMachine.requestState(DozeMachine.State.DOZE_AOD);
308 case DOZE_AOD: in transitionTo()
312 if (newState == DozeMachine.State.DOZE_AOD && !sWakeDisplaySensorState) { in transitionTo()
396 || mMachine.getState() == DozeMachine.State.DOZE_AOD; in canPulse()
DDozeFalsingManagerAdapter.java39 case DOZE_AOD: in isAodMode()
DDozeAuthRemover.java36 if (newState == DozeMachine.State.DOZE || newState == DozeMachine.State.DOZE_AOD) { in transitionTo()
DDozeWallpaperState.java68 case DOZE_AOD: in transitionTo()
DDozeService.java127 mDozeMachine.requestState(DozeMachine.State.DOZE_AOD); in onRequestShowDoze()
DDozeUi.java120 case DOZE_AOD: in transitionTo()
DDozeScreenBrightness.java109 case DOZE_AOD: in transitionTo()