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.cc513 p_t2t->bytes_count = p_t2t->ndef_msg_len; in rw_t2t_handle_tlv_detect_rsp()
525 p_t2t->bytes_count = p_t2t->prop_msg_len; in rw_t2t_handle_tlv_detect_rsp()
542 p_t2t->bytes_count = TAG_DEFAULT_TLV_LEN; in rw_t2t_handle_tlv_detect_rsp()
557 p_t2t->bytes_count = (uint8_t)p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
566 p_t2t->bytes_count = (p_t2t->bytes_count << 8) + p_data[offset]; in rw_t2t_handle_tlv_detect_rsp()
568 p_t2t->ndef_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()
570 p_t2t->prop_msg_len = p_t2t->bytes_count; in rw_t2t_handle_tlv_detect_rsp()
579 if ((p_t2t->bytes_count == p_t2t->ndef_msg_len) && in rw_t2t_handle_tlv_detect_rsp()
585 if (p_t2t->bytes_count > 0) p_t2t->bytes_count--; in rw_t2t_handle_tlv_detect_rsp()
590 } else if (p_t2t->bytes_count == 0) { in rw_t2t_handle_tlv_detect_rsp()
[all …]
Drw_t1t_ndef.cc859 uint16_t bytes_count = 0; in rw_t1t_handle_tlv_detect_rsp() local
941 bytes_count = p_t1t->ndef_msg_len; in rw_t1t_handle_tlv_detect_rsp()
952 bytes_count = len; in rw_t1t_handle_tlv_detect_rsp()
969 bytes_count = T1T_DEFAULT_TLV_LEN; in rw_t1t_handle_tlv_detect_rsp()
983 bytes_count = (uint8_t)p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
991 bytes_count = (bytes_count << 8) + p_readbytes[offset]; in rw_t1t_handle_tlv_detect_rsp()
993 p_t1t->ndef_msg_len = bytes_count; in rw_t1t_handle_tlv_detect_rsp()
1002 if ((bytes_count == p_t1t->ndef_msg_len) && in rw_t1t_handle_tlv_detect_rsp()
1007 if (bytes_count > 0) bytes_count--; in rw_t1t_handle_tlv_detect_rsp()
1016 } 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