/packages/modules/Bluetooth/system/stack/include/ |
D | btm_iso_api.h | 32 virtual void OnSetupIsoDataPath(uint8_t status, uint16_t conn_handle, 34 virtual void OnRemoveIsoDataPath(uint8_t status, uint16_t conn_handle, 37 uint8_t conn_handle, uint8_t cig_id, uint32_t txUnackedPackets, 48 virtual void OnSetupIsoDataPath(uint8_t status, uint16_t conn_handle, 50 virtual void OnRemoveIsoDataPath(uint8_t status, uint16_t conn_handle, 132 virtual void DisconnectCis(uint16_t conn_handle, uint8_t reason); 142 uint16_t conn_handle, 152 virtual void RemoveIsoDataPath(uint16_t conn_handle, uint8_t data_path_dir); 160 virtual void ReadIsoLinkQuality(uint16_t conn_handle); 169 virtual void SendIsoData(uint16_t conn_handle, const uint8_t* data, [all …]
|
D | hcimsgs.h | 238 uint16_t conn_handle, enh_esco_params_t* p_parms); 319 void btsnd_hcic_ble_set_data_length(uint16_t conn_handle, uint16_t tx_octets, 402 void btsnd_hcic_req_peer_sca(uint16_t conn_handle); 454 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, 458 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle, 462 uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t sync_timeout, 466 uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t sync_timeout,
|
/packages/modules/Bluetooth/system/stack/btm/ |
D | btm_iso_impl.h | 128 uint16_t conn_handle; in on_set_cig_params() local 164 STREAM_TO_UINT16(conn_handle, stream); in on_set_cig_params() 166 evt.conn_handles.push_back(conn_handle); in on_set_cig_params() 174 conn_hdl_to_cis_map_[conn_handle] = std::move(cis); in on_set_cig_params() 347 uint16_t conn_handle; in on_setup_iso_data_path() local 350 STREAM_TO_UINT16(conn_handle, stream); in on_setup_iso_data_path() 352 iso_base* iso = GetIsoIfKnown(conn_handle); in on_setup_iso_data_path() 356 log::warn("Invalid connection handle: {}", conn_handle); in on_setup_iso_data_path() 360 BTM_LogHistory(kBtmLogTag, cis_hdl_to_addr[conn_handle], in on_setup_iso_data_path() 363 "handle:0x%04x, status:%s", conn_handle, in on_setup_iso_data_path() [all …]
|
/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_rfc.cc | 90 port_handle != client_cb->conn_handle) { in bta_hf_client_mgmt_cback() 99 if (client_cb && port_handle == client_cb->conn_handle) { /* out conn */ in bta_hf_client_mgmt_cback() 129 client_cb->conn_handle = port_handle; in bta_hf_client_mgmt_cback() 143 port_handle == client_cb->conn_handle) { /* code != PORT_SUC */ in bta_hf_client_mgmt_cback() 258 BTA_HF_CLIENT_MTU, client_cb->peer_addr, &(client_cb->conn_handle), in bta_hf_client_rfc_do_open() 261 bta_hf_client_setup_port(client_cb->conn_handle); in bta_hf_client_rfc_do_open() 263 client_cb->conn_handle); in bta_hf_client_rfc_do_open() 289 if (client_cb->conn_handle) { in bta_hf_client_rfc_do_close() 290 if (RFCOMM_RemoveConnection(client_cb->conn_handle) != PORT_SUCCESS) { in bta_hf_client_rfc_do_close() 292 client_cb->peer_addr, client_cb->conn_handle); in bta_hf_client_rfc_do_close()
|
D | bta_hf_client_main.cc | 536 uint16_t conn_handle = client_cb->conn_handle; in bta_hf_client_find_cb_by_rfc_handle() local 539 is_allocated, conn_handle); in bta_hf_client_find_cb_by_rfc_handle() 541 if (is_allocated && conn_handle == handle) { in bta_hf_client_find_cb_by_rfc_handle() 546 conn_handle); in bta_hf_client_find_cb_by_rfc_handle() 967 dprintf(fd, " RFCOMM Channel (local) %d\n", client_cb->conn_handle); in bta_hf_client_dump_statistics()
|
D | bta_hf_client_act.cc | 170 log::verbose("conn_handle {}", client_cb->conn_handle); in bta_hf_client_rfc_acp_open() 175 int status = PORT_CheckConnection(client_cb->conn_handle, &dev_addr, &lcid); in bta_hf_client_rfc_acp_open() 401 while (PORT_ReadData(client_cb->conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, in bta_hf_client_rfc_data()
|
/packages/modules/Bluetooth/system/bta/ag/ |
D | bta_ag_rfc.cc | 81 if (port_handle != p_scb->conn_handle) { in bta_ag_port_cback() 84 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback() 119 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) { in bta_ag_mgmt_cback() 127 if (p_scb->conn_handle) { in bta_ag_mgmt_cback() 129 if (port_handle == p_scb->conn_handle) { in bta_ag_mgmt_cback() 149 } else if (port_handle == p_scb->conn_handle) { in bta_ag_mgmt_cback() 342 p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open() 346 fmt::ptr(p_scb), p_scb->conn_handle, management_callback_index, in bta_ag_rfc_do_open() 349 bta_ag_setup_port(p_scb, p_scb->conn_handle); in bta_ag_rfc_do_open() 369 log::info("p_scb->conn_handle: 0x{:04x}", p_scb->conn_handle); in bta_ag_rfc_do_close() [all …]
|
D | bta_ag_act.cc | 358 p_scb->conn_handle = 0; in bta_ag_rfc_fail() 450 p_scb->conn_handle = 0; in bta_ag_rfc_close() 468 if (RFCOMM_RemoveServer(p_scb->conn_handle) != PORT_SUCCESS) { in bta_ag_rfc_close() 470 p_scb->peer_addr, p_scb->conn_handle); in bta_ag_rfc_close() 586 ag_scb.peer_addr, ag_scb.conn_handle); in bta_ag_rfc_acp_open() 593 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open() 594 status = RFCOMM_RemoveConnection(ag_scb.conn_handle); in bta_ag_rfc_acp_open() 598 dev_addr, ag_scb.conn_handle, status); in bta_ag_rfc_acp_open() 620 p_scb->conn_handle = data.rfc.port_handle; in bta_ag_rfc_acp_open() 626 p_scb->conn_service, p_scb->conn_handle); in bta_ag_rfc_acp_open() [all …]
|
/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger_test.cc | 656 uint16_t conn_handle = 0x000b; in TEST_F() local 678 snoop_logger->AddA2dpMediaChannel(conn_handle, local_cid, remote_cid); in TEST_F() 701 uint16_t conn_handle = 0x000b; in TEST_F() local 723 snoop_logger->AddA2dpMediaChannel(conn_handle, local_cid, remote_cid); in TEST_F() 724 snoop_logger->RemoveA2dpMediaChannel(conn_handle, local_cid); in TEST_F() 795 uint16_t conn_handle = 0x000b; in TEST_F() local 818 snoop_logger->AddRfcommL2capChannel(conn_handle, local_cid, remote_cid); in TEST_F() 831 snoop_logger->ClearL2capAcceptlist(conn_handle, local_cid, remote_cid); in TEST_F() 852 uint16_t conn_handle = 0x000b; in TEST_F() local 877 snoop_logger->AddRfcommL2capChannel(conn_handle, local_cid, remote_cid); in TEST_F() [all …]
|
D | snoop_logger.cc | 625 uint16_t conn_handle = in ShouldFilterLog() local 628 auto& filters = filter_tracker_list[conn_handle]; in ShouldFilterLog() 876 uint16_t conn_handle, uint16_t local_cid, uint16_t remote_cid) { in AcceptlistL2capChannel() argument 884 conn_handle, in AcceptlistL2capChannel() 891 filter_tracker_list[conn_handle].AddL2capCid(local_cid, remote_cid); in AcceptlistL2capChannel() 894 void SnoopLogger::AcceptlistRfcommDlci(uint16_t conn_handle, uint16_t local_cid, uint8_t dlci) { in AcceptlistRfcommDlci() argument 903 filter_tracker_list[conn_handle].AddRfcommDlci(dlci); in AcceptlistRfcommDlci() 907 uint16_t conn_handle, uint16_t local_cid, uint16_t remote_cid) { in AddRfcommL2capChannel() argument 915 conn_handle, in AddRfcommL2capChannel() 920 filter_tracker_list[conn_handle].SetRfcommCid(local_cid, remote_cid); in AddRfcommL2capChannel() [all …]
|
D | snoop_logger.h | 190 uint16_t conn_handle; member 230 void AcceptlistL2capChannel(uint16_t conn_handle, uint16_t local_cid, uint16_t remote_cid); 237 void AcceptlistRfcommDlci(uint16_t conn_handle, uint16_t local_cid, uint8_t dlci); 242 void AddRfcommL2capChannel(uint16_t conn_handle, uint16_t local_cid, uint16_t remote_cid); 245 void ClearL2capAcceptlist(uint16_t conn_handle, uint16_t local_cid, uint16_t remote_cid); 248 void AddA2dpMediaChannel(uint16_t conn_handle, uint16_t local_cid, uint16_t remote_cid); 251 void RemoveA2dpMediaChannel(uint16_t conn_handle, uint16_t local_cid); 255 uint16_t conn_handle, uint16_t local_cid, uint8_t dlci, uint16_t uuid, bool flow); 315 bool IsA2dpMediaChannel(uint16_t conn_handle, uint16_t cid, bool is_local_cid);
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_hcic_hciblecmds.cc | 152 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle, in btsnd_hcic_ble_periodic_advertising_set_info_transfer() argument 157 conn_handle, service_data, adv_handle, std::move(cb)); in btsnd_hcic_ble_periodic_advertising_set_info_transfer() 160 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, in btsnd_hcic_ble_periodic_advertising_sync_transfer() argument 165 conn_handle, service_data, sync_handle, std::move(cb)); in btsnd_hcic_ble_periodic_advertising_sync_transfer() 205 void btsnd_hcic_ble_set_data_length(uint16_t conn_handle, uint16_t tx_octets, in btsnd_hcic_ble_set_data_length() argument 209 conn_handle, tx_octets, tx_time); in btsnd_hcic_ble_set_data_length() 212 uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t sync_timeout, in btsnd_hcic_ble_set_default_periodic_advertising_sync_transfer_params() argument 217 conn_handle, mode, skip, sync_timeout, cte_type, std::move(cb)); in btsnd_hcic_ble_set_default_periodic_advertising_sync_transfer_params() 244 uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t sync_timeout, in btsnd_hcic_ble_set_periodic_advertising_sync_transfer_params() argument 249 conn_handle, mode, skip, sync_timeout, cte_type, std::move(cb)); in btsnd_hcic_ble_set_periodic_advertising_sync_transfer_params() [all …]
|
D | mock_stack_hcic_hciblecmds.h | 181 void operator()(uint16_t conn_handle, uint16_t service_data, in operator() 184 body(conn_handle, service_data, adv_handle, std::move(cb)); in operator() 199 void operator()(uint16_t conn_handle, uint16_t service_data, in operator() 202 body(conn_handle, service_data, sync_handle, std::move(cb)); in operator() 312 std::function<void(uint16_t conn_handle, uint16_t tx_octets, 316 void operator()(uint16_t conn_handle, uint16_t tx_octets, uint16_t tx_time) { in operator() 317 body(conn_handle, tx_octets, tx_time); in operator() 333 void operator()(uint16_t conn_handle, uint8_t mode, uint16_t skip, in operator() 336 body(conn_handle, mode, skip, sync_timeout, cte_type, std::move(cb)); in operator() 403 void operator()(uint16_t conn_handle, uint8_t mode, uint16_t skip, in operator() [all …]
|
D | mock_stack_hcic_hcicmds.h | 145 std::function<void(uint16_t conn_handle, enh_esco_params_t* p_params)> body{ 147 void operator()(uint16_t conn_handle, enh_esco_params_t* p_params) { in operator() 148 body(conn_handle, p_params); in operator()
|
/packages/modules/Bluetooth/system/bta/le_audio/broadcaster/ |
D | state_machine_test.cc | 83 MOCK_METHOD((void), OnBigCreated, (const std::vector<uint16_t>& conn_handle), 252 .WillByDefault([this](uint16_t conn_handle, iso_data_path_params p) { in ConfigureIsoManagerMock() argument 254 uint8_t big_id = conn_handle >> 8; in ConfigureIsoManagerMock() 261 bit->second->OnSetupIsoDataPath(0, conn_handle); in ConfigureIsoManagerMock() 265 .WillByDefault([this](uint16_t conn_handle, uint8_t iso_direction) { in ConfigureIsoManagerMock() argument 267 uint8_t big_id = conn_handle >> 8; in ConfigureIsoManagerMock() 274 bit->second->OnRemoveIsoDataPath(0, conn_handle); in ConfigureIsoManagerMock() 766 .WillOnce([this](uint16_t conn_handle, iso_data_path_params p) { in TEST_F() argument 768 uint8_t big_id = conn_handle >> 8; in TEST_F() 775 bit->second->OnSetupIsoDataPath(0, conn_handle); in TEST_F() [all …]
|
D | state_machine.cc | 459 void OnRemoveIsoDataPath(uint8_t status, uint16_t conn_handle) override { in OnRemoveIsoDataPath() argument 473 [conn_handle](const auto& handle) { return conn_handle == handle; }); in OnRemoveIsoDataPath() 490 void TriggerIsoDatapathSetup(uint16_t conn_handle) { in TriggerIsoDatapathSetup() argument 491 log::info("conn_hdl={}", conn_handle); in TriggerIsoDatapathSetup() 518 IsoManager::GetInstance()->SetupIsoDataPath(conn_handle, std::move(param)); in TriggerIsoDatapathSetup() 521 void TriggerIsoDatapathTeardown(uint16_t conn_handle) { in TriggerIsoDatapathTeardown() argument 522 log::info("conn_hdl={}", conn_handle); in TriggerIsoDatapathTeardown() 528 conn_handle, in TriggerIsoDatapathTeardown()
|
D | state_machine.h | 187 virtual void OnSetupIsoDataPath(uint8_t status, uint16_t conn_handle) = 0; 188 virtual void OnRemoveIsoDataPath(uint8_t status, uint16_t conn_handle) = 0; 220 virtual void OnBigCreated(const std::vector<uint16_t>& conn_handle) = 0;
|
D | mock_state_machine.h | 158 (uint8_t status, uint16_t conn_handle), (override)); 160 (uint8_t status, uint16_t conn_handle), (override));
|
D | broadcaster.cc | 845 void OnSetupIsoDataPath(uint8_t status, uint16_t conn_handle, in OnSetupIsoDataPath() argument 850 broadcasts_[broadcast_id]->OnSetupIsoDataPath(status, conn_handle); in OnSetupIsoDataPath() 853 void OnRemoveIsoDataPath(uint8_t status, uint16_t conn_handle, in OnRemoveIsoDataPath() argument 858 broadcasts_[broadcast_id]->OnRemoveIsoDataPath(status, conn_handle); in OnRemoveIsoDataPath() 1024 void OnBigCreated(const std::vector<uint16_t>& conn_handle) { in OnBigCreated() argument 1026 conn_handle, in OnBigCreated()
|
/packages/modules/Bluetooth/system/hci/include/ |
D | btsnoop.h | 36 void (*allowlist_l2c_channel)(uint16_t conn_handle, uint16_t local_cid, 49 void (*add_rfc_l2c_channel)(uint16_t conn_handle, uint16_t local_cid, 53 void (*clear_l2cap_allowlist)(uint16_t conn_handle, uint16_t local_cid,
|
/packages/modules/Bluetooth/system/stack/hcic/ |
D | hciblecmds.cc | 383 void btsnd_hcic_ble_set_data_length(uint16_t conn_handle, uint16_t tx_octets, in btsnd_hcic_ble_set_data_length() argument 394 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_data_length() 515 void btsnd_hcic_req_peer_sca(uint16_t conn_handle) { in btsnd_hcic_req_peer_sca() argument 525 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_req_peer_sca() 727 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, in btsnd_hcic_ble_periodic_advertising_sync_transfer() argument 732 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_periodic_advertising_sync_transfer() 742 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle, in btsnd_hcic_ble_periodic_advertising_set_info_transfer() argument 747 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_periodic_advertising_set_info_transfer() 757 uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t sync_timeout, in btsnd_hcic_ble_set_periodic_advertising_sync_transfer_params() argument 762 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_periodic_advertising_sync_transfer_params() [all …]
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | codec_manager.cc | 682 const std::vector<uint16_t>& conn_handle, in UpdateBroadcastConnHandle() 697 log::assert_that(conn_handle.size() == broadcast_config.stream_map.size(), in UpdateBroadcastConnHandle() 704 conn_handle[0], codec_spec_conf::kLeAudioLocationFrontLeft}; in UpdateBroadcastConnHandle() 706 conn_handle[1], codec_spec_conf::kLeAudioLocationFrontRight}; in UpdateBroadcastConnHandle() 710 conn_handle[0], codec_spec_conf::kLeAudioLocationFrontCenter}; in UpdateBroadcastConnHandle() 789 cis_entry.conn_handle != 0) { in UpdateCisConfiguration() 794 if (s.first == cis_entry.conn_handle) { in UpdateCisConfiguration() 815 tag, cis_entry.conn_handle, target_allocation, current_allocation, in UpdateCisConfiguration() 821 cis_entry.conn_handle, target_allocation, is_active)); in UpdateCisConfiguration() 824 cis_entry.conn_handle, current_allocation, is_active)); in UpdateCisConfiguration() [all …]
|
D | mock_codec_manager.cc | 127 const std::vector<uint16_t>& conn_handle, in UpdateBroadcastConnHandle() argument 132 return pimpl_->UpdateBroadcastConnHandle(conn_handle, update_receiver); in UpdateBroadcastConnHandle()
|
D | device_groups.cc | 1119 .conn_handle = 0, in GenerateCisIds() 1131 .conn_handle = 0, in GenerateCisIds() 1143 .conn_handle = 0, in GenerateCisIds() 1277 cises[i].conn_handle = conn_handles[i]; in AssignCisConnHandles() 1279 cises[i].conn_handle); in AssignCisConnHandles() 1304 ases_pair.sink->cis_conn_hdl = cig.cises[ase->cis_id].conn_handle; in AssignCisConnHandlesToAses() 1308 ases_pair.source->cis_conn_hdl = cig.cises[ase->cis_id].conn_handle; in AssignCisConnHandlesToAses() 2011 cis.type, cis.conn_handle, cis.addr.ToString()); in PrintDebugState() 2090 << ",\tconn_handle: " << static_cast<int>(cis.conn_handle) in Dump()
|
/packages/modules/Bluetooth/system/gd/security/ |
D | pairing_handler_le.h | 134 uint16_t conn_handle, in SendHciLeStartEncryption() argument 138 …i.le_security_interface->EnqueueCommand(hci::LeStartEncryptionBuilder::Create(conn_handle, rand, e… in SendHciLeStartEncryption() 149 const InitialInformations& i, uint16_t conn_handle, const hci::Octet16& ltk) { in SendHciLeLongTermKeyReply() argument 151 hci::LeLongTermKeyRequestReplyBuilder::Create(conn_handle, ltk), in SendHciLeLongTermKeyReply()
|