Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeScreenBrightnessTest.java96 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_setsScreenBrightnessToValidValue()
104 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensor()
105 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesLightSensor()
114 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesDebugValue()
115 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testAod_usesDebugValue()
132 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testAod_usesLightSensorRespectingUserSetting()
138 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testPausingAod_doesntPauseLightSensor()
139 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testPausingAod_doesntPauseLightSensor()
143 mScreen.transitionTo(DOZE_AOD, DOZE_AOD_PAUSING); in testPausingAod_doesntPauseLightSensor()
144 mScreen.transitionTo(DOZE_AOD_PAUSING, DOZE_AOD_PAUSED); in testPausingAod_doesntPauseLightSensor()
[all …]
DDozeScreenStateTest.java86 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInDoze()
87 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_offInDoze()
94 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInAod()
95 mScreen.transitionTo(INITIALIZED, DOZE_AOD); in testScreen_onInAod()
102 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_onInPulse()
103 mScreen.transitionTo(INITIALIZED, DOZE); in testScreen_onInPulse()
105 mScreen.transitionTo(DOZE, DOZE_REQUEST_PULSE); in testScreen_onInPulse()
106 mScreen.transitionTo(DOZE_REQUEST_PULSE, DOZE_PULSING); in testScreen_onInPulse()
113 mScreen.transitionTo(UNINITIALIZED, INITIALIZED); in testScreen_offInRequestPulseWithoutAoD()
114 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 …]
DDozeMachineTest.java99 verify(mPartMock).transitionTo(UNINITIALIZED, INITIALIZED); in testInitialize_initializesParts()
108 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_goesToDoze()
118 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD); in testInitialize_goesToAod()
128 verify(mPartMock).transitionTo(INITIALIZED, DOZE_AOD_DOCKED); in testInitialize_afterDocked_goesToDockedAod()
140 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_afterDockPaused_goesToDoze()
151 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_dozeSuppressed_alwaysOnDisabled_goesToDoze()
162 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_dozeSuppressed_alwaysOnEnabled_goesToDoze()
173 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_dozeSuppressed_afterDocked_goesToDoze()
186 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_dozeSuppressed_alwaysOnDisabled_afterDockPaused_goesToDoze()
199 verify(mPartMock).transitionTo(INITIALIZED, DOZE); in testInitialize_dozeSuppressed_alwaysOnEnabled_afterDockPaused_goesToDoze()
[all …]
DDozeTriggersTest.java104 mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testOnNotification_stillWorksAfterOneFailedProxCheck()
105 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testOnNotification_stillWorksAfterOneFailedProxCheck()
126 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in testTransitionTo_disablesAndEnablesTouchSensors()
131 mTriggers.transitionTo(DozeMachine.State.DOZE, in testTransitionTo_disablesAndEnablesTouchSensors()
133 mTriggers.transitionTo(DozeMachine.State.DOZE_REQUEST_PULSE, in testTransitionTo_disablesAndEnablesTouchSensors()
139 mTriggers.transitionTo(DozeMachine.State.DOZE_PULSING, DozeMachine.State.DOZE_PULSE_DONE); in testTransitionTo_disablesAndEnablesTouchSensors()
146 mTriggers.transitionTo(DozeMachine.State.INITIALIZED, DozeMachine.State.DOZE); in transitionToDockedAod_disablesTouchSensors()
150 mTriggers.transitionTo(DozeMachine.State.DOZE, DozeMachine.State.DOZE_AOD_DOCKED); in transitionToDockedAod_disablesTouchSensors()
158 mTriggers.transitionTo(DozeMachine.State.UNINITIALIZED, DozeMachine.State.INITIALIZED); in testDockEventListener_registerAndUnregister()
161 mTriggers.transitionTo(DozeMachine.State.DOZE, DozeMachine.State.FINISH); in testDockEventListener_registerAndUnregister()
DDozeUiTest.java97 mDozeUi.transitionTo(UNINITIALIZED, INITIALIZED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
98 mDozeUi.transitionTo(INITIALIZED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
99 mDozeUi.transitionTo(DOZE_AOD, DOZE_AOD_PAUSED); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
103 mDozeUi.transitionTo(DOZE_AOD_PAUSED, DOZE_AOD); in pausingAndUnpausingAod_registersTimeTickAfterUnpausing()
152 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_alwaysOn()
171 mDozeUi.transitionTo(UNINITIALIZED, DOZE); in transitionSetsAnimateWakeup_noAlwaysOn()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DScrimControllerTest.java228 mScrimController.transitionTo(ScrimState.KEYGUARD); in setup()
240 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToKeyguard()
254 mScrimController.transitionTo(ScrimState.OFF); in transitionToOff()
268 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withRegularWallpaper()
283 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaper()
291 mScrimController.transitionTo(ScrimState.PULSING); in transitionToAod_withAodWallpaper()
303 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withAodWallpaperAndLockScreenWallpaper()
318 mScrimController.transitionTo(ScrimState.AOD); in setHasBackdrop_withAodWallpaperAndAlbumArt()
335 mScrimController.transitionTo(ScrimState.KEYGUARD); in transitionToAod_withFrontAlphaUpdates()
344 mScrimController.transitionTo(ScrimState.AOD); in transitionToAod_withFrontAlphaUpdates()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNavigationBarControllerTest.java186 mNavigationBarController.transitionTo(INVALID_DISPLAY, 3, true); in testTransitionToWithInvalidDisplay()
191 doNothing().when(mDefaultNavBar).transitionTo(anyInt(), anyBoolean()); in testTransitionToWithDefaultDisplay()
193 mNavigationBarController.transitionTo(DEFAULT_DISPLAY, 3, true); in testTransitionToWithDefaultDisplay()
195 verify(mDefaultNavBar).transitionTo(eq(3), eq(true)); in testTransitionToWithDefaultDisplay()
200 doNothing().when(mSecondaryNavBar).transitionTo(anyInt(), anyBoolean()); in testTransitionToWithSecondaryDisplay()
202 mNavigationBarController.transitionTo(SECONDARY_DISPLAY, 3, true); in testTransitionToWithSecondaryDisplay()
204 verify(mSecondaryNavBar).transitionTo(eq(3), eq(true)); in testTransitionToWithSecondaryDisplay()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSupplicantStateTracker.java136 transitionTo(mDisconnectState); in transitionOnSupplicantStateChange()
142 transitionTo(mScanState); in transitionOnSupplicantStateChange()
149 transitionTo(mHandshakeState); in transitionOnSupplicantStateChange()
152 transitionTo(mCompletedState); in transitionOnSupplicantStateChange()
155 transitionTo(mDormantState); in transitionOnSupplicantStateChange()
158 transitionTo(mInactiveState); in transitionOnSupplicantStateChange()
162 transitionTo(mUninitializedState); in transitionOnSupplicantStateChange()
265 transitionTo(mUninitializedState); in processMessage()
DActiveModeWarden.java710 transitionTo(mEnabledState); in exitEmergencyMode()
712 transitionTo(mDisabledState); in exitEmergencyMode()
736 transitionTo(mDisabledState); in processMessage()
776 transitionTo(mEnabledState); in processMessage()
821 transitionTo(mEnabledState); in processMessageFiltered()
828 transitionTo(mEnabledState); in processMessageFiltered()
842 transitionTo(mEnabledState); in processMessageFiltered()
927 transitionTo(mDisabledState); in processMessageFiltered()
939 transitionTo(mDisabledState); in processMessageFiltered()
/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()
DDemo1.java81 mTransitionManager.transitionTo(mSearchScreen); in sendMessage()
84 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()
/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.java490 transitionTo(mLegacyState); in processMessage()
536 transitionTo(mNrConnectedState); in processMessage()
547 transitionTo(mNrConnectedState); in processMessage()
598 transitionTo(mNrConnectedState); in processMessage()
605 transitionTo(mNrConnectedState); in processMessage()
665 transitionTo(mNrConnectedState); in processMessage()
672 transitionTo(mNrConnectedState); in processMessage()
762 transitionTo(mNrConnectedState); in processMessage()
802 transitionTo(destState); in transitionWithTimerTo()
817 transitionTo(getCurrentState()); in transitionWithSecondaryTimerTo()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java969 transitionTo(mP2pDisabledState); in processMessage()
979 transitionTo(mP2pDisabledState); in processMessage()
1370 transitionTo(mP2pDisabledState); in processMessage()
1380 transitionTo(mP2pDisabledState); in processMessage()
1432 transitionTo(mInactiveState); in processMessage()
1474 transitionTo(mP2pDisabledState); in processMessage()
1488 transitionTo(mP2pDisablingState); in processMessage()
1829 transitionTo(mGroupNegotiationState); in processMessage()
1847 transitionTo(mGroupNegotiationState); in processMessage()
1852 transitionTo(mProvisionDiscoveryState); in processMessage()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeMachine.java216 transitionTo(mQueuedRequests.get(i), pulseReason); in requestState()
262 private void transitionTo(State requestedState, int pulseReason) { in transitionTo() method in DozeMachine
298 p.transitionTo(oldState, newState); in performTransitionOnComponents()
394 transitionTo(nextState, DozeLog.PULSE_REASON_NONE); in resolveIntermediateState()
419 void transitionTo(State oldState, State newState); in transitionTo() method
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DFullScreenMagnificationGestureHandler.java207 transitionTo(mDetectingState); in FullScreenMagnificationGestureHandler()
348 private void transitionTo(State state) { in transitionTo() method in FullScreenMagnificationGestureHandler
422 transitionTo(state); in persistScaleAndTransitionTo()
524 transitionTo(mPanningScalingState); in onMotionEvent()
549 transitionTo(mDetectingState); in onMotionEvent()
589 transitionTo(mDetectingState); in onMotionEvent()
594 transitionTo(mDelegatingState); in onMotionEvent()
791 transitionTo(mPanningScalingState); in transitToPanningScalingStateAndClear()
929 transitionTo(mDelegatingState); in transitionToDelegatingStateAndClear()
968 transitionTo(mViewportDraggingState); in transitionToViewportDraggingStateAndClear()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java457 transitionTo(mInitialState); in handleError()
1054 transitionTo(mLocalHotspotState); in processMessage()
1058 transitionTo(mTetheredState); in processMessage()
1065 transitionTo(mUnavailableState); in processMessage()
1124 transitionTo(mInitialState); in processMessage()
1128 transitionTo(mUnavailableState); in processMessage()
1141 transitionTo(mInitialState); in processMessage()
1149 transitionTo(mWaitingForRestartState); in processMessage()
1168 transitionTo(mInitialState); in enter()
1204 transitionTo(mInitialState); in enter()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccConnector.java557 transitionTo(mAvailableState); in processMessage()
559 transitionTo(mUnavailableState); in processMessage()
585 transitionTo(mBindingState); in processMessage()
606 transitionTo(mDisconnectedState); in enter()
612 transitionTo(mAvailableState); in enter()
645 transitionTo(mConnectedState); in processMessage()
665 transitionTo(mUnavailableState); in processMessage()
667 transitionTo(mBindingState); in processMessage()
673 transitionTo(mAvailableState); in processMessage()
702 transitionTo(mDisconnectedState); in processMessage()
[all …]

123