Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java80 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_setsScreenBrightnessToValidValue()
88 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensor()
89 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesLightSensor()
98 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesDebugValue()
99 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesDebugValue()
116 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensorRespectingUserSetting()
122 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testPausingAod_doesntPauseLightSensor()
123 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testPausingAod_doesntPauseLightSensor()
127 mScreen.transitionTo(DOZE_AOD, DOZE_AOD_PAUSING); in testPausingAod_doesntPauseLightSensor()
128 mScreen.transitionTo(DOZE_AOD_PAUSING, DOZE_AOD_PAUSED); in testPausingAod_doesntPauseLightSensor()
[all …]
DDozeScreenStateTest.java76 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInDoze()
77 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInDoze()
84 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInAod()
85 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testScreen_onInAod()
92 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInPulse()
93 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_onInPulse()
95 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_onInPulse()
96 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
103 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInRequestPulseWithoutAoD()
104 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 …]
DDozeDockHandlerTest.java82 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testDockEventListener_registerAndUnregister()
86 mDockHandler.transitionTo(DozeMachine.State.DOZE, DozeMachine.State.FINISH); in testDockEventListener_registerAndUnregister()
93 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_dockedWhenDoze_requestPulse()
103 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_dockedWhenDozeAoD_requestPulse()
113 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_dockedHideWhenPulsing_requestPulseOut()
124 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_undockedWhenPulsing_requestPulseOut()
135 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_undockedWhenDoze_neverRequestPulseOut()
146 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnEvent_undockedWhenDozeAndEnabledAoD_requestDozeAoD()
156 mDockHandler.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testTransitionToDoze_whenDocked_requestPulse()
160 mDockHandler.transitionTo(State.INITIALIZED, DozeMachine.State.DOZE); in testTransitionToDoze_whenDocked_requestPulse()
[all …]
DDozeTriggersTest.java93 mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_stillWorksAfterOneFailedProxCheck()
94 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_stillWorksAfterOneFailedProxCheck()
113 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testTransitionTo_disablesAndEnablesTouchSensors()
117 mTriggers.transitionTo(DozeMachine.State.DOZE, in testTransitionTo_disablesAndEnablesTouchSensors()
119 mTriggers.transitionTo(DozeMachine.State.DOZE_REQUEST_PULSE, in testTransitionTo_disablesAndEnablesTouchSensors()
124 mTriggers.transitionTo(DozeMachine.State.DOZE_PULSING, DozeMachine.State.DOZE_PULSE_DONE); in testTransitionTo_disablesAndEnablesTouchSensors()
130 mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testDockEventListener_registerAndUnregister()
133 mTriggers.transitionTo(DozeMachine.State.DOZE, DozeMachine.State.FINISH); in testDockEventListener_registerAndUnregister()
DDozeMachineTest.java89 verify(mPartMock).transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_initializesParts()
98 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_goesToDoze()
108 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD); in testInitialize_goesToAod()
121 verify(mPartMock).transitionTo(DOZE_PULSE_DONE, DOZE); in testPulseDone_goesToDoze()
134 verify(mPartMock).transitionTo(DOZE_PULSE_DONE, DOZE_AOD); in testPulseDone_goesToAoD()
146 verify(mPartMock, never()).transitionTo(any(), any()); in testFinished_staysFinished()
164 }).when(mPartMock).transitionTo(any(), any()); in testWakeLock_heldInTransition()
230 }).when(mPartMock).transitionTo(any(), eq(DOZE_REQUEST_PULSE)); in testTransitions_canRequestTransitions()
261 }).when(mPartMock).transitionTo(any(), any()); in testPulseReason_getFromTransition()
DDozeUiTest.java95 mDozeUi.transitionTo(UNINITIALIZED, INITIALIZED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
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()
150 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_alwaysOn()
169 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_noAlwaysOn()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java104 mScrimController.transitionTo(ScrimState.KEYGUARD); in setup()
115 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard()
125 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper()
137 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper()
144 mScrimController.transitionTo(ScrimState.PULSING); in transitionToAod_withAodWallpaper()
153 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper()
165 mScrimController.transitionTo(ScrimState.AOD); in setHasBackdrop_withAodWallpaperAndAlbumArt()
179 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates()
187 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
199 mScrimController.transitionTo(ScrimState.UNLOCKED); in transitionToAod_withFrontAlphaUpdates()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiController.java263 transitionTo(mStaDisabledState); in processMessage()
268 transitionTo(mStaDisabledState); in processMessage()
286 transitionTo(mStaDisabledState); in processMessage()
290 transitionTo(mStaEnabledState); in processMessage()
292 transitionTo(mStaDisabledWithScanState); in processMessage()
300 transitionTo(mEcmState); in processMessage()
306 transitionTo(mStaEnabledState); in processMessage()
308 transitionTo(mStaDisabledWithScanState); in processMessage()
346 transitionTo(mStaEnabledState); in processMessage()
350 transitionTo(mStaDisabledWithScanState); in processMessage()
[all …]
DSupplicantStateTracker.java147 transitionTo(mDisconnectState); in transitionOnSupplicantStateChange()
153 transitionTo(mScanState); in transitionOnSupplicantStateChange()
160 transitionTo(mHandshakeState); in transitionOnSupplicantStateChange()
163 transitionTo(mCompletedState); in transitionOnSupplicantStateChange()
166 transitionTo(mDormantState); in transitionOnSupplicantStateChange()
169 transitionTo(mInactiveState); in transitionOnSupplicantStateChange()
173 transitionTo(mUninitializedState); in transitionOnSupplicantStateChange()
256 transitionTo(mUninitializedState); in processMessage()
DActiveModeWarden.java299 mModeStateMachine.transitionTo(mClientModeActiveState); in checkForAndHandleModeChange()
303 mModeStateMachine.transitionTo(mScanOnlyModeActiveState); in checkForAndHandleModeChange()
307 mModeStateMachine.transitionTo(mWifiDisabledState); in checkForAndHandleModeChange()
453 mModeStateMachine.transitionTo(mWifiDisabledState); in processMessage()
464 mModeStateMachine.transitionTo(mWifiDisabledState); in processMessage()
539 mModeStateMachine.transitionTo(mWifiDisabledState); in processMessage()
550 mModeStateMachine.transitionTo(mWifiDisabledState); in processMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNavigationBarControllerTest.java199 mNavigationBarController.transitionTo(INVALID_DISPLAY, 3, true); in testTransitionToWithInvalidDisplay()
204 doNothing().when(mDefaultNavBar).transitionTo(anyInt(), anyBoolean()); in testTransitionToWithDefaultDisplay()
206 mNavigationBarController.transitionTo(DEFAULT_DISPLAY, 3, true); in testTransitionToWithDefaultDisplay()
208 verify(mDefaultNavBar).transitionTo(eq(3), eq(true)); in testTransitionToWithDefaultDisplay()
213 doNothing().when(mSecondaryNavBar).transitionTo(anyInt(), anyBoolean()); in testTransitionToWithSecondaryDisplay()
215 mNavigationBarController.transitionTo(SECONDARY_DISPLAY, 3, true); in testTransitionToWithSecondaryDisplay()
217 verify(mSecondaryNavBar).transitionTo(eq(3), eq(true)); in testTransitionToWithSecondaryDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java188 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState()
234 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() method in DozeMachine
270 p.transitionTo(oldState, newState); in performTransitionOnComponents()
359 transitionTo(nextState, DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
384 void transitionTo(State oldState, State newState); in transitionTo() method
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java200 transitionTo(mDetectingState); in MagnificationGestureHandler()
340 private void transitionTo(State state) { in transitionTo() method in MagnificationGestureHandler
415 transitionTo(state); in persistScaleAndTransitionTo()
518 transitionTo(mPanningScalingState); in onMotionEvent()
543 transitionTo(mDetectingState); in onMotionEvent()
583 transitionTo(mDetectingState); in onMotionEvent()
587 transitionTo(mDelegatingState); in onMotionEvent()
698 transitionTo(mPanningScalingState); in onMotionEvent()
864 transitionTo(mDelegatingState); in transitionToDelegatingStateAndClear()
895 transitionTo(mViewportDraggingState); in transitionToViewportDraggingStateAndClear()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java955 transitionTo(mP2pDisabledState); in processMessage()
965 transitionTo(mP2pDisabledState); in processMessage()
1350 transitionTo(mP2pDisabledState); in processMessage()
1360 transitionTo(mP2pDisabledState); in processMessage()
1412 transitionTo(mInactiveState); in processMessage()
1454 transitionTo(mP2pDisabledState); in processMessage()
1468 transitionTo(mP2pDisablingState); in processMessage()
1787 transitionTo(mGroupNegotiationState); in processMessage()
1805 transitionTo(mGroupNegotiationState); in processMessage()
1810 transitionTo(mProvisionDiscoveryState); in processMessage()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWakeLockStateMachine.java168 transitionTo(mWaitingState); in processMessage()
202 transitionTo(mIdleState); in processMessage()
213 transitionTo(mIdleState); in processMessage()
DNetworkTypeController.java496 transitionTo(mLegacyState); in processMessage()
542 transitionTo(mNrConnectedState); in processMessage()
557 transitionTo(mNrConnectedState); in processMessage()
616 transitionTo(mNrConnectedState); in processMessage()
623 transitionTo(mNrConnectedState); in processMessage()
683 transitionTo(mNrConnectedState); in processMessage()
690 transitionTo(mNrConnectedState); in processMessage()
780 transitionTo(mNrConnectedState); in processMessage()
820 transitionTo(destState); in transitionWithTimerTo()
835 transitionTo(getCurrentState()); in transitionWithSecondaryTimerTo()
[all …]
/frameworks/base/tests/TransitionTests/src/com/android/transitiontests/
DScenesTestAutoTargets.java58 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
61 mTransitionManager.transitionTo(mResultsScreen); in sendMessage()
DDemo3.java57 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
60 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()
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/Tethering/src/android/net/ip/
DIpServer.java464 transitionTo(mInitialState); in handleError()
1061 transitionTo(mLocalHotspotState); in processMessage()
1065 transitionTo(mTetheredState); in processMessage()
1072 transitionTo(mUnavailableState); in processMessage()
1131 transitionTo(mInitialState); in processMessage()
1135 transitionTo(mUnavailableState); in processMessage()
1148 transitionTo(mInitialState); in processMessage()
1156 transitionTo(mWaitingForRestartState); in processMessage()
1175 transitionTo(mInitialState); in enter()
1211 transitionTo(mInitialState); in enter()
[all …]

123