Home
last modified time | relevance | path

Searched refs:sap_cb (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfa/p2p/
Dnfa_p2p_act.cc193 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_SDP_EVT, &evt_data); in nfa_p2p_sdp_cback()
251 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) { in nfa_p2p_proc_llcp_data_ind()
270 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_DATA_EVT, &evt_data); in nfa_p2p_proc_llcp_data_ind()
295 if (nfa_p2p_cb.sap_cb[server_sap].p_cback) { in nfa_p2p_proc_llcp_connect_ind()
313 nfa_p2p_cb.sap_cb[server_sap].p_cback(NFA_P2P_CONN_REQ_EVT, &evt_data); in nfa_p2p_proc_llcp_connect_ind()
338 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) { in nfa_p2p_proc_llcp_connect_resp()
356 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_CONNECTED_EVT, &evt_data); in nfa_p2p_proc_llcp_connect_resp()
379 if (nfa_p2p_cb.sap_cb[local_sap].p_cback) { in nfa_p2p_proc_llcp_disconnect_ind()
390 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_DISC_EVT, &evt_data); in nfa_p2p_proc_llcp_disconnect_ind()
401 nfa_p2p_cb.sap_cb[local_sap].p_cback(NFA_P2P_DISC_EVT, &evt_data); in nfa_p2p_proc_llcp_disconnect_ind()
[all …]
Dnfa_p2p_api.cc173 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pDeregister()
372 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pConnectByName()
429 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pConnectBySap()
488 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pSendUI()
497 } else if (nfa_p2p_cb.sap_cb[xx].flags & NFA_P2P_SAP_FLAG_LLINK_CONGESTED) { in NFA_P2pSendUI()
502 (uint8_t)xx, nfa_p2p_cb.sap_cb[xx].num_pending_ui_pdu, in NFA_P2pSendUI()
505 nfa_p2p_cb.sap_cb[xx].flags |= NFA_P2P_SAP_FLAG_LLINK_CONGESTED; in NFA_P2pSendUI()
526 nfa_p2p_cb.sap_cb[xx].num_pending_ui_pdu++; in NFA_P2pSendUI()
534 nfa_p2p_cb.sap_cb[xx].flags |= NFA_P2P_SAP_FLAG_LLINK_CONGESTED; in NFA_P2pSendUI()
575 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pReadUI()
[all …]
/system/nfc/src/nfa/include/
Dnfa_p2p_int.h248 tNFA_P2P_SAP_CB sap_cb[NFA_P2P_NUM_SAP]; member