/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachineTest.java | 152 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testDefaultDisconnectedState() 164 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testSetupConnectedState() 180 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_Connect() 198 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_StackConnected() 216 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_DisconnectedToConnecting_StackConnecting() 235 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_StackDisconnected() 251 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_StackDisconnected() 270 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToDisconnected_Timeout() 288 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToConnected_StackSlcConnected() 299 Assert.assertThat(mHeadsetStateMachine.getCurrentState(), in testStateTransition_ConnectingToConnected_StackSlcConnected() [all …]
|
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSessionStateMachineTest.java | 1510 assertNull(mIkeSessionStateMachine.getCurrentState()); in setupAndVerifyDnsResolutionForIkeSession() 1642 mIkeSessionStateMachine.getCurrentState() in testCreateIkeLocalIkeInitReceivesCookie() 1663 mIkeSessionStateMachine.getCurrentState() in testCreateIkeLocalIkeInitRcvRespAfterRcvCookie() 1837 mIkeSessionStateMachine.getCurrentState() in disableTestCreateIkeLocalIkeInit() 1932 mIkeSessionStateMachine.getCurrentState() instanceof IkeSessionStateMachine.Idle); in setupIdleStateMachine() 2009 mIkeSessionStateMachine.getCurrentState() in testCreateAdditionalChild() 2054 mIkeSessionStateMachine.getCurrentState() in testCreateAdditionalChild() 2080 mIkeSessionStateMachine.getCurrentState() instanceof IkeSessionStateMachine.Idle); in testCreateAdditionalChild() 2097 mIkeSessionStateMachine.getCurrentState() in testTriggerDeleteChildLocal() 2116 mIkeSessionStateMachine.getCurrentState() instanceof IkeSessionStateMachine.Idle); in testHandleDeleteChildBeforeCreation() [all …]
|
D | ChildSessionStateMachineTest.java | 455 mChildSessionStateMachine.getCurrentState() in verifyInitCreateChildResp() 486 mChildSessionStateMachine.getCurrentState() in verifyInitCreateChildResp() 655 assertNull(mChildSessionStateMachine.getCurrentState()); in verifyHandleFatalErrorAndQuit() 705 mChildSessionStateMachine.getCurrentState() in testCreateChildHandlesTemporaryFailure() 781 mChildSessionStateMachine.getCurrentState() in setupIdleStateMachine() 840 mChildSessionStateMachine.getCurrentState() in testDeleteChildLocal() 850 assertNull(mChildSessionStateMachine.getCurrentState()); in testDeleteChildLocal() 871 assertNull(mChildSessionStateMachine.getCurrentState()); in testDeleteChildLocalExecuteCbAfterKillSession() 889 assertNull(mChildSessionStateMachine.getCurrentState()); in testDeleteChildLocalHandlesInvalidResp() 899 assertNull(mChildSessionStateMachine.getCurrentState()); in testDeleteChildLocalInInitial() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioStateMachineTest.java | 131 assertThat(mLeAudioStateMachine.getCurrentState()) in testIncomingPriorityReject() 157 assertThat(mLeAudioStateMachine.getCurrentState()) in testIncomingPriorityAccept() 173 assertThat(mLeAudioStateMachine.getCurrentState()) in testIncomingPriorityAccept() 200 assertThat(mLeAudioStateMachine.getCurrentState()) in testOutgoingTimeout() 212 assertThat(mLeAudioStateMachine.getCurrentState()) in testOutgoingTimeout() 243 assertThat(mLeAudioStateMachine.getCurrentState()) in testIncomingTimeout() 255 assertThat(mLeAudioStateMachine.getCurrentState()) in testIncomingTimeout()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeListView.java | 145 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/ |
D | HearingAidStateMachineTest.java | 134 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingPriorityReject() 160 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingPriorityAccept() 176 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingPriorityAccept() 204 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testOutgoingTimeout() 216 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testOutgoingTimeout() 249 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingTimeout() 261 Assert.assertThat(mHearingAidStateMachine.getCurrentState(), in testIncomingTimeout()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbap/ |
D | PbapStateMachineTest.java | 101 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/ |
D | A2dpStateMachineTest.java | 155 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingPriorityReject() 181 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingPriorityAccept() 204 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingPriorityAccept() 228 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testOutgoingTimeout() 240 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testOutgoingTimeout() 268 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingTimeout() 280 Assert.assertThat(mA2dpStateMachine.getCurrentState(), in testIncomingTimeout()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiScanWorkerTest.java | 68 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onConstructor_shouldBeInCreatedState() 76 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onSlicePinned_shouldBeInResumedState() 84 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onSliceUnpinned_shouldBeInCreatedState() 92 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in close_shouldBeInDestroyedState()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | StateMachine.java | 169 State currentState = getCurrentState(); in start() 194 public State getCurrentState() { in getCurrentState() method in StateMachine 234 State currentState = getCurrentState(); in updateState() 251 getCurrentState().getClass() + "Invalid transition " + event); in updateState()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 325 private IState getCurrentState() throws in getCurrentState() method in ClientModeImplTest 703 assertEquals("DisconnectedState", getCurrentState().getName()); in initializeCmi() 830 assertEquals("L2ConnectingState", mCmi.getCurrentState().getName()); in validateSuccessfulConnectSequence() 968 assertEquals("L3ProvisioningState", getCurrentState().getName()); in connect() 1040 assertEquals("L3ConnectedState", getCurrentState().getName()); in connect() 1073 assertEquals("L3ProvisioningState", getCurrentState().getName()); in setupEapSimConnection() 1093 assertEquals("L2ConnectingState", getCurrentState().getName()); in roamRaceWithConnect() 1102 assertEquals("L2ConnectingState", getCurrentState().getName()); in roamRaceWithConnect() 1113 assertEquals("L3ProvisioningState", getCurrentState().getName()); in roamRaceWithConnect() 1129 assertEquals("L3ProvisioningState", getCurrentState().getName()); in testResetSimWhenNonConnectedSimRemoved() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | NetworkProviderWorkerTest.java | 87 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in onConstructor_shouldBeInCreatedState() 96 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in onSlicePinned_shouldBeInResumedState() 106 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in onSliceUnpinned_shouldBeInCreatedState() 115 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in close_shouldBeInDestroyedState()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | BluetoothRouteManagerTest.java | 98 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/Settings/tests/unit/src/com/android/settings/network/ |
D | ProxySubscriptionManagerTest.java | 66 doReturn(Lifecycle.State.CREATED).when(mLifecycle_ON_PAUSE).getCurrentState(); in setUp() 67 doReturn(Lifecycle.State.STARTED).when(mLifecycle_ON_RESUME).getCurrentState(); in setUp() 68 doReturn(Lifecycle.State.DESTROYED).when(mLifecycle_ON_DESTROY).getCurrentState(); in setUp()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/statemachine/ |
D | StateMachine.java | 1149 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/src/com/android/bluetooth/mapclient/ |
D | MceStateMachine.java | 246 IState currentState = this.getCurrentState(); in getState() 278 if (this.getCurrentState() == mConnected) { in sendMapMessage() 330 if (this.getCurrentState() == mConnected) { in getMessage() 341 if (this.getCurrentState() == mConnected) { in getUnreadMessages() 349 if (this.getCurrentState() == mConnected && mMasClient != null) { in getSupportedFeatures() 361 if (this.getCurrentState() == mConnected) { in setMessageStatus()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/ |
D | HeadsetClientStateMachineTest.java | 151 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingPriorityReject() 180 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingPriorityAccept() 197 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingPriorityAccept() 226 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingTimeout() 239 Assert.assertThat(mHeadsetClientStateMachine.getCurrentState(), in testIncomingTimeout()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ActiveModeWarden.java | 1149 IState state = mWifiController.getCurrentState(); in getCurrentMode() 1167 IState state = mWifiController.getCurrentState(); in isInEmergencyMode() 1651 if (getCurrentState() == mDisabledState && scanInProgress) { in handleEmergencyScanStateChange() 1655 } else if (getCurrentState() == mEnabledState && !scanInProgress) { in handleEmergencyScanStateChange() 1660 if (getCurrentState() == mDisabledState) { in handleEmergencyScanStateChange() 1662 } else if (getCurrentState() == mEnabledState) { in handleEmergencyScanStateChange()
|
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/ |
D | StateMachine.java | 32 public State getCurrentState(); in getCurrentState() method
|
D | StateMachineImpl.java | 78 public State getCurrentState() { in getCurrentState() method in StateMachineImpl
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | PbapClientStateMachine.java | 373 IState currentState = getCurrentState(); in getConnectionState() 425 if (getCurrentState() instanceof Disconnected) { in getDevice()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerStateMachineTest.java | 198 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in setUpConnectedState() 207 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in setUpConnectedState() 374 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in testDisconnectInternal() 403 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in testControlOnly() 432 Assert.assertThat(mAvrcpStateMachine.getCurrentState(), in testBrowsingOnly()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | StateMachineObituary.java | 61 final IState curState = stateMachine.getCurrentState(); in StateMachineObituary()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/ |
D | LeAudioStateMachine.java | 495 String currentState = getCurrentState().getName(); in getConnectionState() 516 return getCurrentState() == mConnected; in isConnected()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowCarWifiManager.java | 138 public static int getCurrentState() { in getCurrentState() method in ShadowCarWifiManager
|