Home
last modified time | relevance | path

Searched refs:DisconnectReason (Results 1 – 25 of 28) sorted by relevance

12

/packages/modules/Bluetooth/system/gd/hci/acl_manager/
Dclassic_acl_connection_test.cc47 std::vector<hci::DisconnectReason> disconnect_reason_vector = {
48 hci::DisconnectReason::AUTHENTICATION_FAILURE,
49 hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION,
50 hci::DisconnectReason::REMOTE_DEVICE_TERMINATED_CONNECTION_LOW_RESOURCES,
51 hci::DisconnectReason::REMOTE_DEVICE_TERMINATED_CONNECTION_POWER_OFF,
52 hci::DisconnectReason::UNSUPPORTED_REMOTE_FEATURE,
53 hci::DisconnectReason::PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED,
54 hci::DisconnectReason::UNACCEPTABLE_CONNECTION_PARAMETERS,
Dclassic_acl_connection.h45 virtual bool Disconnect(DisconnectReason reason);
Dle_acl_connection.h131 virtual void Disconnect(DisconnectReason reason);
Dle_acl_connection.cc182 void LeAclConnection::Disconnect(DisconnectReason reason) { in Disconnect()
Dclassic_acl_connection.cc377 bool ClassicAclConnection::Disconnect(DisconnectReason reason) { in Disconnect()
/packages/modules/Bluetooth/system/gd/hci/
Dacl_manager_mock.h44 MOCK_METHOD(bool, Disconnect, (DisconnectReason reason), (override));
60 MOCK_METHOD(void, Disconnect, (DisconnectReason reason), (override));
Dacl_manager_test.cc789 connection_->Disconnect(DisconnectReason::AUTHENTICATION_FAILURE); in TEST_F()
/packages/modules/Bluetooth/tools/rootcanal/test/LL/DDI/ADV/
DBV_06_C.py107 reason=hci.DisconnectReason.REMOTE_USER_TERMINATED_CONNECTION))
115 reason=int(hci.DisconnectReason.REMOTE_USER_TERMINATED_CONNECTION)))
/packages/modules/Bluetooth/tools/rootcanal/test/LL/SEC/ADV/
DBV_11_C.py164 reason=hci.DisconnectReason.REMOTE_USER_TERMINATED_CONNECTION))
171 reason=hci.DisconnectReason.REMOTE_USER_TERMINATED_CONNECTION))
/packages/modules/Bluetooth/system/gd/l2cap/classic/internal/
Dlink_manager_test.cc338 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
414 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
490 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
495 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
Dlink.cc87 acl_connection_->Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
/packages/modules/Bluetooth/system/main/shim/
Dhelpers.h248 inline hci::DisconnectReason ToDisconnectReasonFromLegacy( in ToDisconnectReasonFromLegacy()
250 return static_cast<hci::DisconnectReason>(reason); in ToDisconnectReasonFromLegacy()
Dacl.cc456 virtual void InitiateDisconnect(hci::DisconnectReason reason) = 0;
710 void InitiateDisconnect(hci::DisconnectReason reason) override { in InitiateDisconnect()
873 void InitiateDisconnect(hci::DisconnectReason reason) override { in InitiateDisconnect()
1754 hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in OnLeConnectSuccess()
/packages/modules/Bluetooth/system/gd/l2cap/le/internal/
Dlink_manager_test.cc369 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
467 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
565 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
570 …EXPECT_CALL(*raw_acl_connection, Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTI… in TEST_F()
Dlink.cc149 acl_connection_->Disconnect(hci::DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
/packages/modules/Bluetooth/system/blueberry/tests/gd/hci/
Dacl_manager_test.py105 dut_acl.disconnect(hci.DisconnectReason.REMOTE_USER_TERMINATED_CONNECTION)
/packages/modules/Bluetooth/floss/hcidoc/src/groups/
Dconnections.rs12 ConnectionManagementCommandChild, DisconnectReason, Enable, ErrorCode, EventChild,
228 reason: DisconnectReason, in process_disconnect_cmd() argument
233 if reason == DisconnectReason::RemoteDeviceTerminatedConnectionPowerOff { in process_disconnect_cmd()
Dinformational.rs13 AclCommandChild, Address, CommandChild, ConnectionManagementCommandChild, DisconnectReason,
836 == DisconnectReason::RemoteDeviceTerminatedConnectionPowerOff in process()
/packages/modules/Bluetooth/system/main/test/
Dmain_shim_test.cc273 bool Disconnect(hci::DisconnectReason reason) override { in Disconnect()
320 void Disconnect(hci::DisconnectReason reason) override { in Disconnect()
/packages/modules/Bluetooth/system/gd/hci/facade/
Dle_acl_manager_facade.cc140 … connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
Dacl_manager_facade.cc94 … connection->second.connection_->Disconnect(DisconnectReason::REMOTE_USER_TERMINATED_CONNECTION); in Disconnect()
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_int.h514 tHCI_REASON DisconnectReason() const { return disc_reason_; } in DisconnectReason() function
Dl2c_utils.cc2830 channel_id, p_lcb->remote_bd_addr, false, p_lcb->DisconnectReason(), in l2cu_process_fixed_chnl_resp()
2868 p_lcb->DisconnectReason(), p_lcb->transport); in l2cu_process_fixed_disc_cback()
2874 p_lcb->DisconnectReason(), p_lcb->transport); in l2cu_process_fixed_disc_cback()
Dl2c_link.cc386 p_lcb->DisconnectReason(), p_lcb->transport); in l2c_link_hci_disc_comp()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothAdapter.java4780 @NonNull BluetoothDevice device, @DisconnectReason int reason) {} in onDeviceDisconnected()
4799 public @interface DisconnectReason {} annotation in BluetoothAdapter.BluetoothConnectionCallback
4803 public static String disconnectReasonToString(@DisconnectReason int reason) { in disconnectReasonToString()

12