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.cc80 uint8_t rec_hdr = 0, type_len, id_len; in NDEF_MsgValidate() local
132 id_len = *p_rec++; in NDEF_MsgValidate()
134 id_len = 0; in NDEF_MsgValidate()
147 if ((type_len != 0) || (id_len != 0) || in NDEF_MsgValidate()
160 if ((type_len != 0) || (id_len != 0) || in NDEF_MsgValidate()
174 if ((type_len != 0) || (id_len != 0) || (payload_len != 0)) in NDEF_MsgValidate()
202 if (payload_len + type_len + id_len < payload_len || in NDEF_MsgValidate()
203 payload_len + type_len + id_len > msg_len) { in NDEF_MsgValidate()
206 p_new = p_rec + (payload_len + type_len + id_len); in NDEF_MsgValidate()
213 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,