Home
last modified time | relevance | path

Searched refs:bytes_count (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc509 p_t2t->bytes_count = p_t2t->ndef_msg_len; in rw_t2t_handle_tlv_detect_rsp()
521 p_t2t->bytes_count = p_t2t->prop_msg_len; in rw_t2t_handle_tlv_detect_rsp()
538 p_t2t->bytes_count = TAG_DEFAULT_TLV_LEN; in rw_t2t_handle_tlv_detect_rsp()
553 p_t2t->bytes_count = (uint8_t)p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
562 p_t2t->bytes_count = (p_t2t->bytes_count << 8) + p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
564 p_t2t->ndef_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()
566 p_t2t->prop_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()
575 if ((p_t2t->bytes_count == p_t2t->ndef_msg_len) && in rw_t2t_handle_tlv_detect_rsp()
581 if (p_t2t->bytes_count > 0) p_t2t->bytes_count--; in rw_t2t_handle_tlv_detect_rsp()
586 } else if (p_t2t->bytes_count == 0) { in rw_t2t_handle_tlv_detect_rsp()
[all …]
Drw_t1t_ndef.cc858 uint16_t bytes_count = 0; in rw_t1t_handle_tlv_detect_rsp() local
940 bytes_count = p_t1t->ndef_msg_len; in rw_t1t_handle_tlv_detect_rsp()
951 bytes_count = len; in rw_t1t_handle_tlv_detect_rsp()
968 bytes_count = T1T_DEFAULT_TLV_LEN; in rw_t1t_handle_tlv_detect_rsp()
982 bytes_count = (uint8_t)p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
990 bytes_count = (bytes_count << 8) + p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
992 p_t1t->ndef_msg_len = bytes_count; in rw_t1t_handle_tlv_detect_rsp()
1001 if ((bytes_count == p_t1t->ndef_msg_len) && in rw_t1t_handle_tlv_detect_rsp()
1006 if (bytes_count > 0) bytes_count--; in rw_t1t_handle_tlv_detect_rsp()
1015 } else if (bytes_count == 0) { in rw_t1t_handle_tlv_detect_rsp()
[all …]
/system/nfc/src/fuzzers/rw/
Dt2t.cc92 p_t2t->bytes_count = 128; in Init_ReadNDef()
/system/nfc/src/nfc/include/
Drw_int.h438 bytes_count; /* No. of bytes remaining to collect during tlv detect */ member