/external/libnfc-nci/src/nfa/ee/ |
D | nfa_ee_api.c | 405 UINT8 aid_len, in NFA_EeAddAidRouting() argument 411 UINT16 size = sizeof(tNFA_EE_API_ADD_AID) + aid_len; in NFA_EeAddAidRouting() 419 …if ((p_cb == NULL) || (aid_len == 0) || (p_aid == NULL) || (aid_len < NFA_MIN_AID_LEN) || (aid_len… in NFA_EeAddAidRouting() 421 NFA_TRACE_ERROR1 ("Bad ee_handle or AID (len=%d)", aid_len); in NFA_EeAddAidRouting() 430 p_msg->aid_len = aid_len; in NFA_EeAddAidRouting() 433 memcpy(p_msg->p_aid, p_aid, aid_len); in NFA_EeAddAidRouting() 464 tNFA_STATUS NFA_EeRemoveAidRouting(UINT8 aid_len, in NFA_EeRemoveAidRouting() argument 469 UINT16 size = sizeof(tNFA_EE_API_REMOVE_AID) + aid_len; in NFA_EeRemoveAidRouting() 472 if ((aid_len == 0) || (p_aid == NULL) || (aid_len > NFA_MAX_AID_LEN)) in NFA_EeRemoveAidRouting() 480 p_msg->aid_len = aid_len; in NFA_EeRemoveAidRouting() [all …]
|
D | nfa_ee_act.c | 93 static void nfa_ee_trace_aid (char *p_str, UINT8 id, UINT8 aid_len, UINT8 *p) in nfa_ee_trace_aid() argument 95 int len = aid_len; in nfa_ee_trace_aid() 100 if (aid_len > NFA_MAX_AID_LEN) in nfa_ee_trace_aid() 102 NFA_TRACE_ERROR2 ("aid_len: %d exceeds max(%d)", aid_len, NFA_MAX_AID_LEN); in nfa_ee_trace_aid() 110 NFA_TRACE_DEBUG4 ("%s id:0x%x len=%d aid:%s", p_str, id, aid_len, buff); in nfa_ee_trace_aid() 198 start_offset += p_cb->aid_len[xx]; in nfa_ee_update_route_aid_size() 283 len += p_cb->aid_len[xx]; in nfa_ee_find_total_aid_len() 302 tNFA_EE_ECB * nfa_ee_find_aid_offset(UINT8 aid_len, UINT8 *p_aid, int *p_offset, int *p_entry) in nfa_ee_find_aid_offset() argument 316 if ( (p_ecb->aid_cfg[offset + aid_len_offset] == aid_len) in nfa_ee_find_aid_offset() 317 &&(memcmp(&p_ecb->aid_cfg[offset + aid_len_offset + 1], p_aid, aid_len) == 0) ) in nfa_ee_find_aid_offset() [all …]
|
/external/libnfc-nci/src/nfc/tags/ |
D | ce_t4t.c | 456 if ( (ce_cb.mem.t4t.reg_aid[xx].aid_len > 0) in ce_t4t_process_select_app_cmd() 457 &&(ce_cb.mem.t4t.reg_aid[xx].aid_len == data_len) in ce_t4t_process_select_app_cmd() 946 tCE_T4T_AID_HANDLE CE_T4tRegisterAID (UINT8 aid_len, UINT8 *p_aid, tCE_CBACK *p_cback) in CE_T4tRegisterAID() argument 952 if (aid_len == 0) in CE_T4tRegisterAID() 970 *p_aid, *(p_aid+1), *(p_aid+2), *(p_aid+3), aid_len); in CE_T4tRegisterAID() 972 if (aid_len > NFC_MAX_AID_LEN) in CE_T4tRegisterAID() 986 if ( (p_t4t->reg_aid[xx].aid_len == aid_len) in CE_T4tRegisterAID() 987 &&(!(memcmp(p_t4t->reg_aid[xx].aid, p_aid, aid_len))) ) in CE_T4tRegisterAID() 996 if (p_t4t->reg_aid[xx].aid_len == 0) in CE_T4tRegisterAID() 998 p_t4t->reg_aid[xx].aid_len = aid_len; in CE_T4tRegisterAID() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | pcsc_funcs.c | 401 unsigned char aid_len; in scard_get_aid() member 407 unsigned int aid_len = 0; in scard_get_aid() local 459 aid_len = efdir->aid_len; in scard_get_aid() 460 if (aid_len < 1 || aid_len > 16) { in scard_get_aid() 462 aid_len); in scard_get_aid() 467 aid_pos, aid_len); in scard_get_aid() 483 if (aid_len > maxlen) { in scard_get_aid() 488 os_memcpy(aid, aid_pos, aid_len); in scard_get_aid() 490 return aid_len; in scard_get_aid() 645 int aid_len; in scard_init() local [all …]
|
/external/libnfc-nci/src/nfa/ce/ |
D | nfa_ce_api.c | 325 UINT8 aid_len, in NFA_CeRegisterAidOnDH() argument 343 memcpy (p_msg->reg_listen.aid, aid, aid_len); in NFA_CeRegisterAidOnDH() 344 p_msg->reg_listen.aid_len = aid_len; in NFA_CeRegisterAidOnDH()
|
D | nfa_ce_act.c | 1237 …_cb->listen_info[listen_info_idx].t4t_aid_handle = CE_T4tRegisterAID (p_ce_msg->reg_listen.aid_len, in nfa_ce_api_reg_listen()
|
/external/libnfc-nci/src/nfa/int/ |
D | nfa_ee_int.h | 145 UINT8 aid_len[NFA_EE_MAX_AID_ENTRIES];/* the actual lengths in aid_cfg */ member 225 UINT8 aid_len; member 234 UINT8 aid_len; member 483 tNFA_EE_ECB * nfa_ee_find_aid_offset(UINT8 aid_len, UINT8 *p_aid, int *p_offset, int *p_entry);
|
D | nfa_ce_int.h | 99 UINT8 aid_len; /* AID length */ member
|
/external/libnfc-nci/src/nfa/include/ |
D | nfa_ee_api.h | 368 UINT8 aid_len, 392 NFC_API extern tNFA_STATUS NFA_EeRemoveAidRouting (UINT8 aid_len,
|
D | nfa_ce_api.h | 180 UINT8 aid_len,
|
/external/libnfc-nci/src/nfc/int/ |
D | ce_int.h | 85 UINT8 aid_len; member
|
/external/libnfc-nci/src/nfc/include/ |
D | ce_api.h | 182 NFC_API extern tCE_T4T_AID_HANDLE CE_T4tRegisterAID (UINT8 aid_len,
|