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
102 memset(&nfa_ee_cb, 0, sizeof(tNFA_EE_CB)); in nfa_ee_init()
104 nfa_ee_cb.ecb[xx].nfcee_id = NFA_EE_INVALID; in nfa_ee_init()
105 nfa_ee_cb.ecb[xx].ee_status = NFC_NFCEE_STATUS_INACTIVE; in nfa_ee_init()
108 nfa_ee_cb.ecb[NFA_EE_CB_4_DH].ee_status = NFC_NFCEE_STATUS_ACTIVE; in nfa_ee_init()
109 nfa_ee_cb.ecb[NFA_EE_CB_4_DH].nfcee_id = NFC_DH_ID; in nfa_ee_init()
127 nfa_ee_cb.route_block_control = 0x00; in nfa_ee_sys_enable()
132 nfa_ee_cb.route_block_control = NCI_ROUTE_QUAL_BLOCK_ROUTE; in nfa_ee_sys_enable()
134 "nfa_ee_cb.route_block_control=0x%x", nfa_ee_cb.route_block_control); in nfa_ee_sys_enable()
141 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 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()
397 nfa_ee_cb.ee_cfged |= NFA_EE_CFGED_OFF_ROUTING; in nfa_ee_add_proto_route_to_ecb()
441 NFC_ROUTE_TAG_AID | nfa_ee_cb.route_block_control | route_qual; in nfa_ee_add_aid_route_to_ecb()
623 tNFA_EE_ECB* p_cb = &nfa_ee_cb.ecb[xx]; in nfa_all_ee_find_total_sys_code_len()
644 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.h508 extern tNFA_EE_CB nfa_ee_cb;