Searched refs:aid_len (Results 1 – 11 of 11) sorted by relevance
/system/nfc/src/nfa/ee/ |
D | nfa_ee_api.cc | 555 tNFA_STATUS NFA_EeAddAidRouting(tNFA_HANDLE ee_handle, uint8_t aid_len, in NFA_EeAddAidRouting() argument 560 uint16_t size = sizeof(tNFA_EE_API_ADD_AID) + aid_len; in NFA_EeAddAidRouting() 569 ((NFA_GetNCIVersion() == NCI_VERSION_2_0) && (aid_len != 0) && in NFA_EeAddAidRouting() 572 ((aid_len == 0) || (p_aid == nullptr) || (aid_len < NFA_MIN_AID_LEN))) || in NFA_EeAddAidRouting() 573 (aid_len > NFA_MAX_AID_LEN)) { in NFA_EeAddAidRouting() 574 LOG(ERROR) << StringPrintf("Bad ee_handle or AID (len=%d)", aid_len); in NFA_EeAddAidRouting() 585 p_msg->aid_len = aid_len; in NFA_EeAddAidRouting() 589 if (p_aid != nullptr) memcpy(p_msg->p_aid, p_aid, aid_len); in NFA_EeAddAidRouting() 621 tNFA_STATUS NFA_EeRemoveAidRouting(uint8_t aid_len, uint8_t* p_aid) { in NFA_EeRemoveAidRouting() argument 624 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() 129 if (aid_len > NFA_MAX_AID_LEN) { in nfa_ee_trace_aid() 130 LOG(ERROR) << StringPrintf("aid_len: %d exceeds max(%d)", aid_len, in nfa_ee_trace_aid() 139 "%s id:0x%x len=%d aid:%s", p_str.c_str(), id, aid_len, buff); in nfa_ee_trace_aid() 243 start_offset += p_cb->aid_len[xx]; in nfa_ee_update_route_aid_size() 446 if (p_cb->aid_len[xx] == NFA_EMPTY_AID_TLV_LEN && in nfa_ee_add_aid_route_to_ecb() 451 start_offset += p_cb->aid_len[xx]; in nfa_ee_add_aid_route_to_ecb() 483 start_offset += p_cb->aid_len[xx]; in nfa_ee_add_aid_route_to_ecb() 627 len += p_cb->aid_len[xx]; in nfa_ee_find_total_aid_len() [all …]
|
/system/nfc/src/nfc/tags/ |
D | ce_t4t.cc | 418 if ((ce_cb.mem.t4t.reg_aid[xx].aid_len > 0) && in ce_t4t_process_select_app_cmd() 419 (ce_cb.mem.t4t.reg_aid[xx].aid_len == data_len) && in ce_t4t_process_select_app_cmd() 898 tCE_T4T_AID_HANDLE CE_T4tRegisterAID(uint8_t aid_len, uint8_t* p_aid, in CE_T4tRegisterAID() argument 904 if (aid_len == 0) { in CE_T4tRegisterAID() 926 *(p_aid + 1), *(p_aid + 2), *(p_aid + 3), aid_len); in CE_T4tRegisterAID() 928 if (aid_len > NFC_MAX_AID_LEN) { in CE_T4tRegisterAID() 939 if ((p_t4t->reg_aid[xx].aid_len == aid_len) && in CE_T4tRegisterAID() 940 (!(memcmp(p_t4t->reg_aid[xx].aid, p_aid, aid_len)))) { in CE_T4tRegisterAID() 947 if (p_t4t->reg_aid[xx].aid_len == 0) { in CE_T4tRegisterAID() 948 p_t4t->reg_aid[xx].aid_len = aid_len; in CE_T4tRegisterAID() [all …]
|
/system/nfc/src/nfa/ce/ |
D | nfa_ce_api.cc | 329 tNFA_STATUS NFA_CeRegisterAidOnDH(uint8_t aid[NFC_MAX_AID_LEN], uint8_t aid_len, in NFA_CeRegisterAidOnDH() argument 345 memcpy(p_msg->reg_listen.aid, aid, aid_len); in NFA_CeRegisterAidOnDH() 346 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 | 191 uint8_t* aid_len; /* the actual lengths in aid_cfg */ member 293 uint8_t aid_len; member 302 uint8_t aid_len; member 592 tNFA_EE_ECB* nfa_ee_find_aid_offset(uint8_t aid_len, uint8_t* p_aid,
|
D | nfa_ee_api.h | 423 extern tNFA_STATUS NFA_EeAddAidRouting(tNFA_HANDLE ee_handle, uint8_t aid_len, 449 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
|