Home
last modified time | relevance | path

Searched refs:getCurrentState (Results 1 – 25 of 44) sorted by relevance

12

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java151 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testDefaultDisconnectedState()
163 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testSetupConnectedState()
178 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_Connect()
195 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_StackConnected()
212 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_StackConnecting()
231 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_StackDisconnected()
246 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_StackDisconnected()
264 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_Timeout()
282 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToConnected_StackSlcConnected()
293 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToConnected_StackSlcConnected()
[all …]
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionStateMachineTest.java1408 mIkeSessionStateMachine.getCurrentState() in disableTestCreateIkeLocalIkeInit()
1486 mIkeSessionStateMachine.getCurrentState() instanceof IkeSessionStateMachine.Idle); in setupIdleStateMachine()
1563 mIkeSessionStateMachine.getCurrentState() in testCreateAdditionalChild()
1607 mIkeSessionStateMachine.getCurrentState() in testCreateAdditionalChild()
1633 mIkeSessionStateMachine.getCurrentState() instanceof IkeSessionStateMachine.Idle); in testCreateAdditionalChild()
1650 mIkeSessionStateMachine.getCurrentState() in testTriggerDeleteChildLocal()
1669 mIkeSessionStateMachine.getCurrentState() instanceof IkeSessionStateMachine.Idle); in testHandleDeleteChildBeforeCreation()
1685 mIkeSessionStateMachine.getCurrentState() in testTriggerRekeyChildLocal()
1715 mIkeSessionStateMachine.getCurrentState() in transitionToChildProcedureOngoing()
1774 mIkeSessionStateMachine.getCurrentState() in testDeferChildRequestToChildProcedureOngoing()
[all …]
DChildSessionStateMachineTest.java443 mChildSessionStateMachine.getCurrentState() in verifyInitCreateChildResp()
474 mChildSessionStateMachine.getCurrentState() in verifyInitCreateChildResp()
591 assertNull(mChildSessionStateMachine.getCurrentState()); in verifyHandleFatalErrorAndQuit()
641 mChildSessionStateMachine.getCurrentState() in testCreateChildHandlesTemporaryFailure()
716 mChildSessionStateMachine.getCurrentState() in setupIdleStateMachine()
771 mChildSessionStateMachine.getCurrentState() in testDeleteChildLocal()
781 assertNull(mChildSessionStateMachine.getCurrentState()); in testDeleteChildLocal()
798 assertNull(mChildSessionStateMachine.getCurrentState()); in testDeleteChildLocalHandlesInvalidResp()
808 assertNull(mChildSessionStateMachine.getCurrentState()); in testDeleteChildLocalInInitial()
836 assertNull(mChildSessionStateMachine.getCurrentState()); in testSimultaneousDeleteChild()
[all …]
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java145 ModeListState getCurrentState() { in getCurrentState() method in ModeListView.CurrentStateManager
1040 mCurrentStateManager.getCurrentState().onScroll(e1, e2, distanceX, distanceY);
1047 mCurrentStateManager.getCurrentState().onSingleTapUp(ev);
1055 mCurrentStateManager.getCurrentState().onFling(e1, e2, velocityX, velocityY);
1062 mCurrentStateManager.getCurrentState().onDown(ev);
1076 mCurrentStateManager.getCurrentState().onItemSelected(selectedItem); in onItemSelected()
1184 if (mCurrentStateManager.getCurrentState() == null) { in init()
1303 if (!mCurrentStateManager.getCurrentState().shouldHandleTouchEvent(ev)) { in onTouchEvent()
1311 mCurrentStateManager.getCurrentState().onTouchEvent(ev); in onTouchEvent()
1353 if (mCurrentStateManager.getCurrentState().getCurrentAnimationEffects() != null) { in onLayout()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachineTest.java133 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingPriorityReject()
159 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingPriorityAccept()
175 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingPriorityAccept()
203 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testOutgoingTimeout()
214 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testOutgoingTimeout()
247 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingTimeout()
258 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingTimeout()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/
DPbapStateMachineTest.java101 Assert.assertThat(mPbapStateMachine.getCurrentState(), in testInitialState()
114 Assert.assertThat(mPbapStateMachine.getCurrentState(), in testStateTransition_WaitingForAuthToFinished()
127 Assert.assertThat(mPbapStateMachine.getCurrentState(), in testStateTransition_WaitingForAuthToConnected()
140 Assert.assertThat(mPbapStateMachine.getCurrentState(), in testStateTransition_ConnectedToFinished()
147 Assert.assertThat(mPbapStateMachine.getCurrentState(), in testStateTransition_ConnectedToFinished()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpStateMachineTest.java154 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingPriorityReject()
180 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingPriorityAccept()
203 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingPriorityAccept()
227 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testOutgoingTimeout()
238 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testOutgoingTimeout()
266 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingTimeout()
277 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingTimeout()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java163 State currentState = getCurrentState(); in start()
188 public State getCurrentState() { in getCurrentState() method in StateMachine
228 State currentState = getCurrentState(); in updateState()
245 getCurrentState().getClass() + "Invalid transition " + event); in updateState()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteManagerTest.java98 assertEquals(BluetoothRouteManager.AUDIO_OFF_STATE_NAME, sm.getCurrentState().getName()); in testConnectHfpRetryWhileNotConnected()
118 sm.getCurrentState().getName()); in testAmbiguousActiveDevice()
134 sm.getCurrentState().getName()); in testAudioOnDeviceWithScoOffActiveDevice()
158 sm.getCurrentState().getName()); in testConnectHfpRetryWhileConnectedToAnotherDevice()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiTetherBasePreferenceControllerTest.java106 assertThat(getShadowCarWifiManager().getCurrentState()) in onStart_shouldStartCarWifiManager()
115 assertThat(getShadowCarWifiManager().getCurrentState()) in onStop_shouldStopCarWifiManager()
124 assertThat(getShadowCarWifiManager().getCurrentState()) in onDestroy_shouldDestroyCarWifiManager()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java235 IState currentState = this.getCurrentState(); in getState()
267 if (this.getCurrentState() == mConnected) { in sendMapMessage()
314 if (this.getCurrentState() == mConnected) { in getMessage()
325 if (this.getCurrentState() == mConnected) { in getUnreadMessages()
333 if (this.getCurrentState() == mConnected && mMasClient != null) { in getSupportedFeatures()
345 if (this.getCurrentState() == mConnected) { in setMessageStatus()
DMnsService.java136 + stateMachine.getCurrentState()); in onConnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/
DStateMachine.java1149 private final IState getCurrentState() { in getCurrentState() method in StateMachine.SmHandler
1391 public final IState getCurrentState() { in getCurrentState() method in StateMachine
1395 return smh.getCurrentState(); in getCurrentState()
1562 smh.mLogRecords.add(this, smh.getCurrentMessage(), string, smh.getCurrentState(), in addLogRec()
2078 pw.println("curState=" + getCurrentState().getName()); in dump()
2087 state = mSmHandler.getCurrentState().getName().toString(); in toString()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java149 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingPriorityReject()
178 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingPriorityAccept()
195 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingPriorityAccept()
224 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingTimeout()
236 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingTimeout()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpControllerStateMachineTest.java172 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in testDisconnect()
206 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in testControlOnly()
238 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in testBrowsingOnly()
907 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in setUpConnectedState()
914 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in setUpConnectedState()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java66 int srcState = mStateProvider.getCurrentState(); in logAppLaunch()
99 int srcState = mStateProvider.getCurrentState(); in logSwipeOnContainer()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionUiStateManager.java327 public PredictionState getCurrentState() { in getCurrentState() method
348 final List<ComponentKeyMapper> predictedApps = manager.getCurrentState().apps; in fillInPredictedRank()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java371 IState currentState = getCurrentState(); in getConnectionState()
423 if (getCurrentState() instanceof Disconnected) { in getDevice()
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateMachine.java32 public State getCurrentState(); in getCurrentState() method
DStateMachineImpl.java78 public State getCurrentState() { in getCurrentState() method in StateMachineImpl
/packages/apps/Launcher3/src/com/android/launcher3/logging/
DStatsLogUtils.java27 int getCurrentState(); in getCurrentState() method
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowCarWifiManager.java159 public static int getCurrentState() { in getCurrentState() method in ShadowCarWifiManager
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java160 Assert.equals(PendingAttachmentData.STATE_PENDING, data.getCurrentState()); in updateFromMessageData()
428 Assert.equals(PendingAttachmentData.STATE_PENDING, pendingAttachment.getCurrentState()); in addOnePendingAttachmentNoNotify()
/packages/apps/Settings/src/com/android/settings/network/
DProxySubscriptionManager.java106 || (lifecycle.getCurrentState().isAtLeast(Lifecycle.State.STARTED))) { in notifyAllListeners()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClient.java1698 mMsgStateLogger.handled(this, getCurrentState()); in processMessage()
1738 mMsgStateLogger.handled(this, getCurrentState()); in processMessage()
1915 mMsgStateLogger.handled(this, getCurrentState()); in processMessage()
2189 mMsgStateLogger.handled(this, getCurrentState()); in processMessage()

12