Home
last modified time | relevance | path

Searched refs:id_len (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfc/ndef/
Dndef_utils.cc79 uint8_t rec_hdr = 0, type_len, id_len; in NDEF_MsgValidate() local
131 id_len = *p_rec++; in NDEF_MsgValidate()
133 id_len = 0; in NDEF_MsgValidate()
146 if ((type_len != 0) || (id_len != 0) || in NDEF_MsgValidate()
159 if ((type_len != 0) || (id_len != 0) || in NDEF_MsgValidate()
173 if ((type_len != 0) || (id_len != 0) || (payload_len != 0)) in NDEF_MsgValidate()
201 if (payload_len + type_len + id_len < payload_len || in NDEF_MsgValidate()
202 payload_len + type_len + id_len > msg_len) { in NDEF_MsgValidate()
205 p_new = p_rec + (payload_len + type_len + id_len); in NDEF_MsgValidate()
212 p_rec += (payload_len + type_len + id_len); in NDEF_MsgValidate()
[all …]
/system/nfc/src/nfa/dm/
Dnfa_dm_ndef.cc375 uint8_t tnf, type_len, rec_hdr_flags, id_len; in nfa_dm_ndef_handle_message() local
503 id_len = *p_rec_end++; in nfa_dm_ndef_handle_message()
505 id_len = 0; in nfa_dm_ndef_handle_message()
506 p_rec_end += id_len; in nfa_dm_ndef_handle_message()
/system/nfc/src/nfc/include/
Dndef_utils.h265 uint8_t* p_id, uint8_t id_len,