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.java67 int STATE_DISCONNECTING = 3; field
74 STATE_DISCONNECTING,
411 case STATE_DISCONNECTING: in getConnectionStateName()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java462 BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
466 BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
559 BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
562 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
565 BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
568 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
581 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
596 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
668 BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect_suppressNoisyIntentCase()
672 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect_suppressNoisyIntentCase()
[all …]
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java74 static final int STATE_DISCONNECTING = 6; field in BluetoothPeripheralHandover
267 mState = STATE_DISCONNECTING; in nextStepDisconnect()
300 case STATE_DISCONNECTING: in nextStepDisconnect()
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()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DAdapterProperties.java835 || state == BluetoothProfile.STATE_DISCONNECTING); in validateProfileConnectionState()
842 case BluetoothProfile.STATE_DISCONNECTING: in convertToAdapterState()
843 return BluetoothAdapter.STATE_DISCONNECTING; in convertToAdapterState()
858 return nextState == BluetoothProfile.STATE_DISCONNECTING; in isNormalStateTransition()
859 case BluetoothProfile.STATE_DISCONNECTING: in isNormalStateTransition()
890 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
910 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
1309 case BluetoothAdapter.STATE_DISCONNECTING: in dumpConnectionState()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java279 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in refreshObexSession()
320 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in disconnect()
434 case BluetoothProfile.STATE_DISCONNECTING: in getStateName()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java342 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
343 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
353 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
574 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java346 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
347 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
357 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
587 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlStateMachine.java335 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
353 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
363 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
589 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachine.java344 csipConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
354 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
549 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
602 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/bas/
DBatteryStateMachine.java151 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
190 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
417 mLastConnectionState, BluetoothProfile.STATE_DISCONNECTING); in enter()
423 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java134 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
435 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
436 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
446 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java388 BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
391 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
404 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
528 sTestDevice, BluetoothProfile.STATE_DISCONNECTING); in testCreateStateMachineStackEvents()
668 BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
671 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
682 BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
805 BluetoothProfile.STATE_DISCONNECTING, in testRemoveActiveDevice_whenStopAudioIsFalse_suppressNoisyIntent()
835 BluetoothProfile.STATE_DISCONNECTING, in testRemoveActiveDevice_whenStopAudioIsFalse_doesNotSuppressNoisyIntent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java225 mCurrentDevice, mMostRecentState, BluetoothProfile.STATE_DISCONNECTING); in enter()
226 mMostRecentState = BluetoothProfile.STATE_DISCONNECTING; in enter()
395 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachineTest.java184 sendConnectionEvent(BluetoothProfile.STATE_DISCONNECTING); in testIncomingDisconnectingInDisconnected()
226 sendConnectionEvent(BluetoothProfile.STATE_DISCONNECTING); in testDisconnectingInConnecting()
349 sendConnectionEvent(BluetoothProfile.STATE_DISCONNECTING); in testDisconnectingInConnected()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java693 BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
695 assertThat(BluetoothProfile.STATE_DISCONNECTING) in testAudioManagerConnectDisconnect()
700 BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
702 assertThat(BluetoothProfile.STATE_DISCONNECTING) in testAudioManagerConnectDisconnect()
717 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
733 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
807 mLeftDevice, BluetoothProfile.STATE_DISCONNECTING); in testCreateStateMachineStackEvents()
869 BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
872 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
878 .isEqualTo(BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/bluetooth/
DBluetoothUtilsGetConnectionStateNameTest.java56 {BluetoothAdapter.STATE_DISCONNECTING, "disconnecting"}, in provideParams()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachineTest.java23 import static android.bluetooth.BluetoothProfile.STATE_DISCONNECTING;
577 Assert.assertEquals(STATE_DISCONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onDisconnectingState()
603 Assert.assertEquals(STATE_DISCONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onDisconnectingState()
611 Assert.assertEquals(STATE_DISCONNECTING, mStateMachine.getConnectionState()); in testStackEvent_withoutStateChange_onDisconnectingState()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java424 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
448 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_Timeout()
479 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToConnected_StackSlcCconnected()
501 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_ConnectedToDisconnecting_Disconnect()
532 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_ConnectedToDisconnecting_StackDisconnecting()
793 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_AudioConnectingToDisconnecting_StackDisconnecting()
966 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_AudioOnToDisconnecting_StackDisconnecting()
1023 BluetoothHeadset.STATE_DISCONNECTING, in testStateTransition_AudioDisconnectingToAudioOnAndDisconnecting_Timeout()
1123 BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_AudioDisconnectingToDisconnecting_StackDisconnecting()
2235 BluetoothProfile.STATE_DISCONNECTING, in setUpDisconnectingState()
/packages/modules/Bluetooth/system/blueberry/utils/
Dbt_constants.py153 STATE_DISCONNECTING = 3 variable in BluetoothConnectionStatus
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java511 BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
514 BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
524 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdaterTest.java271 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
274 BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DPanNativeInterface.java102 return BluetoothProfile.STATE_DISCONNECTING; in convertHalState()
DPanService.java198 BluetoothProfile.STATE_DISCONNECTING in cleanup()
253 BluetoothProfile.STATE_DISCONNECTING,
645 && state == BluetoothProfile.STATE_DISCONNECTING) { in handlePanDeviceStateChange()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DRemoteDevicesTest.java268 BluetoothProfile.STATE_DISCONNECTING, in testResetBatteryLevelOnHeadsetStateChange()
320 BluetoothProfile.STATE_DISCONNECTING, in testOnHeadsetStateChangeWithBatteryService_NotResetBatteryLevel()
595 BluetoothProfile.STATE_DISCONNECTING, in testResetBatteryLevelOnHeadsetClientStateChange()
649 BluetoothProfile.STATE_DISCONNECTING, in testHeadsetClientDisconnectedWithBatteryService_NotResetBatteryLevel()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdater.java84 case BluetoothAdapter.STATE_DISCONNECTING: in getSummary()

123