Home
last modified time | relevance | path

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

123

/aosp12/frameworks/base/core/java/android/bluetooth/
H A DBluetoothProfile.java65 int STATE_DISCONNECTING = 3; field
72 STATE_DISCONNECTING,
367 case STATE_DISCONNECTING: in getConnectionStateName()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/le_audio/
H A DLeAudioServiceTest.java428 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
430 assertThat(BluetoothProfile.STATE_DISCONNECTING) in testAudioManagerConnectDisconnect()
432 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
434 assertThat(BluetoothProfile.STATE_DISCONNECTING) in testAudioManagerConnectDisconnect()
446 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
459 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
521 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
577 generateConnectionMessageFromNative(mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
579 assertThat(BluetoothProfile.STATE_DISCONNECTING) in testDeleteStateMachineUnbondEvents()
589 BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java708 || state == BluetoothProfile.STATE_DISCONNECTING); in validateProfileConnectionState()
715 case BluetoothProfile.STATE_DISCONNECTING: in convertToAdapterState()
716 return BluetoothAdapter.STATE_DISCONNECTING; in convertToAdapterState()
731 return nextState == BluetoothProfile.STATE_DISCONNECTING; in isNormalStateTransition()
732 case BluetoothProfile.STATE_DISCONNECTING: in isNormalStateTransition()
763 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
783 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
1092 case BluetoothAdapter.STATE_DISCONNECTING: in dumpConnectionState()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
H A DHearingAidServiceTest.java444 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
446 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
533 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
535 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
539 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
551 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
564 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
631 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
687 generateConnectionMessageFromNative(mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
689 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
[all …]
/aosp12/packages/apps/Nfc/src/com/android/nfc/handover/
H A DBluetoothPeripheralHandover.java74 static final int STATE_DISCONNECTING = 6; field in BluetoothPeripheralHandover
267 mState = STATE_DISCONNECTING; in nextStepDisconnect()
301 case STATE_DISCONNECTING: in nextStepDisconnect()
495 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
509 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
523 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
H A DAvrcpBipClient.java288 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in refreshObexSession()
325 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in disconnect()
441 case BluetoothProfile.STATE_DISCONNECTING: in getStateName()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/le_audio/
H A DLeAudioStateMachine.java328 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
335 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
504 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
557 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
H A 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()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
H A DPbapClientStateMachine.java255 BluetoothProfile.STATE_DISCONNECTING); in enter()
256 mMostRecentState = BluetoothProfile.STATE_DISCONNECTING; in enter()
381 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
/aosp12/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DHearingAidProfile.java129 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
146 BluetoothProfile.STATE_DISCONNECTING}); in getConnectableDevices()
H A DA2dpProfile.java129 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
146 BluetoothProfile.STATE_DISCONNECTING}); in getConnectableDevices()
H A DCachedBluetoothDevice.java201 case BluetoothProfile.STATE_DISCONNECTING: in onProfileStateChanged()
652 || status == BluetoothProfile.STATE_DISCONNECTING) { in isBusy()
954 case BluetoothProfile.STATE_DISCONNECTING: in getConnectionSummary()
1067 case BluetoothProfile.STATE_DISCONNECTING: in getCarConnectionSummary()
H A DMapClientProfile.java162 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
H A DPbapClientProfile.java126 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
H A DSapProfile.java161 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
H A DA2dpSinkProfile.java115 BluetoothProfile.STATE_DISCONNECTING}); in getConnectedDevices()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
H A DHeadsetStateMachineTest.java335 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
355 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_Timeout()
378 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToConnected_StackSlcCconnected()
398 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_ConnectedToDisconnecting_Disconnect()
421 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_ConnectedToDisconnecting_StackDisconnecting()
603 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioConnectingToDisconnecting_StackDisconnecting()
738 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioOnToDisconnecting_StackDisconnecting()
830 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioDisconnectingToDisconnecting_StackDisconnecting()
1174 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in setUpDisconnectingState()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DUtilsGetConnectionStateNameTest.java56 {BluetoothAdapter.STATE_DISCONNECTING, "disconnecting"}, in provideParams()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
H A DA2dpServiceTest.java429 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
431 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
442 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
547 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
679 generateConnectionMessageFromNative(mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
681 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
691 BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
H A DPanService.java167 BluetoothProfile.STATE_DISCONNECTING}; in cleanup()
208 BluetoothProfile.STATE_DISCONNECTING, BluetoothPan.LOCAL_PANU_ROLE,
541 return BluetoothProfile.STATE_DISCONNECTING; in convertHalState()
577 && state == BluetoothProfile.STATE_DISCONNECTING) { in handlePanDeviceStateChange()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
H A DHidDeviceTest.java460 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
462 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
469 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
H A DBluetoothSummaryUpdaterTest.java270 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
273 BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothSummaryUpdater.java84 case BluetoothAdapter.STATE_DISCONNECTING: in getSummary()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
H A DA2dpStateMachine.java367 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
376 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
752 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/aosp12/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
H A DCallListAdapter.java138 case Call.STATE_DISCONNECTING: in getStateString()

123