Home
last modified time | relevance | path

Searched refs:aid_len (Results 1 – 11 of 11) sorted by relevance

/system/nfc/src/nfa/ee/
Dnfa_ee_api.cc551 tNFA_STATUS NFA_EeAddAidRouting(tNFA_HANDLE ee_handle, uint8_t aid_len, in NFA_EeAddAidRouting() argument
556 uint16_t size = sizeof(tNFA_EE_API_ADD_AID) + aid_len; in NFA_EeAddAidRouting()
565 ((NFA_GetNCIVersion() == NCI_VERSION_2_0) && (aid_len != 0) && in NFA_EeAddAidRouting()
568 ((aid_len == 0) || (p_aid == nullptr) || (aid_len < NFA_MIN_AID_LEN))) || in NFA_EeAddAidRouting()
569 (aid_len > NFA_MAX_AID_LEN)) { in NFA_EeAddAidRouting()
570 LOG(ERROR) << StringPrintf("Bad ee_handle or AID (len=%d)", aid_len); in NFA_EeAddAidRouting()
581 p_msg->aid_len = aid_len; in NFA_EeAddAidRouting()
585 if (p_aid != nullptr) memcpy(p_msg->p_aid, p_aid, aid_len); in NFA_EeAddAidRouting()
617 tNFA_STATUS NFA_EeRemoveAidRouting(uint8_t aid_len, uint8_t* p_aid) { in NFA_EeRemoveAidRouting() argument
620 uint16_t size = sizeof(tNFA_EE_API_REMOVE_AID) + aid_len; in NFA_EeRemoveAidRouting()
[all …]
Dnfa_ee_act.cc121 static void nfa_ee_trace_aid(std::string p_str, uint8_t id, uint8_t aid_len, in nfa_ee_trace_aid() argument
123 int len = aid_len; in nfa_ee_trace_aid()
128 if (aid_len > NFA_MAX_AID_LEN) { in nfa_ee_trace_aid()
129 LOG(ERROR) << StringPrintf("aid_len: %d exceeds max(%d)", aid_len, in nfa_ee_trace_aid()
138 "%s id:0x%x len=%d aid:%s", p_str.c_str(), id, aid_len, buff); in nfa_ee_trace_aid()
242 start_offset += p_cb->aid_len[xx]; in nfa_ee_update_route_aid_size()
444 start_offset += p_cb->aid_len[xx]; in nfa_ee_add_aid_route_to_ecb()
583 len += p_cb->aid_len[xx]; in nfa_ee_find_total_aid_len()
638 tNFA_EE_ECB* nfa_ee_find_aid_offset(uint8_t aid_len, uint8_t* p_aid, in nfa_ee_find_aid_offset() argument
649 if ((p_ecb->aid_cfg[offset + aid_len_offset] == aid_len) && in nfa_ee_find_aid_offset()
[all …]
/system/nfc/src/nfc/tags/
Dce_t4t.cc420 if ((ce_cb.mem.t4t.reg_aid[xx].aid_len > 0) && in ce_t4t_process_select_app_cmd()
421 (ce_cb.mem.t4t.reg_aid[xx].aid_len == data_len) && in ce_t4t_process_select_app_cmd()
885 tCE_T4T_AID_HANDLE CE_T4tRegisterAID(uint8_t aid_len, uint8_t* p_aid, in CE_T4tRegisterAID() argument
891 if (aid_len == 0) { in CE_T4tRegisterAID()
913 *(p_aid + 1), *(p_aid + 2), *(p_aid + 3), aid_len); in CE_T4tRegisterAID()
915 if (aid_len > NFC_MAX_AID_LEN) { in CE_T4tRegisterAID()
926 if ((p_t4t->reg_aid[xx].aid_len == aid_len) && in CE_T4tRegisterAID()
927 (!(memcmp(p_t4t->reg_aid[xx].aid, p_aid, aid_len)))) { in CE_T4tRegisterAID()
934 if (p_t4t->reg_aid[xx].aid_len == 0) { in CE_T4tRegisterAID()
935 p_t4t->reg_aid[xx].aid_len = aid_len; in CE_T4tRegisterAID()
[all …]
/system/nfc/src/nfa/ce/
Dnfa_ce_api.cc330 tNFA_STATUS NFA_CeRegisterAidOnDH(uint8_t aid[NFC_MAX_AID_LEN], uint8_t aid_len, in NFA_CeRegisterAidOnDH() argument
346 memcpy(p_msg->reg_listen.aid, aid, aid_len); in NFA_CeRegisterAidOnDH()
347 p_msg->reg_listen.aid_len = aid_len; in NFA_CeRegisterAidOnDH()
Dnfa_ce_act.cc1327 p_ce_msg->reg_listen.aid_len, p_ce_msg->reg_listen.aid, in nfa_ce_api_reg_listen()
/system/nfc/src/nfa/include/
Dnfa_ce_api.h180 uint8_t aid_len,
Dnfa_ee_int.h188 uint8_t* aid_len; /* the actual lengths in aid_cfg */ member
282 uint8_t aid_len; member
291 uint8_t aid_len; member
563 tNFA_EE_ECB* nfa_ee_find_aid_offset(uint8_t aid_len, uint8_t* p_aid,
Dnfa_ee_api.h419 extern tNFA_STATUS NFA_EeAddAidRouting(tNFA_HANDLE ee_handle, uint8_t aid_len,
445 extern tNFA_STATUS NFA_EeRemoveAidRouting(uint8_t aid_len, uint8_t* p_aid);
Dnfa_ce_int.h85 uint8_t aid_len; /* AID length */ member
/system/nfc/src/nfc/include/
Dce_api.h168 extern tCE_T4T_AID_HANDLE CE_T4tRegisterAID(uint8_t aid_len, uint8_t* p_aid,
Dce_int.h84 uint8_t aid_len; member