Home
last modified time | relevance | path

Searched refs:STATE_CONNECTING (Results 1 – 25 of 111) sorted by relevance

12345

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java357 BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout()
361 assertThat(connectionState).isEqualTo(BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
367 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
395 BluetoothProfile.STATE_CONNECTING, in testConnectAPair_connectBothDevices()
398 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testConnectAPair_connectBothDevices()
401 BluetoothProfile.STATE_CONNECTING, in testConnectAPair_connectBothDevices()
404 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testConnectAPair_connectBothDevices()
430 BluetoothProfile.STATE_CONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
434 BluetoothProfile.STATE_CONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
452 mLeftDevice, BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING); in testConnectAnotherPair_disconnectCurrentPair()
[all …]
DHearingAidStateMachineTest.java147 BluetoothProfile.STATE_CONNECTING, in testIncomingPriorityAccept()
193 BluetoothProfile.STATE_CONNECTING, in testOutgoingTimeout()
240 BluetoothProfile.STATE_CONNECTING, in testIncomingTimeout()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachineTest.java123 assertThat(mStateMachine.getState()).isEqualTo(BluetoothProfile.STATE_CONNECTING); in testConnectInDisconnected()
150 sendConnectionEvent(BluetoothProfile.STATE_CONNECTING); in testAllowedIncomingConnectionInDisconnected()
151 assertThat(mStateMachine.getState()).isEqualTo(BluetoothProfile.STATE_CONNECTING); in testAllowedIncomingConnectionInDisconnected()
159 sendConnectionEvent(BluetoothProfile.STATE_CONNECTING); in testForbiddenIncomingConnectionInDisconnected()
168 sendConnectionEvent(BluetoothProfile.STATE_CONNECTING); in testUnknownIncomingConnectionInDisconnected()
169 assertThat(mStateMachine.getState()).isEqualTo(BluetoothProfile.STATE_CONNECTING); in testUnknownIncomingConnectionInDisconnected()
191 sendConnectionEvent(BluetoothProfile.STATE_CONNECTING); in testIncomingConnectingInDisconnected()
218 sendConnectionEvent(BluetoothProfile.STATE_CONNECTING); in testConnectingInConnecting()
219 assertThat(mStateMachine.getState()).isEqualTo(BluetoothProfile.STATE_CONNECTING); in testConnectingInConnecting()
227 assertThat(mStateMachine.getState()).isEqualTo(BluetoothProfile.STATE_CONNECTING); in testDisconnectingInConnecting()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DDataConnectionStatusTracker.java41 static final int STATE_CONNECTING = 1; field in DataConnectionStatusTracker
48 STATE_CONNECTING,
129 return mState == STATE_CONNECTING || mState == STATE_HANDOVER; in isConnectionInProgress()
185 if (mState == STATE_CONNECTING) { in onDataConnectionStateChanged()
197 mState = STATE_CONNECTING; in onDataConnectionStateChanged()
206 if (mState == STATE_CONNECTING || mState == STATE_INACTIVE) { in onDataConnectionStateChanged()
290 case STATE_CONNECTING: in stateToString()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java324 BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout()
327 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
337 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
360 BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectDisconnectSuccess()
363 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectDisconnectSuccess()
374 sTestDevice, BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectDisconnectSuccess()
434 BluetoothProfile.STATE_CONNECTING, in testMaxConnectDevices()
437 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testMaxConnectDevices()
449 BluetoothProfile.STATE_CONNECTING); in testMaxConnectDevices()
479 BluetoothProfile.STATE_CONNECTING, in testCreateStateMachineStackEvents()
[all …]
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DDataConnectionStatusTrackerTest.java33 import static com.android.telephony.qns.DataConnectionStatusTracker.STATE_CONNECTING;
171 STATE_CONNECTING, TRANSPORT_TYPE_WWAN, EVENT_DATA_CONNECTION_STARTED); in testOnCellular()
212 STATE_CONNECTING, TRANSPORT_TYPE_WWAN, EVENT_DATA_CONNECTION_STARTED); in testCellularConnectingToDisconnect()
241 STATE_CONNECTING, TRANSPORT_TYPE_WLAN, EVENT_DATA_CONNECTION_STARTED); in testOnIwlan()
283 STATE_CONNECTING, TRANSPORT_TYPE_WLAN, EVENT_DATA_CONNECTION_STARTED); in testIwlanConnectingToDisconnect()
313 STATE_CONNECTING, TRANSPORT_TYPE_WWAN, EVENT_DATA_CONNECTION_STARTED); in testOnCellularHandover()
367 STATE_CONNECTING, TRANSPORT_TYPE_WWAN, EVENT_DATA_CONNECTION_STARTED); in testHandoverOnNonSrcTransportType()
406 STATE_CONNECTING, TRANSPORT_TYPE_WWAN, EVENT_DATA_CONNECTION_STARTED); in testOnCellularHandoverSuspended()
460 STATE_CONNECTING, TRANSPORT_TYPE_WWAN, EVENT_DATA_CONNECTION_STARTED); in testOnCellularHandoverFail()
556 STATE_CONNECTING, TRANSPORT_TYPE_WLAN, EVENT_DATA_CONNECTION_STARTED); in testOnIwlanWithApnSetting()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/bas/
DBatteryStateMachineTest.java173 eq(BluetoothProfile.STATE_CONNECTING)); in testSuccessfullyConnected()
186 eq(BluetoothProfile.STATE_CONNECTING), in testSuccessfullyConnected()
205 eq(BluetoothProfile.STATE_CONNECTING)); in testDisconnectBeforeConnected()
212 eq(BluetoothProfile.STATE_CONNECTING), in testDisconnectBeforeConnected()
315 eq(BluetoothProfile.STATE_CONNECTING)); in testDisconnectResetBatteryLevel()
327 eq(BluetoothProfile.STATE_CONNECTING), in testDisconnectResetBatteryLevel()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java553 BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout()
556 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
563 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
636 BluetoothProfile.STATE_CONNECTING, in testAudioManagerConnectDisconnect()
639 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testAudioManagerConnectDisconnect()
643 BluetoothProfile.STATE_CONNECTING, in testAudioManagerConnectDisconnect()
646 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testAudioManagerConnectDisconnect()
661 BluetoothProfile.STATE_CONNECTING); in testAudioManagerConnectDisconnect()
677 BluetoothProfile.STATE_CONNECTING); in testAudioManagerConnectDisconnect()
764 BluetoothProfile.STATE_CONNECTING, in testCreateStateMachineStackEvents()
[all …]
DLeAudioStateMachineTest.java150 any(), eq(BluetoothProfile.STATE_CONNECTING), anyInt()); in testIncomingPriorityAccept()
167 any(), eq(BluetoothProfile.STATE_CONNECTING), anyInt()); in testIncomingPriorityAccept()
189 any(), eq(BluetoothProfile.STATE_CONNECTING), anyInt()); in testOutgoingTimeout()
222 any(), eq(BluetoothProfile.STATE_CONNECTING), anyInt()); in testIncomingTimeout()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java293 .thenReturn(BluetoothProfile.STATE_CONNECTING); in testConnectDevice_connectDeviceBelowLimit()
295 BluetoothProfile.STATE_CONNECTING, in testConnectDevice_connectDeviceBelowLimit()
443 .thenReturn(BluetoothProfile.STATE_CONNECTING); in testConnectDevice_connectDeviceAboveLimit()
579 .thenReturn(BluetoothProfile.STATE_CONNECTING); in testConnectAudio_withMultipleDevices()
583 BluetoothProfile.STATE_CONNECTING); in testConnectAudio_withMultipleDevices()
599 BluetoothProfile.STATE_CONNECTING, in testConnectAudio_withMultipleDevices()
680 .thenReturn(BluetoothProfile.STATE_CONNECTING); in testConnectAudio_connectTwoAudioChannelsShouldFail()
684 BluetoothProfile.STATE_CONNECTING); in testConnectAudio_connectTwoAudioChannelsShouldFail()
697 BluetoothProfile.STATE_CONNECTING, in testConnectAudio_connectTwoAudioChannelsShouldFail()
785 .thenReturn(BluetoothProfile.STATE_CONNECTING); in testConnectAudio_firstConnectedAudioDevice()
[all …]
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/occupantconnection/
DSenderFragment.java48 private static final int STATE_CONNECTING = 1; field in SenderFragment
119 if (mConnectionState == STATE_CONNECTING) { in onCreateView()
131 mConnectionState = STATE_CONNECTING; in onCreateView()
142 if (mConnectionState != STATE_CONNECTING) { in onCreateView()
249 if (mConnectionState == STATE_CONNECTING) { in onDestroy()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java73 static final int STATE_CONNECTING = 5; field in BluetoothPeripheralHandover
372 mState = STATE_CONNECTING; in nextStepConnect()
419 case STATE_CONNECTING: in nextStepConnect()
499 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
513 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
527 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
627 } else if (mState == STATE_CONNECTING) {
650 } else if (mState == STATE_CONNECTING) {
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothProfile.java61 int STATE_CONNECTING = 1; field
72 STATE_CONNECTING,
407 case STATE_CONNECTING: in getConnectionStateName()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java754 if (state == BluetoothProfile.STATE_CONNECTING) { in logConnectionStateChanges()
833 || state == BluetoothProfile.STATE_CONNECTING in validateProfileConnectionState()
846 case BluetoothProfile.STATE_CONNECTING: in convertToAdapterState()
847 return BluetoothAdapter.STATE_CONNECTING; in convertToAdapterState()
856 return nextState == BluetoothProfile.STATE_CONNECTING; in isNormalStateTransition()
860 case BluetoothProfile.STATE_CONNECTING: in isNormalStateTransition()
870 case BluetoothProfile.STATE_CONNECTING: in updateCountersAndCheckForConnectionStateChange()
902 case BluetoothProfile.STATE_CONNECTING: in updateCountersAndCheckForConnectionStateChange()
950 || (newState == BluetoothProfile.STATE_CONNECTING in updateProfileConnectionState()
959 || currHashState == BluetoothProfile.STATE_CONNECTING) { in updateProfileConnectionState()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClientTest.java123 mClient.setConnectionState(BluetoothProfile.STATE_CONNECTING); in setConnectionState()
125 assertThat(mClient.getState()).isEqualTo(BluetoothProfile.STATE_CONNECTING); in setConnectionState()
133 mClient.setConnectionState(BluetoothProfile.STATE_CONNECTING); in getConnectionState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothA2dpConnector.java105 BluetoothA2dp.EXTRA_PREVIOUS_STATE, BluetoothA2dp.STATE_CONNECTING);
107 BluetoothA2dp.EXTRA_STATE, BluetoothA2dp.STATE_CONNECTING);
113 if (previousState == BluetoothA2dp.STATE_CONNECTING) {
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java376 BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectDisconnectExistingVolumeControlUuid()
389 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectDisconnectExistingVolumeControlUuid()
424 BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout()
427 BluetoothProfile.STATE_CONNECTING, mService.getConnectionState(mDevice)); in testOutgoingConnectTimeout()
434 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
455 mDevice, BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED); in testCreateStateMachineStackEvents()
457 BluetoothProfile.STATE_CONNECTING, mService.getConnectionState(mDevice)); in testCreateStateMachineStackEvents()
462 mDevice, BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_CONNECTING); in testCreateStateMachineStackEvents()
513 mDevice, BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_DISCONNECTED); in testDeleteStateMachineDisconnectEvents()
515 BluetoothProfile.STATE_CONNECTING, mService.getConnectionState(mDevice)); in testDeleteStateMachineDisconnectEvents()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachineTest.java21 import static android.bluetooth.BluetoothProfile.STATE_CONNECTING;
164 STATE_CONNECTING, in testIncomingPolicyAccept()
207 STATE_CONNECTING, in testOutgoingTimeout()
250 STATE_CONNECTING, in testIncomingTimeout()
424 Assert.assertEquals(STATE_CONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onConnectingState()
432 Assert.assertEquals(STATE_CONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onConnectingState()
440 Assert.assertEquals(STATE_CONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onConnectingState()
DCsipSetCoordinatorServiceTest.java457 BluetoothProfile.STATE_CONNECTING, in testOutgoingConnectTimeout()
460 BluetoothProfile.STATE_CONNECTING, mService.getConnectionState(mTestDevice)); in testOutgoingConnectTimeout()
467 BluetoothProfile.STATE_CONNECTING); in testOutgoingConnectTimeout()
546 mTestDevice, BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_CONNECTED); in testStackEventSetMemberAvailableAfterGroupConnected()
594 mTestDevice, BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_CONNECTED); in testStackEventSetMemberAvailableBeforeGroupConnected()
628 mTestDevice, BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_CONNECTED); in testDisableCsipAfterConnectingIfLeAudioDisabled()
648 mTestDevice2, BluetoothProfile.STATE_CONNECTING, BluetoothProfile.STATE_CONNECTED); in testDisableCsipAfterConnectingIfLeAudioDisabled()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachineTest.java102 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testDefaultConnectingState()
112 .isEqualTo(BluetoothProfile.STATE_CONNECTING); in testStateTransitionFromConnectingToDisconnected()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java271 if (mLastConnectionState == BluetoothProfile.STATE_CONNECTING in logFailureIfNeeded()
276 (mLastConnectionState == BluetoothProfile.STATE_CONNECTING) in logFailureIfNeeded()
306 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
320 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
671 if (mLastConnectionState == BluetoothProfile.STATE_CONNECTING in logSuccessIfNeeded()
874 case BluetoothProfile.STATE_CONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java248 setConnectionState(BluetoothProfile.STATE_CONNECTING); in connect()
289 setConnectionState(BluetoothProfile.STATE_CONNECTING); in refreshObexSession()
430 case BluetoothProfile.STATE_CONNECTING: in getStateName()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java245 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
246 broadcastConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter()
256 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
570 case BluetoothProfile.STATE_CONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java649 && connectionState != BluetoothProfile.STATE_CONNECTING) { in disconnect()
912 && connectionState != BluetoothProfile.STATE_CONNECTING) { in holdCall()
967 && connectionState != BluetoothProfile.STATE_CONNECTING) { in rejectCall()
985 && connectionState != BluetoothProfile.STATE_CONNECTING) { in terminateCall()
1004 && connectionState != BluetoothProfile.STATE_CONNECTING) { in enterPrivateMode()
1023 && connectionState != BluetoothProfile.STATE_CONNECTING) { in dial()
1060 && connectionState != BluetoothProfile.STATE_CONNECTING) { in sendDTMF()
1096 && connectionState != BluetoothProfile.STATE_CONNECTING) { in explicitCallTransfer()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java245 mConnectionState = BluetoothProfile.STATE_CONNECTING; in enter()
246 broadcastConnectionState(BluetoothProfile.STATE_CONNECTING, mLastConnectionState); in enter()
256 mLastConnectionState = BluetoothProfile.STATE_CONNECTING; in exit()
583 case BluetoothProfile.STATE_CONNECTING: in profileStateToString()

12345