Home
last modified time | relevance | path

Searched refs:nfa_p2p_cb (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/nfa/p2p/
Dnfa_p2p_main.cc42 tNFA_P2P_CB nfa_p2p_cb; variable
109 nfa_p2p_cb.llcp_state = NFA_P2P_LLCP_STATE_LISTENING; in nfa_p2p_discovery_cback()
110 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_DISCOVERY; in nfa_p2p_discovery_cback()
116 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_LISTEN_ACTIVE; in nfa_p2p_discovery_cback()
128 nfa_sys_stop_timer(&nfa_p2p_cb.active_listen_restore_timer); in nfa_p2p_discovery_cback()
134 if ((nfa_p2p_cb.rf_disc_state != NFA_DM_RFST_LISTEN_ACTIVE) && in nfa_p2p_discovery_cback()
135 (nfa_p2p_cb.rf_disc_state != NFA_DM_RFST_LISTEN_SLEEP)) { in nfa_p2p_discovery_cback()
145 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_LISTEN_SLEEP; in nfa_p2p_discovery_cback()
148 nfa_p2p_cb.rf_disc_state = NFA_DM_RFST_DISCOVERY; in nfa_p2p_discovery_cback()
193 nfa_p2p_cb.listen_tech_mask_to_restore); in nfa_p2p_update_active_listen()
[all …]
Dnfa_p2p_act.cc62 if (nfa_p2p_cb.conn_cb[xx].flags == 0) { in nfa_p2p_allocate_conn_cb()
63 nfa_p2p_cb.conn_cb[xx].flags |= NFA_P2P_CONN_FLAG_IN_USE; in nfa_p2p_allocate_conn_cb()
64 nfa_p2p_cb.conn_cb[xx].local_sap = local_sap; in nfa_p2p_allocate_conn_cb()
87 nfa_p2p_cb.conn_cb[xx].flags = 0; in nfa_p2p_deallocate_conn_cb()
107 if ((nfa_p2p_cb.conn_cb[xx].flags & NFA_P2P_CONN_FLAG_IN_USE) && in nfa_p2p_find_conn_cb()
108 (nfa_p2p_cb.conn_cb[xx].local_sap == local_sap) && in nfa_p2p_find_conn_cb()
109 (nfa_p2p_cb.conn_cb[xx].remote_sap == remote_sap)) { in nfa_p2p_find_conn_cb()
187 if ((nfa_p2p_cb.sdp_cb[xx].local_sap != LLCP_INVALID_SAP) && in nfa_p2p_sdp_cback()
188 (nfa_p2p_cb.sdp_cb[xx].tid == tid)) { in nfa_p2p_sdp_cback()
189 local_sap = nfa_p2p_cb.sdp_cb[xx].local_sap; in nfa_p2p_sdp_cback()
[all …]
Dnfa_p2p_api.cc173 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pDeregister()
221 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pAcceptConn()
226 if ((miu < LLCP_DEFAULT_MIU) || (nfa_p2p_cb.local_link_miu < miu)) { in NFA_P2pAcceptConn()
228 LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu); in NFA_P2pAcceptConn()
273 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pRejectConn()
322 if ((xx >= LLCP_MAX_DATA_LINK) || (nfa_p2p_cb.conn_cb[xx].flags == 0)) { in NFA_P2pDisconnect()
372 if ((xx >= NFA_P2P_NUM_SAP) || (nfa_p2p_cb.sap_cb[xx].p_cback == nullptr)) { in NFA_P2pConnectByName()
378 (nfa_p2p_cb.llcp_state != NFA_P2P_LLCP_STATE_ACTIVATED) || in NFA_P2pConnectByName()
379 (nfa_p2p_cb.local_link_miu < miu)) { in NFA_P2pConnectByName()
383 miu, LLCP_DEFAULT_MIU, nfa_p2p_cb.local_link_miu); in NFA_P2pConnectByName()
[all …]
/system/nfc/src/nfa/include/
Dnfa_p2p_int.h263 extern tNFA_P2P_CB nfa_p2p_cb;