Home
last modified time | relevance | path

Searched refs:STATE_DISCONNECTING (Results 1 – 25 of 65) sorted by relevance

123

/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothProfile.java66 int STATE_DISCONNECTING = 3; field
73 STATE_DISCONNECTING,
431 case STATE_DISCONNECTING: in getConnectionStateName()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java75 static final int STATE_DISCONNECTING = 6; field in BluetoothPeripheralHandover
268 mState = STATE_DISCONNECTING; in nextStepDisconnect()
301 case STATE_DISCONNECTING: in nextStepDisconnect()
500 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
514 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
528 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java775 || state == BluetoothProfile.STATE_DISCONNECTING); in validateProfileConnectionState()
782 case BluetoothProfile.STATE_DISCONNECTING: in convertToAdapterState()
783 return BluetoothAdapter.STATE_DISCONNECTING; in convertToAdapterState()
798 return nextState == BluetoothProfile.STATE_DISCONNECTING; in isNormalStateTransition()
799 case BluetoothProfile.STATE_DISCONNECTING: in isNormalStateTransition()
830 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
850 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
1188 case BluetoothAdapter.STATE_DISCONNECTING: in dumpConnectionState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java587 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
589 assertThat(BluetoothProfile.STATE_DISCONNECTING) in testAudioManagerConnectDisconnect()
591 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
593 assertThat(BluetoothProfile.STATE_DISCONNECTING) in testAudioManagerConnectDisconnect()
605 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
618 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
689 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
747 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
750 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
756 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java466 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
468 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
565 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
567 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
569 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
571 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
583 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
596 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
662 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
718 generateConnectionMessageFromNative(mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java289 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in refreshObexSession()
326 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in disconnect()
443 case BluetoothProfile.STATE_DISCONNECTING: in getStateName()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java148 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
420 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
421 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
428 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java338 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
339 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
346 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
556 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java158 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
199 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
404 BluetoothProfile.STATE_DISCONNECTING); in enter()
411 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlStateMachine.java314 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
328 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
335 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
542 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java333 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
334 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
341 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
551 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachine.java320 csipConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
327 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
508 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
554 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java257 BluetoothProfile.STATE_DISCONNECTING); in enter()
258 mMostRecentState = BluetoothProfile.STATE_DISCONNECTING; in enter()
396 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java352 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
372 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_Timeout()
395 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToConnected_StackSlcCconnected()
415 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_ConnectedToDisconnecting_Disconnect()
438 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_ConnectedToDisconnecting_StackDisconnecting()
620 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioConnectingToDisconnecting_StackDisconnecting()
755 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioOnToDisconnecting_StackDisconnecting()
799 BluetoothHeadset.STATE_DISCONNECTING, in testStateTransition_AudioDisconnectingToAudioOnAndDisconnecting_Timeout()
874 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioDisconnectingToDisconnecting_StackDisconnecting()
1569 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in setUpDisconnectingState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java427 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
429 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
440 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
545 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
677 generateConnectionMessageFromNative(mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
679 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
689 BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachineTest.java182 sendConnectionEvent(BluetoothProfile.STATE_DISCONNECTING); in testIncomingDisconnectingInDisconnected()
229 sendConnectionEvent(BluetoothProfile.STATE_DISCONNECTING); in testDisconnectingInConnecting()
339 sendConnectionEvent(BluetoothProfile.STATE_DISCONNECTING); in testDisconnectingInConnected()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachineTest.java23 import static android.bluetooth.BluetoothProfile.STATE_DISCONNECTING;
552 Assert.assertEquals(STATE_DISCONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onDisconnectingState()
575 Assert.assertEquals(STATE_DISCONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onDisconnectingState()
582 Assert.assertEquals(STATE_DISCONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onDisconnectingState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DPanService.java205 BluetoothProfile.STATE_DISCONNECTING}; in cleanup()
242 BluetoothProfile.STATE_DISCONNECTING, BluetoothPan.LOCAL_PANU_ROLE,
640 return BluetoothProfile.STATE_DISCONNECTING; in convertHalState()
676 && state == BluetoothProfile.STATE_DISCONNECTING) { in handlePanDeviceStateChange()
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/internal/bluetooth/
DBlueletImpl.java87 .put(BluetoothProfile.STATE_DISCONNECTING, BluetoothAdapter.STATE_DISCONNECTING)
368 case BluetoothProfile.STATE_DISCONNECTING: in maxProfileState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java455 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
457 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
464 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothUtilsGetConnectionStateNameTest.java56 {BluetoothAdapter.STATE_DISCONNECTING, "disconnecting"}, in provideParams()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdaterTest.java270 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
273 BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_constants.py153 STATE_DISCONNECTING = 3 variable in BluetoothConnectionStatus
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java374 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
383 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
778 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/framework/tests/stress/src/android/bluetooth/
DBluetoothTestUtils.java268 case BluetoothProfile.STATE_DISCONNECTING: in onReceive()
1003 case BluetoothProfile.STATE_DISCONNECTING: in connectProfile()
1095 case BluetoothProfile.STATE_DISCONNECTING: in disconnectProfile()
1196 case BluetoothPan.STATE_DISCONNECTING: in connectPanOrIncomingPanConnection()
1304 case BluetoothPan.STATE_DISCONNECTING: in disconnectFromRemoteOrVerifyConnectNap()

123