Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterProperties.java653 || state == BluetoothProfile.STATE_DISCONNECTING); in validateProfileConnectionState()
660 case BluetoothProfile.STATE_DISCONNECTING: in convertToAdapterState()
661 return BluetoothAdapter.STATE_DISCONNECTING; in convertToAdapterState()
676 return nextState == BluetoothProfile.STATE_DISCONNECTING; in isNormalStateTransition()
677 case BluetoothProfile.STATE_DISCONNECTING: in isNormalStateTransition()
708 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
728 case BluetoothProfile.STATE_DISCONNECTING: in updateCountersAndCheckForConnectionStateChange()
1001 case BluetoothAdapter.STATE_DISCONNECTING: in dumpConnectionState()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java450 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
452 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_DISCONNECTING, in testConnectAnotherPair_disconnectCurrentPair()
540 verifyConnectionStateIntent(TIMEOUT_MS, mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
542 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
544 verifyConnectionStateIntent(TIMEOUT_MS, mRightDevice, BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
546 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testAudioManagerConnectDisconnect()
558 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
571 BluetoothProfile.STATE_DISCONNECTING); in testAudioManagerConnectDisconnect()
639 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
696 generateConnectionMessageFromNative(mLeftDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
[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()
301 case STATE_DISCONNECTING: in nextStepDisconnect()
494 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
508 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
522 (mState == STATE_CONNECTING || mState == STATE_DISCONNECTING)) { in handleIntent()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetStateMachineTest.java327 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_StackDisconnected()
346 BluetoothProfile.STATE_DISCONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToDisconnected_Timeout()
368 BluetoothProfile.STATE_CONNECTED, BluetoothProfile.STATE_DISCONNECTING, in testStateTransition_DisconnectingToConnected_StackSlcCconnected()
387 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_ConnectedToDisconnecting_Disconnect()
409 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_ConnectedToDisconnecting_StackDisconnecting()
583 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioConnectingToDisconnecting_StackDisconnecting()
712 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioOnToDisconnecting_StackDisconnecting()
800 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in testStateTransition_AudioDisconnectingToDisconnecting_StackDisconnecting()
1130 BluetoothProfile.STATE_DISCONNECTING, BluetoothProfile.STATE_CONNECTED, in setUpDisconnectingState()
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java335 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
336 broadcastConnectionState(BluetoothProfile.STATE_DISCONNECTING, mLastConnectionState); in enter()
343 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
553 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpBipClient.java288 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in refreshObexSession()
325 setConnectionState(BluetoothProfile.STATE_DISCONNECTING); in disconnect()
441 case BluetoothProfile.STATE_DISCONNECTING: in getStateName()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java253 BluetoothProfile.STATE_DISCONNECTING); in enter()
254 mMostRecentState = BluetoothProfile.STATE_DISCONNECTING; in enter()
379 return BluetoothProfile.STATE_DISCONNECTING; in getConnectionState()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java434 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
436 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
447 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
555 BluetoothProfile.STATE_DISCONNECTING, in testCreateStateMachineStackEvents()
689 generateConnectionMessageFromNative(mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
691 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testDeleteStateMachineUnbondEvents()
701 BluetoothProfile.STATE_DISCONNECTING); in testDeleteStateMachineUnbondEvents()
/packages/apps/Bluetooth/src/com/android/bluetooth/pan/
DPanService.java155 BluetoothProfile.STATE_DISCONNECTING}; in cleanup()
192 BluetoothProfile.STATE_DISCONNECTING, BluetoothPan.LOCAL_PANU_ROLE,
540 return BluetoothProfile.STATE_DISCONNECTING; in convertHalState()
576 && state == BluetoothProfile.STATE_DISCONNECTING) { in handlePanDeviceStateChange()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceTest.java456 verifyConnectionStateIntent(TIMEOUT_MS, mTestDevice, BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
458 Assert.assertEquals(BluetoothProfile.STATE_DISCONNECTING, in testOutgoingConnectDisconnectSuccess()
465 BluetoothProfile.STATE_DISCONNECTING); in testOutgoingConnectDisconnectSuccess()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java364 mConnectionState = BluetoothProfile.STATE_DISCONNECTING; in enter()
373 mLastConnectionState = BluetoothProfile.STATE_DISCONNECTING; in exit()
748 case BluetoothProfile.STATE_DISCONNECTING: in profileStateToString()
/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/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java244 return BluetoothProfile.STATE_DISCONNECTING; in getState()
818 onConnectionStateChanged(mPreviousState, BluetoothProfile.STATE_DISCONNECTING); in enter()
854 mPreviousState = BluetoothProfile.STATE_DISCONNECTING; in exit()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBasicCallTests.java106 assertEquals(Call.STATE_DISCONNECTING, in testSingleOutgoingCallLocalDisconnect()
108 assertEquals(Call.STATE_DISCONNECTING, in testSingleOutgoingCallLocalDisconnect()
264 assertEquals(Call.STATE_DISCONNECTING, in testSingleIncomingCallLocalDisconnect()
266 assertEquals(Call.STATE_DISCONNECTING, in testSingleIncomingCallLocalDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidHostService.java155 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
165 broadcastConnectionState(device, BluetoothProfile.STATE_DISCONNECTING);
905 return BluetoothProfile.STATE_DISCONNECTING; in convertHalState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothSummaryUpdater.java84 case BluetoothAdapter.STATE_DISCONNECTING: in getSummary()
DUtils.java63 case BluetoothProfile.STATE_DISCONNECTING: in getConnectionStateSummary()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdater.java84 case BluetoothAdapter.STATE_DISCONNECTING: in getSummary()
DUtils.java61 case BluetoothProfile.STATE_DISCONNECTING: in getConnectionStateSummary()
/packages/services/Telecomm/testapps/carmodedialer/src/com/android/server/telecom/carmodedialer/
DCallListAdapter.java138 case Call.STATE_DISCONNECTING: in getStateString()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DCallListAdapter.java143 case Call.STATE_DISCONNECTING: in getStateString()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothStateReceiver.java128 || bluetoothHeadsetState == BluetoothProfile.STATE_DISCONNECTING) { in handleConnectionStateChanged()
/packages/apps/Dialer/java/com/android/incallui/videotech/duo/
DDuoVideoTech.java122 if (newState == Call.STATE_DISCONNECTING) { in onCallStateChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java288 onConnectionStateChanged(BluetoothProfile.STATE_DISCONNECTING); in enter()
/packages/services/Car/service/src/com/android/car/
DUtils.java67 sConnectionStates.put(BluetoothAdapter.STATE_DISCONNECTING, "Disconnecting"); in sConnectionStates.put() argument

12