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.cc507 p_t2t->bytes_count = p_t2t->ndef_msg_len; in rw_t2t_handle_tlv_detect_rsp()
519 p_t2t->bytes_count = p_t2t->prop_msg_len; in rw_t2t_handle_tlv_detect_rsp()
536 p_t2t->bytes_count = TAG_DEFAULT_TLV_LEN; in rw_t2t_handle_tlv_detect_rsp()
551 p_t2t->bytes_count = (uint8_t)p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
560 p_t2t->bytes_count = (p_t2t->bytes_count << 8) + p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
562 p_t2t->ndef_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()
564 p_t2t->prop_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()
573 if ((p_t2t->bytes_count == p_t2t->ndef_msg_len) && in rw_t2t_handle_tlv_detect_rsp()
579 if (p_t2t->bytes_count > 0) p_t2t->bytes_count--; in rw_t2t_handle_tlv_detect_rsp()
584 } else if (p_t2t->bytes_count == 0) { in rw_t2t_handle_tlv_detect_rsp()
[all …]
Drw_t1t_ndef.cc856 uint16_t bytes_count = 0; in rw_t1t_handle_tlv_detect_rsp() local
938 bytes_count = p_t1t->ndef_msg_len; in rw_t1t_handle_tlv_detect_rsp()
949 bytes_count = len; in rw_t1t_handle_tlv_detect_rsp()
966 bytes_count = T1T_DEFAULT_TLV_LEN; in rw_t1t_handle_tlv_detect_rsp()
980 bytes_count = (uint8_t)p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
988 bytes_count = (bytes_count << 8) + p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
990 p_t1t->ndef_msg_len = bytes_count; in rw_t1t_handle_tlv_detect_rsp()
999 if ((bytes_count == p_t1t->ndef_msg_len) && in rw_t1t_handle_tlv_detect_rsp()
1004 if (bytes_count > 0) bytes_count--; in rw_t1t_handle_tlv_detect_rsp()
1013 } 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