Home
last modified time | relevance | path

Searched refs:nfa_ee_cb (Results 1 – 5 of 5) sorted by relevance

/system/nfc/src/nfa/ee/
Dnfa_ee_main.cc42 tNFA_EE_CB nfa_ee_cb; variable
104 memset(&nfa_ee_cb, 0, sizeof(tNFA_EE_CB)); in nfa_ee_init()
106 nfa_ee_cb.ecb[xx].nfcee_id = NFA_EE_INVALID; in nfa_ee_init()
107 nfa_ee_cb.ecb[xx].ee_status = NFC_NFCEE_STATUS_INACTIVE; in nfa_ee_init()
110 nfa_ee_cb.ecb[NFA_EE_CB_4_DH].ee_status = NFC_NFCEE_STATUS_ACTIVE; in nfa_ee_init()
111 nfa_ee_cb.ecb[NFA_EE_CB_4_DH].nfcee_id = NFC_DH_ID; in nfa_ee_init()
129 nfa_ee_cb.route_block_control = 0x00; in nfa_ee_sys_enable()
134 nfa_ee_cb.route_block_control = NCI_ROUTE_QUAL_BLOCK_ROUTE; in nfa_ee_sys_enable()
136 "nfa_ee_cb.route_block_control=0x%x", nfa_ee_cb.route_block_control); in nfa_ee_sys_enable()
143 nfa_sys_start_timer(&nfa_ee_cb.discv_timer, NFA_EE_DISCV_TIMEOUT_EVT, in nfa_ee_sys_enable()
[all …]
Dnfa_ee_act.cc92 *(*p_buff)++ = NFC_ROUTE_TAG_SYSCODE | nfa_ee_cb.route_block_control; in add_route_sys_code_tlv()
292 p_cb = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_total_lmrt_size()
297 if (nfa_ee_cb.cur_ee > 0) p_cb = &nfa_ee_cb.ecb[nfa_ee_cb.cur_ee - 1]; in nfa_ee_total_lmrt_size()
298 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb--) { in nfa_ee_total_lmrt_size()
339 nfa_ee_cb.ee_cfged |= NFA_EE_CFGED_OFF_ROUTING; in nfa_ee_add_tech_route_to_ecb()
369 proto_tag = NFC_ROUTE_TAG_PROTO | nfa_ee_cb.route_block_control; in nfa_ee_add_proto_route_to_ecb()
403 nfa_ee_cb.ee_cfged |= NFA_EE_CFGED_OFF_ROUTING; in nfa_ee_add_proto_route_to_ecb()
447 NFC_ROUTE_TAG_AID | nfa_ee_cb.route_block_control | route_qual; in nfa_ee_add_aid_route_to_ecb()
629 tNFA_EE_ECB* p_cb = &nfa_ee_cb.ecb[xx]; in nfa_all_ee_find_total_sys_code_len()
650 p_ecb = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_find_aid_offset()
[all …]
Dnfa_ee_api.cc60 if (nfa_ee_cb.em_state != NFA_EE_EM_STATE_INIT_DONE) { in NFA_EeDiscover()
62 nfa_ee_cb.em_state); in NFA_EeDiscover()
64 } else if ((nfa_ee_cb.p_ee_disc_cback != nullptr) || (p_cback == nullptr)) { in NFA_EeDiscover()
96 int xx, ret = nfa_ee_cb.cur_ee; in NFA_EeGetInfo()
97 tNFA_EE_ECB* p_cb = nfa_ee_cb.ecb; in NFA_EeGetInfo()
102 << StringPrintf("NFA_EeGetInfo em_state:%d cur_ee:%d", nfa_ee_cb.em_state, in NFA_EeGetInfo()
103 nfa_ee_cb.cur_ee); in NFA_EeGetInfo()
111 if (nfa_ee_cb.em_state == NFA_EE_EM_STATE_INIT) { in NFA_EeGetInfo()
113 nfa_ee_cb.em_state); in NFA_EeGetInfo()
195 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) { in NFA_EeDeregister()
[all …]
/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc175 nfa_ee_cb.isDiscoveryStopped = nfa_dm_act_stop_rf_discovery(nullptr); in nfa_hci_ee_info_cback()
564 if (nfa_ee_cb.isDiscoveryStopped == true) { in nfa_hci_enable_one_nfcee()
566 nfa_ee_cb.isDiscoveryStopped = false; in nfa_hci_enable_one_nfcee()
/system/nfc/src/nfa/include/
Dnfa_ee_int.h525 extern tNFA_EE_CB nfa_ee_cb;