Home
last modified time | relevance | path

Searched refs:conn_handle (Results 1 – 25 of 33) 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
Dnfa_hci_api.h390 extern tNFA_STATUS NFA_HciDeallocGate(tNFA_HANDLE conn_handle, uint8_t gate);
/system/bt/bta/hf_client/
Dbta_hf_client_rfc.cc83 port_handle != client_cb->conn_handle) { in bta_hf_client_mgmt_cback()
93 if (client_cb && port_handle == client_cb->conn_handle) { /* out conn */ in bta_hf_client_mgmt_cback()
119 client_cb->conn_handle = port_handle; in bta_hf_client_mgmt_cback()
134 port_handle == client_cb->conn_handle) { /* code != PORT_SUC */ in bta_hf_client_mgmt_cback()
250 &(client_cb->conn_handle), in bta_hf_client_rfc_do_open()
252 bta_hf_client_setup_port(client_cb->conn_handle); in bta_hf_client_rfc_do_open()
254 client_cb->conn_handle); in bta_hf_client_rfc_do_open()
281 if (client_cb->conn_handle) { in bta_hf_client_rfc_do_close()
282 RFCOMM_RemoveConnection(client_cb->conn_handle); in bta_hf_client_rfc_do_close()
Dbta_hf_client_act.cc170 APPL_TRACE_DEBUG("%s: conn_handle %d", __func__, 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()
408 while (PORT_ReadData(client_cb->conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, in bta_hf_client_rfc_data()
Dbta_hf_client_main.cc524 uint16_t conn_handle = client_cb->conn_handle; in bta_hf_client_find_cb_by_rfc_handle() local
527 handle, is_allocated, conn_handle); in bta_hf_client_find_cb_by_rfc_handle()
529 if (is_allocated && conn_handle == handle) { in bta_hf_client_find_cb_by_rfc_handle()
534 handle, is_allocated, conn_handle); in bta_hf_client_find_cb_by_rfc_handle()
940 dprintf(fd, " RFCOMM Channel (local) %d\n", client_cb->conn_handle); in bta_hf_client_dump_statistics()
Dbta_hf_client_int.h169 uint16_t conn_handle; /* RFCOMM handle of connected service */ member
/system/bt/hci/include/
Dbtsnoop.h35 void (*whitelist_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_whitelist)(uint16_t conn_handle, uint16_t local_cid,
/system/bt/bta/ag/
Dbta_ag_rfc.cc82 if (port_handle != p_scb->conn_handle) { in bta_ag_port_cback()
85 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback()
120 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) { in bta_ag_mgmt_cback()
128 if (p_scb->conn_handle) { in bta_ag_mgmt_cback()
130 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()
340 p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open()
345 __func__, p_scb, p_scb->conn_handle, management_callback_index, status); in bta_ag_rfc_do_open()
347 bta_ag_setup_port(p_scb, p_scb->conn_handle); in bta_ag_rfc_do_open()
368 if (p_scb->conn_handle) { in bta_ag_rfc_do_close()
[all …]
Dbta_ag_act.cc332 p_scb->conn_handle = 0; in bta_ag_rfc_fail()
418 p_scb->conn_handle = 0; in bta_ag_rfc_close()
436 RFCOMM_RemoveServer(p_scb->conn_handle); in bta_ag_rfc_close()
549 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open()
550 status = RFCOMM_RemoveConnection(ag_scb.conn_handle); in bta_ag_rfc_acp_open()
554 << std::to_string(ag_scb.conn_handle) << ", error " in bta_ag_rfc_acp_open()
575 p_scb->conn_handle = data.rfc.port_handle; in bta_ag_rfc_acp_open()
581 p_scb->conn_service, p_scb->conn_handle); in bta_ag_rfc_acp_open()
613 if (PORT_ReadData(p_scb->conn_handle, buf, BTA_AG_RFC_READ_MAX, &len) != in bta_ag_rfc_data()
Dbta_ag_int.h201 uint16_t conn_handle; /* RFCOMM handle of connected service */ member
/system/bt/hci/src/
Dbtsnoop.cc293 static void whitelist_l2c_channel(uint16_t conn_handle, uint16_t local_cid, in whitelist_l2c_channel() argument
296 << ": Whitelisting l2cap channel. conn_handle=" << conn_handle in whitelist_l2c_channel()
305 filter_list[conn_handle].addL2cCid(local_cid, remote_cid); in whitelist_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_whitelist(uint16_t conn_handle, uint16_t local_cid, in clear_l2cap_whitelist() argument
340 << conn_handle << " cid=" << local_cid << ":" << remote_cid; in clear_l2cap_whitelist()
346 filter_list[conn_handle].removeL2cCid(local_cid, remote_cid); in clear_l2cap_whitelist()
/system/bt/gd/hal/cert/
Dsimple_hal_test.py237 conn_handle = 0xfff
242 nonlocal conn_handle
246 conn_handle = cc_view.GetConnectionHandle()
251 cert_handle = conn_handle
252 conn_handle = 0xfff
254 dut_handle = conn_handle
/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/stack/btm/
Dble_advertiser_hci_interface.cc294 uint16_t conn_handle; in VendorSpecificEventCback() local
305 STREAM_TO_UINT16(conn_handle, p); in VendorSpecificEventCback()
311 observer->OnAdvertisingSetTerminated(change_reason, adv_inst, conn_handle, in VendorSpecificEventCback()
723 uint16_t conn_handle; in OnAdvertisingSetTerminated() local
727 STREAM_TO_UINT16(conn_handle, p); in OnAdvertisingSetTerminated()
730 conn_handle = conn_handle & 0x0FFF; // only 12 bits meaningful in OnAdvertisingSetTerminated()
735 conn_handle, in OnAdvertisingSetTerminated()
Dbtm_int.h134 extern void btm_acl_update_conn_addr(uint16_t conn_handle,
Dbtm_sec.cc98 uint16_t conn_handle);
1233 uint16_t conn_handle) { in btm_sec_send_hci_disconnect() argument
1238 conn_handle, reason); in btm_sec_send_hci_disconnect()
1243 if (conn_handle == p_dev_rec->hci_handle) return status; in btm_sec_send_hci_disconnect()
1249 if (conn_handle == p_dev_rec->ble_hci_handle) return status; in btm_sec_send_hci_disconnect()
1258 p_dev_rec->sec_state = (conn_handle == p_dev_rec->hci_handle) in btm_sec_send_hci_disconnect()
1268 p_dev_rec->hci_handle == conn_handle) { in btm_sec_send_hci_disconnect()
1277 btsnd_hcic_disconnect(conn_handle, reason); in btm_sec_send_hci_disconnect()
/system/bt/stack/include/
Dble_advertiser.h39 void btm_acl_update_conn_addr(uint16_t conn_handle, const RawAddress& address);
Dbtm_ble_api.h305 extern bool BTM_IsBleConnection(uint16_t conn_handle);
Dhcimsgs.h628 uint16_t conn_handle, enh_esco_params_t* p_parms);
826 extern void btsnd_hcic_ble_set_data_length(uint16_t conn_handle,
/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()
/system/bt/bta/dm/
Dbta_dm_int.h231 uint16_t conn_handle; member

12