Searched refs:aid_len (Results 1 – 11 of 11) sorted by relevance
/system/nfc/src/nfa/ee/ |
D | nfa_ee_api.cc | 551 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 …]
|
D | nfa_ee_act.cc | 121 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/ |
D | ce_t4t.cc | 420 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/ |
D | nfa_ce_api.cc | 330 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()
|
D | nfa_ce_act.cc | 1327 p_ce_msg->reg_listen.aid_len, p_ce_msg->reg_listen.aid, in nfa_ce_api_reg_listen()
|
/system/nfc/src/nfa/include/ |
D | nfa_ce_api.h | 180 uint8_t aid_len,
|
D | nfa_ee_int.h | 188 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,
|
D | nfa_ee_api.h | 419 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);
|
D | nfa_ce_int.h | 85 uint8_t aid_len; /* AID length */ member
|
/system/nfc/src/nfc/include/ |
D | ce_api.h | 168 extern tCE_T4T_AID_HANDLE CE_T4tRegisterAID(uint8_t aid_len, uint8_t* p_aid,
|
D | ce_int.h | 84 uint8_t aid_len; member
|