/packages/modules/Bluetooth/framework/java/android/bluetooth/ |
D | BluetoothProfile.java | 66 int STATE_DISCONNECTING = 3; field 73 STATE_DISCONNECTING, 431 case STATE_DISCONNECTING: in getConnectionStateName()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 75 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/ |
D | AdapterProperties.java | 775 || 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/ |
D | LeAudioServiceTest.java | 587 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/ |
D | HearingAidServiceTest.java | 466 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/ |
D | AvrcpBipClient.java | 289 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/ |
D | HapClientStateMachine.java | 148 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/ |
D | HearingAidStateMachine.java | 338 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/ |
D | BatteryStateMachine.java | 158 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/ |
D | VolumeControlStateMachine.java | 314 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/ |
D | LeAudioStateMachine.java | 333 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/ |
D | CsipSetCoordinatorStateMachine.java | 320 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/ |
D | PbapClientStateMachine.java | 257 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/ |
D | HeadsetStateMachineTest.java | 352 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/ |
D | A2dpServiceTest.java | 427 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/ |
D | A2dpSinkStateMachineTest.java | 182 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/ |
D | CsipSetCoordinatorStateMachineTest.java | 23 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/ |
D | PanService.java | 205 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/ |
D | BlueletImpl.java | 87 .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/ |
D | HidDeviceTest.java | 455 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/ |
D | BluetoothUtilsGetConnectionStateNameTest.java | 56 {BluetoothAdapter.STATE_DISCONNECTING, "disconnecting"}, in provideParams()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | BluetoothSummaryUpdaterTest.java | 270 mShadowBluetoothAdapter.setConnectionState(BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage() 273 BluetoothAdapter.STATE_DISCONNECTING); in onConnectionStateChanged_disconnecting_shouldSendDisconnectingMessage()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | bt_constants.py | 153 STATE_DISCONNECTING = 3 variable in BluetoothConnectionStatus
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachine.java | 374 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/ |
D | BluetoothTestUtils.java | 268 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()
|