Home
last modified time | relevance | path

Searched refs:conn_handle (Results 1 – 25 of 39) sorted by relevance

12

/system/nfc/src/nfa/include/
Dnfa_snep_api.h95 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
100 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
108 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
115 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
123 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
129 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
135 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
145 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
151 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
Dnfa_snep_int.h94 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
103 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
111 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
120 tNFA_HANDLE conn_handle; /* handle for data link connection */ member
127 tNFA_HANDLE conn_handle; /* response code */ member
196 tNFA_HANDLE conn_handle; /* connection handle for default server */ member
Dnfa_p2p_api.h107 tNFA_HANDLE conn_handle; member
116 tNFA_HANDLE conn_handle; member
259 extern tNFA_STATUS NFA_P2pAcceptConn(tNFA_HANDLE conn_handle, uint16_t miu,
275 extern tNFA_STATUS NFA_P2pRejectConn(tNFA_HANDLE conn_handle);
295 extern tNFA_STATUS NFA_P2pDisconnect(tNFA_HANDLE conn_handle, bool flush);
400 extern tNFA_STATUS NFA_P2pSendData(tNFA_HANDLE conn_handle, uint16_t length,
450 extern tNFA_STATUS NFA_P2pSetLocalBusy(tNFA_HANDLE conn_handle, bool is_busy);
Dnfa_p2p_int.h90 tNFA_HANDLE conn_handle; member
98 tNFA_HANDLE conn_handle; member
104 tNFA_HANDLE conn_handle; member
129 tNFA_HANDLE conn_handle; member
136 tNFA_HANDLE conn_handle; member
/system/bt/stack/include/
Dbtm_iso_api.h31 virtual void OnSetupIsoDataPath(uint8_t status, uint16_t conn_handle,
33 virtual void OnRemoveIsoDataPath(uint8_t status, uint16_t conn_handle,
36 uint8_t conn_handle, uint8_t cig_id, uint32_t txUnackedPackets,
47 virtual void OnSetupIsoDataPath(uint8_t status, uint16_t conn_handle,
49 virtual void OnRemoveIsoDataPath(uint8_t status, uint16_t conn_handle,
123 virtual void DisconnectCis(uint16_t conn_handle, uint8_t reason);
133 uint16_t conn_handle,
143 virtual void RemoveIsoDataPath(uint16_t conn_handle, uint8_t data_path_dir);
151 virtual void ReadIsoLinkQuality(uint16_t conn_handle);
160 virtual void SendIsoData(uint16_t conn_handle, const uint8_t* data,
[all …]
Dhcimsgs.h122 void (*EnhancedSetupSynchronousConnection)(uint16_t conn_handle,
491 uint16_t conn_handle, enh_esco_params_t* p_parms);
626 extern void btsnd_hcic_ble_set_data_length(uint16_t conn_handle,
737 extern void btsnd_hcic_accept_cis_req(uint16_t conn_handle);
740 uint16_t conn_handle, uint8_t reason,
743 extern void btsnd_hcic_req_peer_sca(uint16_t conn_handle);
807 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle,
811 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle,
815 uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t sync_timeout,
820 uint16_t conn_handle, uint8_t mode, uint16_t skip, uint16_t sync_timeout,
Dacl_api.h262 void btm_acl_update_conn_addr(uint16_t conn_handle, const RawAddress& address);
291 void acl_disconnect_after_role_switch(uint16_t conn_handle, tHCI_STATUS reason);
Dble_advertiser.h39 void btm_acl_update_conn_addr(uint16_t conn_handle, const RawAddress& address);
/system/bt/bta/hf_client/
Dbta_hf_client_rfc.cc82 port_handle != client_cb->conn_handle) { in bta_hf_client_mgmt_cback()
92 if (client_cb && port_handle == client_cb->conn_handle) { /* out conn */ in bta_hf_client_mgmt_cback()
118 client_cb->conn_handle = port_handle; in bta_hf_client_mgmt_cback()
133 port_handle == client_cb->conn_handle) { /* code != PORT_SUC */ in bta_hf_client_mgmt_cback()
242 BTA_HF_CLIENT_MTU, client_cb->peer_addr, &(client_cb->conn_handle), in bta_hf_client_rfc_do_open()
245 bta_hf_client_setup_port(client_cb->conn_handle); in bta_hf_client_rfc_do_open()
247 client_cb->conn_handle); in bta_hf_client_rfc_do_open()
274 if (client_cb->conn_handle) { in bta_hf_client_rfc_do_close()
275 RFCOMM_RemoveConnection(client_cb->conn_handle); in bta_hf_client_rfc_do_close()
Dbta_hf_client_act.cc165 APPL_TRACE_DEBUG("%s: conn_handle %d", __func__, client_cb->conn_handle); in bta_hf_client_rfc_acp_open()
170 int status = PORT_CheckConnection(client_cb->conn_handle, &dev_addr, &lcid); in bta_hf_client_rfc_acp_open()
403 while (PORT_ReadData(client_cb->conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, in bta_hf_client_rfc_data()
Dbta_hf_client_main.cc521 uint16_t conn_handle = client_cb->conn_handle; in bta_hf_client_find_cb_by_rfc_handle() local
524 handle, is_allocated, conn_handle); in bta_hf_client_find_cb_by_rfc_handle()
526 if (is_allocated && conn_handle == handle) { in bta_hf_client_find_cb_by_rfc_handle()
531 handle, is_allocated, conn_handle); in bta_hf_client_find_cb_by_rfc_handle()
959 dprintf(fd, " RFCOMM Channel (local) %d\n", client_cb->conn_handle); in bta_hf_client_dump_statistics()
/system/bt/stack/btm/
Dbtm_iso_impl.h86 uint16_t conn_handle; in on_set_cig_params() local
116 STREAM_TO_UINT16(conn_handle, stream); in on_set_cig_params()
118 evt.conn_handles.push_back(conn_handle); in on_set_cig_params()
119 conn_hdl_to_cis_map_[conn_handle] = std::unique_ptr<iso_cis>( in on_set_cig_params()
231 uint16_t conn_handle; in on_setup_iso_data_path() local
234 STREAM_TO_UINT16(conn_handle, stream); in on_setup_iso_data_path()
236 iso_base* iso = GetIsoIfKnown(conn_handle); in on_setup_iso_data_path()
237 LOG_ASSERT(iso != nullptr) << "Invalid connection handle: " << +conn_handle; in on_setup_iso_data_path()
242 big_callbacks_->OnSetupIsoDataPath(status, conn_handle, iso->big_handle); in on_setup_iso_data_path()
245 cig_callbacks_->OnSetupIsoDataPath(status, conn_handle, iso->cig_id); in on_setup_iso_data_path()
[all …]
Dble_advertiser_hci_interface.cc295 uint16_t conn_handle; in VendorSpecificEventCback() local
306 STREAM_TO_UINT16(conn_handle, p); in VendorSpecificEventCback()
312 observer->OnAdvertisingSetTerminated(change_reason, adv_inst, conn_handle, in VendorSpecificEventCback()
724 uint16_t conn_handle; in OnAdvertisingSetTerminated() local
728 STREAM_TO_UINT16(conn_handle, p); in OnAdvertisingSetTerminated()
731 conn_handle = conn_handle & 0x0FFF; // only 12 bits meaningful in OnAdvertisingSetTerminated()
736 conn_handle, in OnAdvertisingSetTerminated()
/system/bt/hci/include/
Dbtsnoop.h35 void (*allowlist_l2c_channel)(uint16_t conn_handle, uint16_t local_cid,
48 void (*add_rfc_l2c_channel)(uint16_t conn_handle, uint16_t local_cid,
52 void (*clear_l2cap_allowlist)(uint16_t conn_handle, uint16_t local_cid,
/system/bt/bta/ag/
Dbta_ag_rfc.cc76 if (port_handle != p_scb->conn_handle) { in bta_ag_port_cback()
79 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback()
114 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) { in bta_ag_mgmt_cback()
122 if (p_scb->conn_handle) { in bta_ag_mgmt_cback()
124 if (port_handle == p_scb->conn_handle) { in bta_ag_mgmt_cback()
143 } else if (port_handle == p_scb->conn_handle) { in bta_ag_mgmt_cback()
329 p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open()
335 __func__, p_scb, p_scb->conn_handle, management_callback_index, status); in bta_ag_rfc_do_open()
337 bta_ag_setup_port(p_scb, p_scb->conn_handle); in bta_ag_rfc_do_open()
358 if (p_scb->conn_handle) { in bta_ag_rfc_do_close()
[all …]
Dbta_ag_act.cc328 p_scb->conn_handle = 0; in bta_ag_rfc_fail()
415 p_scb->conn_handle = 0; in bta_ag_rfc_close()
433 RFCOMM_RemoveServer(p_scb->conn_handle); in bta_ag_rfc_close()
546 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open()
547 status = RFCOMM_RemoveConnection(ag_scb.conn_handle); in bta_ag_rfc_acp_open()
551 << std::to_string(ag_scb.conn_handle) << ", error " in bta_ag_rfc_acp_open()
572 p_scb->conn_handle = data.rfc.port_handle; in bta_ag_rfc_acp_open()
578 p_scb->conn_service, p_scb->conn_handle); in bta_ag_rfc_acp_open()
610 if (PORT_ReadData(p_scb->conn_handle, buf, BTA_AG_RFC_READ_MAX, &len) != in bta_ag_rfc_data()
/system/bt/hci/src/
Dbtsnoop.cc293 static void allowlist_l2c_channel(uint16_t conn_handle, uint16_t local_cid, in allowlist_l2c_channel() argument
296 << ": Allowlisting l2cap channel. conn_handle=" << conn_handle in allowlist_l2c_channel()
305 filter_list[conn_handle].addL2cCid(local_cid, remote_cid); in allowlist_l2c_channel()
321 static void add_rfc_l2c_channel(uint16_t conn_handle, uint16_t local_cid, in add_rfc_l2c_channel() argument
325 << conn_handle << " cid=" << loghex(local_cid) << ":" in add_rfc_l2c_channel()
332 filter_list[conn_handle].setRfcCid(local_cid, remote_cid); in add_rfc_l2c_channel()
333 local_cid_to_acl.insert({local_cid, conn_handle}); in add_rfc_l2c_channel()
336 static void clear_l2cap_allowlist(uint16_t conn_handle, uint16_t local_cid, in clear_l2cap_allowlist() argument
340 << conn_handle << " cid=" << local_cid << ":" << remote_cid; in clear_l2cap_allowlist()
346 filter_list[conn_handle].removeL2cCid(local_cid, remote_cid); in clear_l2cap_allowlist()
/system/bt/test/mock/
Dmock_hcic_hciblecmds.cc53 void btsnd_hcic_accept_cis_req(uint16_t conn_handle) { in btsnd_hcic_accept_cis_req() argument
131 uint16_t conn_handle, uint16_t service_data, uint8_t adv_handle, in btsnd_hcic_ble_periodic_advertising_set_info_transfer() argument
136 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, in btsnd_hcic_ble_periodic_advertising_sync_transfer() argument
188 void btsnd_hcic_ble_set_data_length(uint16_t conn_handle, uint16_t tx_octets, in btsnd_hcic_ble_set_data_length() argument
193 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
222 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
290 void btsnd_hcic_rej_cis_req(uint16_t conn_handle, uint8_t reason, in btsnd_hcic_rej_cis_req() argument
307 void btsnd_hcic_req_peer_sca(uint16_t conn_handle) { in btsnd_hcic_req_peer_sca() argument
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc233 p_msg->conn_handle = handle; in NFA_P2pAcceptConn()
282 p_msg->conn_handle = handle; in NFA_P2pRejectConn()
335 p_msg->conn_handle = handle; in NFA_P2pDisconnect()
684 p_msg->conn_handle = handle; in NFA_P2pSendData()
808 tNFA_STATUS NFA_P2pSetLocalBusy(tNFA_HANDLE conn_handle, bool is_busy) { in NFA_P2pSetLocalBusy() argument
813 << StringPrintf("conn_handle:0x%02X, is_busy:%d", conn_handle, is_busy); in NFA_P2pSetLocalBusy()
815 xx = conn_handle & NFA_HANDLE_MASK; in NFA_P2pSetLocalBusy()
833 p_msg->conn_handle = conn_handle; in NFA_P2pSetLocalBusy()
Dnfa_p2p_act.cc307 evt_data.conn_req.conn_handle = in nfa_p2p_proc_llcp_connect_ind()
350 evt_data.connected.conn_handle = in nfa_p2p_proc_llcp_connect_resp()
782 xx = (uint8_t)(p_msg->api_accept.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_accept_connection()
810 xx = (uint8_t)(p_msg->api_reject.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_reject_connection()
840 xx = (uint8_t)(p_msg->api_disconnect.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_disconnect()
985 xx = (uint8_t)(p_msg->api_send_data.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_send_data()
1032 xx = (uint8_t)(p_msg->api_local_busy.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_set_local_busy()
/system/bt/gd/iso/
Dfacade.cc84 for (const uint16_t conn_handle : conn_handles) { in LeSetCigParameters() local
85 msg.add_cis_handle(conn_handle); in LeSetCigParameters()
131 for (const uint16_t conn_handle : conn_handles) { in LeSetCigParametersTest() local
132 msg.add_cis_handle(conn_handle); in LeSetCigParametersTest()
/system/bt/stack/hcic/
Dhciblecmds.cc744 void btsnd_hcic_ble_set_data_length(uint16_t conn_handle, uint16_t tx_octets, in btsnd_hcic_ble_set_data_length() argument
755 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_data_length()
967 void btsnd_hcic_accept_cis_req(uint16_t conn_handle) { in btsnd_hcic_accept_cis_req() argument
978 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_accept_cis_req()
983 void btsnd_hcic_rej_cis_req(uint16_t conn_handle, uint8_t reason, in btsnd_hcic_rej_cis_req() argument
989 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_rej_cis_req()
996 void btsnd_hcic_req_peer_sca(uint16_t conn_handle) { in btsnd_hcic_req_peer_sca() argument
1006 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_req_peer_sca()
1260 uint16_t conn_handle, uint16_t service_data, uint16_t sync_handle, in btsnd_hcic_ble_periodic_advertising_sync_transfer() argument
1265 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_periodic_advertising_sync_transfer()
[all …]
/system/bt/gd/security/
Dpairing_handler_le.h136 …void SendHciLeStartEncryption(const InitialInformations& i, uint16_t conn_handle, const std::array… in SendHciLeStartEncryption() argument
138 …i.le_security_interface->EnqueueCommand(hci::LeStartEncryptionBuilder::Create(conn_handle, rand, e… in SendHciLeStartEncryption()
148 …void SendHciLeLongTermKeyReply(const InitialInformations& i, uint16_t conn_handle, const Octet16& … in SendHciLeLongTermKeyReply() argument
150 hci::LeLongTermKeyRequestReplyBuilder::Create(conn_handle, ltk), in SendHciLeLongTermKeyReply()
/system/bt/gd/hci/
Dacl_manager.h117 …virtual void OnAdvertisingSetTerminated(ErrorCode status, uint16_t conn_handle, hci::AddressWithTy…
Dacl_manager.cc252 void AclManager::OnAdvertisingSetTerminated(ErrorCode status, uint16_t conn_handle, hci::AddressWit… in OnAdvertisingSetTerminated() argument
254 CallOn(pimpl_->le_impl_, &le_impl::UpdateLocalAddress, conn_handle, adv_address); in OnAdvertisingSetTerminated()

12