Home
last modified time | relevance | path

Searched refs:transitionTo (Results 1 – 25 of 70) sorted by relevance

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java143 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_setsScreenBrightnessToValidValue()
151 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesDebugValue()
152 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesDebugValue()
172 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensorRespectingUserSetting()
185 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensorNotClampingToAutoBrightnessValue()
192 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in doze_doesNotUseLightSensor()
193 mScreen.transitionTo(INITIALIZED, DOZE); in doze_doesNotUseLightSensor()
207 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in dozeSuspendTriggers_doesNotUseLightSensor()
208 mScreen.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in dozeSuspendTriggers_doesNotUseLightSensor()
222 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in aod_usesLightSensor()
[all …]
DDozeScreenStateTest.java111 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInDoze()
112 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInDoze()
119 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInAod()
120 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testScreen_onInAod()
127 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInPulse()
128 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_onInPulse()
130 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_onInPulse()
131 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
138 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInRequestPulseWithoutAoD()
139 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInRequestPulseWithoutAoD()
[all …]
DDozeWallpaperStateTest.java64 mDozeWallpaperState.transitionTo(DozeMachine.State.UNINITIALIZED, 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()
83 mDozeWallpaperState.transitionTo(DozeMachine.State.UNINITIALIZED, in testAnimates_whenSupported()
88 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, DozeMachine.State.FINISH); in testAnimates_whenSupported()
100 mDozeWallpaperState.transitionTo(DozeMachine.State.UNINITIALIZED, in testDoesNotAnimate_whenNotSupported()
104 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, DozeMachine.State.FINISH); in testDoesNotAnimate_whenNotSupported()
114 mDozeWallpaperState.transitionTo(DozeMachine.State.UNINITIALIZED, in testDoesNotAnimate_whenWakeAndUnlock()
118 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE_AOD, DozeMachine.State.FINISH); in testDoesNotAnimate_whenWakeAndUnlock()
124 mDozeWallpaperState.transitionTo(DozeMachine.State.DOZE, in testTransitionTo_requestPulseIsAmbientMode()
[all …]
DDozeSuppressorTest.java116 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testRegistersListenersOnInitialized_unregisteredOnFinish()
120 mDozeSuppressor.transitionTo(INITIALIZED, FINISH); in testRegistersListenersOnInitialized_unregisteredOnFinish()
130 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testSuspendTriggersDoze_carMode()
141 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testSuspendTriggersDoze_enterCarMode()
142 mDozeSuppressor.transitionTo(INITIALIZED, DOZE); in testSuspendTriggersDoze_enterCarMode()
156 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testDozeResume_exitCarMode()
157 mDozeSuppressor.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in testDozeResume_exitCarMode()
171 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testDozeAoDResume_exitCarMode()
172 mDozeSuppressor.transitionTo(INITIALIZED, DOZE_SUSPEND_TRIGGERS); in testDozeAoDResume_exitCarMode()
183 mDozeSuppressor.transitionTo(UNINITIALIZED, INITIALIZED); in testUiModeDoesNotChange_noStateTransition()
[all …]
DDozeMachineTest.java121 verify(mPartMock).transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_initializesParts()
130 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_goesToDoze()
140 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD); in testInitialize_goesToAod()
150 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD_DOCKED); in testInitialize_afterDocked_goesToDockedAod()
162 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_afterDockPaused_goesToDoze()
173 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_goesToDoze()
184 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_alwaysOnEnabled_goesToDoze()
195 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_afterDocked_goesToDoze()
208 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_alwaysOnDisabled_afterDockPaused_goesToDoze()
221 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_alwaysOnSuppressed_alwaysOnEnabled_afterDockPaused_goesToDoze()
[all …]
DDozeTriggersTest.java159 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_stillWorksAfterOneFailedProxCheck()
160 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_stillWorksAfterOneFailedProxCheck()
190 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_startsPulseRequest()
191 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_startsPulseRequest()
209 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_cannotPulse_notificationSuppressed()
210 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_cannotPulse_notificationSuppressed()
231 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_alreadyPulsing_notificationNotSuppressed()
232 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE_PULSING); in testOnNotification_alreadyPulsing_notificationNotSuppressed()
249 mTriggers.transitionTo(UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_noPulseIfPulseIsNotPendingAnymore()
250 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_noPulseIfPulseIsNotPendingAnymore()
[all …]
DDozeUiTest.java102 mDozeUi.transitionTo(UNINITIALIZED, INITIALIZED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
103 mDozeUi.transitionTo(INITIALIZED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
104 mDozeUi.transitionTo(DOZE_AOD, DOZE_AOD_PAUSED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
108 mDozeUi.transitionTo(DOZE_AOD_PAUSED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
115 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_noAlwaysOn()
123 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_alwaysOn()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarTransitionsTest.kt77 underTest.transitionTo(/* mode= */ MODE_LIGHTS_OUT, /* animate= */ false) in transitionTo_lightsOutMode_batteryTranslucent()
86 underTest.transitionTo(/* mode= */ MODE_LIGHTS_OUT, /* animate= */ false) in transitionTo_lightsOutMode_statusIconsHidden()
93 underTest.transitionTo(/* mode= */ MODE_LIGHTS_OUT, /* animate= */ false) in transitionTo_lightsOutMode_startIconsHidden()
100 underTest.transitionTo(/* mode= */ MODE_LIGHTS_OUT_TRANSPARENT, /* animate= */ false) in transitionTo_lightsOutTransparentMode_batteryTranslucent()
109 underTest.transitionTo(/* mode= */ MODE_LIGHTS_OUT_TRANSPARENT, /* animate= */ false) in transitionTo_lightsOutTransparentMode_statusIconsHidden()
116 underTest.transitionTo(/* mode= */ MODE_LIGHTS_OUT_TRANSPARENT, /* animate= */ false) in transitionTo_lightsOutTransparentMode_startIconsHidden()
123 underTest.transitionTo(/* mode= */ MODE_TRANSLUCENT, /* animate= */ false) in transitionTo_translucentMode_batteryIconShown()
130 underTest.transitionTo(/* mode= */ MODE_SEMI_TRANSPARENT, /* animate= */ false) in transitionTo_semiTransparentMode_statusIconsShown()
138 underTest.transitionTo(/* mode= */ MODE_OPAQUE, /* animate= */ false) in transitionTo_transparentMode_startIconsShown()
141 underTest.transitionTo(/* mode= */ MODE_TRANSPARENT, /* animate= */ false) in transitionTo_transparentMode_startIconsShown()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteSessionController.java492 transitionTo(mEnablingState); in handleSatelliteEnablementStarted()
521 transitionTo(mPowerOffState); in processMessage()
534 transitionTo(mNotConnectedState); in handleSatelliteEnabledStateChanged()
536 transitionTo(mIdleState); in handleSatelliteEnabledStateChanged()
547 transitionTo(mPowerOffState); in handleSatelliteEnabledStateChanged()
582 transitionTo(mPowerOffState); in handleSatelliteEnabledStateChanged()
629 transitionTo(mTransferringState); in handleEventDatagramTransferStateChanged()
650 transitionTo(mNotConnectedState); in handleEventDisableCellularModemWhileSatelliteModeIsOnDone()
721 transitionTo(mConnectedState); in handleEventDatagramTransferStateChanged()
727 transitionTo(mIdleState); in handleEventDatagramTransferStateChanged()
[all …]
DDemoSimulator.java117 transitionTo(mNotConnectedState); in processMessage()
157 transitionTo(mPowerOffState); in processMessage()
163 transitionTo(mConnectedState); in processMessage()
217 transitionTo(mPowerOffState); in processMessage()
223 transitionTo(mNotConnectedState); in processMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/
DNavigationBarControllerImplTest.java242 mNavigationBarController.transitionTo(INVALID_DISPLAY, 3, true); in testTransitionToWithInvalidDisplay()
247 doNothing().when(mDefaultNavBar).transitionTo(anyInt(), anyBoolean()); in testTransitionToWithDefaultDisplay()
249 mNavigationBarController.transitionTo(DEFAULT_DISPLAY, 3, true); in testTransitionToWithDefaultDisplay()
251 verify(mDefaultNavBar).transitionTo(eq(3), eq(true)); in testTransitionToWithDefaultDisplay()
256 doNothing().when(mSecondaryNavBar).transitionTo(anyInt(), anyBoolean()); in testTransitionToWithSecondaryDisplay()
258 mNavigationBarController.transitionTo(SECONDARY_DISPLAY, 3, true); in testTransitionToWithSecondaryDisplay()
260 verify(mSecondaryNavBar).transitionTo(eq(3), eq(true)); in testTransitionToWithSecondaryDisplay()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DWindowMagnificationGestureHandler.java146 transitionTo(mDetectingState); in WindowMagnificationGestureHandler()
240 transitionTo(mViewportDraggingState); in onTripleTapAndHold()
248 transitionTo(mDetectingState); in releaseTripleTapAndHold()
268 transitionTo(mDetectingState); in resetToDetectState()
298 private void transitionTo(State state) { in transitionTo() method in WindowMagnificationGestureHandler
343 transitionTo(mDetectingState); in onMotionEvent()
376 transitionTo(mDetectingState); in onMotionEvent()
546 transitionTo(mObservePanningScalingState); in onGestureCompleted()
576 transitionTo(mDelegatingState); in changeToDelegateStateIfNeed()
DFullScreenMagnificationGestureHandler.java329 transitionTo(mDetectingState); in FullScreenMagnificationGestureHandler()
447 void transitionTo(State state) { in transitionTo() method in FullScreenMagnificationGestureHandler
576 transitionTo(state); in persistScaleAndTransitionTo()
727 transitionTo(mDetectingState); in onMotionEvent()
802 transitionTo(mDetectingState); in onMotionEvent()
844 transitionTo(mPanningScalingState); in clearAndTransitToPanningScalingState()
876 transitionTo(mDetectingState); in onMotionEvent()
881 transitionTo(mDelegatingState); in onMotionEvent()
1108 transitionTo(mDelegatingState); in transitionToDelegatingStateAndClear()
1135 transitionTo(mViewportDraggingState); in transitionToViewportDraggingStateAndClear()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastConfigTracker.java194 transitionTo(mGsmConfiguringState); in processMessage()
199 transitionTo(mCdmaConfiguringState); in processMessage()
241 transitionTo(mGsmActivatingState); in processMessage()
248 transitionTo(mIdleState); in processMessage()
290 transitionTo(mCdmaConfiguringState); in processMessage()
296 transitionTo(mIdleState); in processMessage()
303 transitionTo(mIdleState); in processMessage()
341 transitionTo(mCdmaActivatingState); in processMessage()
348 transitionTo(mIdleState); in processMessage()
394 transitionTo(mIdleState); in processMessage()
DWakeLockStateMachine.java169 transitionTo(mWaitingState); in processMessage()
203 transitionTo(mIdleState); in processMessage()
214 transitionTo(mIdleState); in processMessage()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DSceneInteractorTest.kt113 val transitionTo by collectLastValue(underTest.transitioningTo) in changeScene_toGoneWhenTransitionToLockedFromGone() constant
127 assertThat(transitionTo).isEqualTo(Scenes.Lockscreen) in changeScene_toGoneWhenTransitionToLockedFromGone()
253 val transitionTo by collectLastValue(underTest.transitioningTo) in transitioningTo() constant
254 assertThat(transitionTo).isNull() in transitioningTo()
257 assertThat(transitionTo).isNull() in transitioningTo()
269 assertThat(transitionTo).isEqualTo(Scenes.Shade) in transitioningTo()
272 assertThat(transitionTo).isEqualTo(Scenes.Shade) in transitioningTo()
275 assertThat(transitionTo).isEqualTo(Scenes.Shade) in transitioningTo()
278 assertThat(transitionTo).isNull() in transitioningTo()
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DDemo3.java57 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
60 mTransitionManager.transitionTo(mResultsScreen); in sendMessage()
DScenesTestAutoTargets.java58 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
61 mTransitionManager.transitionTo(mResultsScreen); in sendMessage()
DCrossFadeDemo.java62 mTransitionManager.transitionTo(mScene2); in sendMessage()
65 mTransitionManager.transitionTo(mScene1); in sendMessage()
DResourceLoadingTest.java67 mTransitionManager.transitionTo(scene); in sendMessage()
71 mTransitionManager.transitionTo(scene); in sendMessage()
DDemo2.java69 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
72 mTransitionManager.transitionTo(mResultsScreen); in sendMessage()
DScenesTestv21.java68 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
71 mTransitionManager.transitionTo(mResultsScreen); in sendMessage()
DDemo4.java68 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
71 mTransitionManager.transitionTo(mResultsScreen); in sendMessage()
DDemo1.java81 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
84 mTransitionManager.transitionTo(mResultsScreen); in sendMessage()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractorTest.kt97 transitionTo(KeyguardState.AOD, KeyguardState.LOCKSCREEN) in clockSize_forceSmallClock_SMALL()
205 transitionTo(KeyguardState.LOCKSCREEN, KeyguardState.AOD) in clockShouldBeCentered_sceneContainerFlagOn_splitMode_onAod_true()
216 transitionTo(KeyguardState.AOD, KeyguardState.LOCKSCREEN) in clockShouldBeCentered_sceneContainerFlagOn_splitMode_offAod_false()
220 private suspend fun transitionTo(from: KeyguardState, to: KeyguardState) { in transitionTo() method in com.android.systemui.keyguard.domain.interactor.KeyguardClockInteractorTest

123