Home
last modified time | relevance | path

Searched refs:conn_handle (Results 1 – 25 of 29) 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()
116 client_cb->conn_handle = port_handle; in bta_hf_client_mgmt_cback()
130 port_handle == client_cb->conn_handle) { /* code != PORT_SUC */ in bta_hf_client_mgmt_cback()
242 &(client_cb->conn_handle), in bta_hf_client_rfc_do_open()
244 bta_hf_client_setup_port(client_cb->conn_handle); in bta_hf_client_rfc_do_open()
246 client_cb->conn_handle); in bta_hf_client_rfc_do_open()
273 if (client_cb->conn_handle) { in bta_hf_client_rfc_do_close()
274 RFCOMM_RemoveConnection(client_cb->conn_handle); in bta_hf_client_rfc_do_close()
Dbta_hf_client_act.cc175 APPL_TRACE_DEBUG("%s: conn_handle %d", __func__, client_cb->conn_handle); in bta_hf_client_rfc_acp_open()
178 if (PORT_SUCCESS != (status = PORT_CheckConnection(client_cb->conn_handle, in bta_hf_client_rfc_acp_open()
412 while (PORT_ReadData(client_cb->conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, in bta_hf_client_rfc_data()
Dbta_hf_client_main.cc522 uint16_t conn_handle = client_cb->conn_handle; in bta_hf_client_find_cb_by_rfc_handle() local
525 handle, is_allocated, conn_handle); in bta_hf_client_find_cb_by_rfc_handle()
527 if (is_allocated && conn_handle == handle) { in bta_hf_client_find_cb_by_rfc_handle()
532 handle, is_allocated, conn_handle); in bta_hf_client_find_cb_by_rfc_handle()
943 dprintf(fd, " RFCOMM Channel (local) %d\n", client_cb->conn_handle); in bta_hf_client_dump_statistics()
Dbta_hf_client_int.h167 uint16_t conn_handle; /* RFCOMM handle of connected service */ member
Dbta_hf_client_at.cc191 client_cb->conn_handle); in bta_hf_client_send_at()
192 PORT_WriteData(client_cb->conn_handle, buf, buf_len, &len); in bta_hf_client_send_at()
/system/bt/bta/ag/
Dbta_ag_rfc.cc81 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()
148 } else if (port_handle == p_scb->conn_handle) { in bta_ag_mgmt_cback()
339 p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open()
344 __func__, p_scb, p_scb->conn_handle, management_callback_index, status); in bta_ag_rfc_do_open()
346 bta_ag_setup_port(p_scb, p_scb->conn_handle); in bta_ag_rfc_do_open()
367 if (p_scb->conn_handle) { in bta_ag_rfc_do_close()
[all …]
Dbta_ag_act.cc334 p_scb->conn_handle = 0; in bta_ag_rfc_fail()
420 p_scb->conn_handle = 0; in bta_ag_rfc_close()
438 RFCOMM_RemoveServer(p_scb->conn_handle); in bta_ag_rfc_close()
552 if (ag_scb.conn_handle > 0) { in bta_ag_rfc_acp_open()
553 status = RFCOMM_RemoveConnection(ag_scb.conn_handle); in bta_ag_rfc_acp_open()
557 << std::to_string(ag_scb.conn_handle) << ", error " in bta_ag_rfc_acp_open()
578 p_scb->conn_handle = data.rfc.port_handle; in bta_ag_rfc_acp_open()
584 p_scb->conn_service, p_scb->conn_handle); in bta_ag_rfc_acp_open()
616 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/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.cc292 uint16_t conn_handle; in VendorSpecificEventCback() local
303 STREAM_TO_UINT16(conn_handle, p); in VendorSpecificEventCback()
309 observer->OnAdvertisingSetTerminated(change_reason, adv_inst, conn_handle, in VendorSpecificEventCback()
721 uint16_t conn_handle; in OnAdvertisingSetTerminated() local
725 STREAM_TO_UINT16(conn_handle, p); in OnAdvertisingSetTerminated()
728 conn_handle = conn_handle & 0x0FFF; // only 12 bits meaningful in OnAdvertisingSetTerminated()
733 conn_handle, in OnAdvertisingSetTerminated()
Dbtm_int.h134 extern void btm_acl_update_conn_addr(uint16_t conn_handle,
Dbtm_sec.cc91 uint16_t conn_handle);
1330 uint16_t conn_handle) { in btm_sec_send_hci_disconnect() argument
1335 conn_handle, reason); in btm_sec_send_hci_disconnect()
1340 if (conn_handle == p_dev_rec->hci_handle) return status; in btm_sec_send_hci_disconnect()
1346 if (conn_handle == p_dev_rec->ble_hci_handle) return status; in btm_sec_send_hci_disconnect()
1355 p_dev_rec->sec_state = (conn_handle == p_dev_rec->hci_handle) in btm_sec_send_hci_disconnect()
1365 p_dev_rec->hci_handle == conn_handle) { in btm_sec_send_hci_disconnect()
1374 btsnd_hcic_disconnect(conn_handle, reason); in btm_sec_send_hci_disconnect()
Dbtm_ble.cc284 bool BTM_IsBleConnection(uint16_t conn_handle) { in BTM_IsBleConnection() argument
288 BTM_TRACE_API("BTM_IsBleConnection: conn_handle: %d", conn_handle); in BTM_IsBleConnection()
290 xx = btm_handle_to_acl_index(conn_handle); in BTM_IsBleConnection()
Dbtm_acl.cc297 void btm_acl_update_conn_addr(uint16_t conn_handle, const RawAddress& address) { in btm_acl_update_conn_addr() argument
298 uint8_t idx = btm_handle_to_acl_index(conn_handle); in btm_acl_update_conn_addr()
/system/bt/stack/include/
Dble_advertiser.h39 void btm_acl_update_conn_addr(uint16_t conn_handle, const RawAddress& address);
Dbtm_ble_api.h377 extern bool BTM_IsBleConnection(uint16_t conn_handle);
Dhcimsgs.h631 uint16_t conn_handle, enh_esco_params_t* p_parms);
829 extern void btsnd_hcic_ble_set_data_length(uint16_t conn_handle,
/system/bt/bta/dm/
Dbta_dm_int.h231 uint16_t conn_handle; member
/system/bt/stack/hcic/
Dhciblecmds.cc689 void btsnd_hcic_ble_set_data_length(uint16_t conn_handle, uint16_t tx_octets, in btsnd_hcic_ble_set_data_length() argument
700 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_data_length()

12