/external/libnfc-nci/src/nfa/snep/ |
D | nfa_snep_api.c | 337 tNFA_STATUS NFA_SnepGet (tNFA_HANDLE conn_handle, in NFA_SnepGet() argument 345 SNEP_TRACE_API1 ("NFA_SnepGet (): conn_handle:0x%X", conn_handle); in NFA_SnepGet() 347 xx = conn_handle & NFA_HANDLE_MASK; in NFA_SnepGet() 361 p_msg->conn_handle = conn_handle; in NFA_SnepGet() 392 tNFA_STATUS NFA_SnepPut (tNFA_HANDLE conn_handle, in NFA_SnepPut() argument 399 SNEP_TRACE_API1 ("NFA_SnepPut (): conn_handle:0x%X", conn_handle); in NFA_SnepPut() 401 xx = conn_handle & NFA_HANDLE_MASK; in NFA_SnepPut() 415 p_msg->conn_handle = conn_handle; in NFA_SnepPut() 457 tNFA_STATUS NFA_SnepGetResponse (tNFA_HANDLE conn_handle, in NFA_SnepGetResponse() argument 465 SNEP_TRACE_API1 ("NFA_SnepGetResponse (): conn_handle:0x%X", conn_handle); in NFA_SnepGetResponse() [all …]
|
D | nfa_snep_default.c | 73 nfa_snep_default_cb.conn[xx].conn_handle = NFA_HANDLE_INVALID; in nfa_snep_default_init() 113 if (nfa_snep_default_cb.conn[xx].conn_handle == NFA_HANDLE_INVALID) in nfa_snep_default_service_cback() 115 nfa_snep_default_cb.conn[xx].conn_handle = p_data->connect.conn_handle; in nfa_snep_default_service_cback() 125 api_disconnect.conn_handle = p_data->connect.conn_handle; in nfa_snep_default_service_cback() 149 if (nfa_snep_default_cb.conn[xx].conn_handle == p_data->alloc.conn_handle) in nfa_snep_default_service_cback() 168 if (nfa_snep_default_cb.conn[xx].conn_handle == p_data->put_req.conn_handle) in nfa_snep_default_service_cback() 187 api_put_resp.conn_handle = p_data->put_req.conn_handle; in nfa_snep_default_service_cback() 199 if (nfa_snep_default_cb.conn[xx].conn_handle == p_data->disc.conn_handle) in nfa_snep_default_service_cback() 201 nfa_snep_default_cb.conn[xx].conn_handle = NFA_HANDLE_INVALID; in nfa_snep_default_service_cback()
|
D | nfa_snep_act.c | 724 evt_data.alloc.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_store_first_rx_msg() 884 evt_data.get_resp.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_first_rx_msg() 1078 evt_data.get_req.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_data_ind() 1092 evt_data.put_req.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_data_ind() 1126 evt_data.get_resp.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_data_ind() 1138 evt_data.put_resp.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_data_ind() 1155 evt_data.get_resp.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_data_ind() 1166 evt_data.put_resp.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_data_ind() 1232 evt_data.connect.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_connect_ind() 1284 evt_data.connect.conn_handle = (NFA_HANDLE_GROUP_SNEP | dlink); in nfa_snep_proc_llcp_connect_resp() [all …]
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_snep_api.h | 99 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 105 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 114 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 122 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 131 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 138 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 145 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 155 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 322 NFC_API extern tNFA_STATUS NFA_SnepGet (tNFA_HANDLE conn_handle, 346 NFC_API extern tNFA_STATUS NFA_SnepPut (tNFA_HANDLE conn_handle, [all …]
|
D | nfa_p2p_api.h | 106 tNFA_HANDLE conn_handle; member 116 tNFA_HANDLE conn_handle; member 263 NFC_API extern tNFA_STATUS NFA_P2pAcceptConn (tNFA_HANDLE conn_handle, 280 NFC_API extern tNFA_STATUS NFA_P2pRejectConn (tNFA_HANDLE conn_handle); 298 NFC_API extern tNFA_STATUS NFA_P2pDisconnect (tNFA_HANDLE conn_handle, 410 NFC_API extern tNFA_STATUS NFA_P2pSendData (tNFA_HANDLE conn_handle, 462 NFC_API extern tNFA_STATUS NFA_P2pSetLocalBusy (tNFA_HANDLE conn_handle,
|
D | nfa_hci_api.h | 374 NFC_API extern tNFA_STATUS NFA_HciDeallocGate (tNFA_HANDLE conn_handle, UINT8 gate);
|
/external/bluetooth/bluedroid/bta/ag/ |
D | bta_ag_rfc.c | 96 if (port_handle != p_scb->conn_handle) in bta_ag_port_cback() 99 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback() 136 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) in bta_ag_mgmt_cback() 144 if (p_scb->conn_handle) /* Outgoing connection */ in bta_ag_mgmt_cback() 146 if (port_handle == p_scb->conn_handle) in bta_ag_mgmt_cback() 167 else if (port_handle == p_scb->conn_handle) in bta_ag_mgmt_cback() 377 FALSE, BTA_AG_MTU, p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open() 380 bta_ag_setup_port(p_scb, p_scb->conn_handle); in bta_ag_rfc_do_open() 381 APPL_TRACE_DEBUG1("bta_ag_rfc_do_open : conn_handle = %d", p_scb->conn_handle); in bta_ag_rfc_do_open() 404 if (p_scb->conn_handle) in bta_ag_rfc_do_close() [all …]
|
D | bta_ag_act.c | 375 p_scb->conn_handle = 0; in bta_ag_rfc_fail() 411 if (p_scb->conn_handle != 0) in bta_ag_rfc_close() 412 RFCOMM_RemoveConnection (p_scb->conn_handle); in bta_ag_rfc_close() 460 p_scb->conn_handle = 0; in bta_ag_rfc_close() 481 RFCOMM_RemoveServer(p_scb->conn_handle); in bta_ag_rfc_close() 605 p_scb->conn_handle = p_data->rfc.port_handle; in bta_ag_rfc_acp_open() 611 p_scb->conn_service, p_scb->conn_handle); in bta_ag_rfc_acp_open() 647 if (PORT_ReadData(p_scb->conn_handle, buf, BTA_AG_RFC_READ_MAX, &len) != PORT_SUCCESS) in bta_ag_rfc_data() 845 PORT_WriteData(p_scb->conn_handle, p_data_area, strlen(p_data_area), &len); in bta_ag_ci_rx_data()
|
D | bta_ag_int.h | 251 UINT16 conn_handle; /* RFCOMM handle of connected service */ member
|
D | bta_ag_cmd.c | 386 PORT_WriteData(p_scb->conn_handle, buf, (UINT16) (p - buf), &len); in bta_ag_send_result() 450 PORT_WriteData(p_scb->conn_handle, buf, (UINT16) (p - buf), &len); in bta_ag_send_multi_result()
|
/external/libnfc-nci/src/nfa/int/ |
D | nfa_snep_int.h | 106 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 116 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 125 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 135 tNFA_HANDLE conn_handle; /* handle for data link connection */ member 143 tNFA_HANDLE conn_handle; /* response code */ member 217 tNFA_HANDLE conn_handle; /* connection handle for default server */ member
|
D | nfa_p2p_int.h | 97 tNFA_HANDLE conn_handle; member 106 tNFA_HANDLE conn_handle; member 113 tNFA_HANDLE conn_handle; member 141 tNFA_HANDLE conn_handle; member 149 tNFA_HANDLE conn_handle; member
|
/external/libnfc-nci/src/nfa/p2p/ |
D | nfa_p2p_api.c | 242 p_msg->conn_handle = handle; in NFA_P2pAcceptConn() 297 p_msg->conn_handle = handle; in NFA_P2pRejectConn() 353 p_msg->conn_handle = handle; in NFA_P2pDisconnect() 741 p_msg->conn_handle = handle; in NFA_P2pSendData() 878 tNFA_STATUS NFA_P2pSetLocalBusy (tNFA_HANDLE conn_handle, in NFA_P2pSetLocalBusy() argument 884 P2P_TRACE_API2 ("NFA_P2pSetLocalBusy (): conn_handle:0x%02X, is_busy:%d", conn_handle, is_busy); in NFA_P2pSetLocalBusy() 886 xx = conn_handle & NFA_HANDLE_MASK; in NFA_P2pSetLocalBusy() 909 p_msg->conn_handle = conn_handle; in NFA_P2pSetLocalBusy()
|
D | nfa_p2p_act.c | 332 … evt_data.conn_req.conn_handle = (NFA_HANDLE_GROUP_P2P | NFA_P2P_HANDLE_FLAG_CONN | xx); in nfa_p2p_proc_llcp_connect_ind() 379 … evt_data.connected.conn_handle = (NFA_HANDLE_GROUP_P2P | NFA_P2P_HANDLE_FLAG_CONN | xx); in nfa_p2p_proc_llcp_connect_resp() 861 xx = (UINT8) (p_msg->api_accept.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_accept_connection() 889 xx = (UINT8) (p_msg->api_reject.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_reject_connection() 919 xx = (UINT8) (p_msg->api_disconnect.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_disconnect() 1078 xx = (UINT8) (p_msg->api_send_data.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_send_data() 1126 xx = (UINT8) (p_msg->api_local_busy.conn_handle & NFA_HANDLE_MASK); in nfa_p2p_set_local_busy()
|