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.cc91 *(*p_buff)++ = NFC_ROUTE_TAG_SYSCODE | nfa_ee_cb.route_block_control; in add_route_sys_code_tlv()
291 p_cb = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_total_lmrt_size()
296 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()
297 for (xx = 0; xx < nfa_ee_cb.cur_ee; xx++, p_cb--) { in nfa_ee_total_lmrt_size()
338 nfa_ee_cb.ee_cfged |= NFA_EE_CFGED_OFF_ROUTING; in nfa_ee_add_tech_route_to_ecb()
368 proto_tag = NFC_ROUTE_TAG_PROTO | nfa_ee_cb.route_block_control; in nfa_ee_add_proto_route_to_ecb()
402 nfa_ee_cb.ee_cfged |= NFA_EE_CFGED_OFF_ROUTING; in nfa_ee_add_proto_route_to_ecb()
479 NFC_ROUTE_TAG_AID | nfa_ee_cb.route_block_control | route_qual; in nfa_ee_add_aid_route_to_ecb()
666 tNFA_EE_ECB* p_cb = &nfa_ee_cb.ecb[xx]; in nfa_all_ee_find_total_sys_code_len()
687 p_ecb = &nfa_ee_cb.ecb[NFA_EE_CB_4_DH]; in nfa_ee_find_aid_offset()
[all …]
Dnfa_ee_api.cc61 if (nfa_ee_cb.em_state != NFA_EE_EM_STATE_INIT_DONE) { in NFA_EeDiscover()
63 nfa_ee_cb.em_state); in NFA_EeDiscover()
65 } else if ((nfa_ee_cb.p_ee_disc_cback != nullptr) || (p_cback == nullptr)) { in NFA_EeDiscover()
97 int xx, ret = nfa_ee_cb.cur_ee; in NFA_EeGetInfo()
98 tNFA_EE_ECB* p_cb = nfa_ee_cb.ecb; in NFA_EeGetInfo()
103 << StringPrintf("NFA_EeGetInfo em_state:%d cur_ee:%d", nfa_ee_cb.em_state, in NFA_EeGetInfo()
104 nfa_ee_cb.cur_ee); in NFA_EeGetInfo()
112 if (nfa_ee_cb.em_state == NFA_EE_EM_STATE_INIT) { in NFA_EeGetInfo()
114 nfa_ee_cb.em_state); in NFA_EeGetInfo()
199 if (nfa_ee_cb.p_ee_cback[xx] == p_cback) { in NFA_EeDeregister()
[all …]
/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc174 nfa_ee_cb.isDiscoveryStopped = nfa_dm_act_stop_rf_discovery(nullptr); in nfa_hci_ee_info_cback()
563 if (nfa_ee_cb.isDiscoveryStopped == true) { in nfa_hci_enable_one_nfcee()
565 nfa_ee_cb.isDiscoveryStopped = false; in nfa_hci_enable_one_nfcee()
/system/nfc/src/nfa/include/
Dnfa_ee_int.h535 extern tNFA_EE_CB nfa_ee_cb;