Home
last modified time | relevance | path

Searched refs:length_field (Results 1 – 2 of 2) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc1113 uint8_t length_field[3]; in rw_t2t_write_ndef_first_block() local
1124 length_field[0] = 0x00; in rw_t2t_write_ndef_first_block()
1125 length_field[1] = 0x00; in rw_t2t_write_ndef_first_block()
1126 length_field[2] = 0x00; in rw_t2t_write_ndef_first_block()
1129 length_field[0] = T2T_LONG_NDEF_LEN_FIELD_BYTE0; in rw_t2t_write_ndef_first_block()
1130 length_field[1] = (uint8_t)(msg_len >> 8); in rw_t2t_write_ndef_first_block()
1131 length_field[2] = (uint8_t)(msg_len); in rw_t2t_write_ndef_first_block()
1135 length_field[0] = (uint8_t)(msg_len); in rw_t2t_write_ndef_first_block()
1150 write_block[index] = length_field[p_t2t->work_offset]; in rw_t2t_write_ndef_first_block()
1210 uint8_t length_field[3]; in rw_t2t_write_ndef_next_block() local
[all …]
Drw_t1t_ndef.cc1311 uint8_t length_field[3]; in rw_t1t_next_ndef_write_block() local
1365 length_field[0] = T1T_LONG_NDEF_LEN_FIELD_BYTE0; in rw_t1t_next_ndef_write_block()
1366 length_field[1] = (uint8_t)(p_t1t->new_ndef_msg_len >> 8); in rw_t1t_next_ndef_write_block()
1367 length_field[2] = (uint8_t)(p_t1t->new_ndef_msg_len); in rw_t1t_next_ndef_write_block()
1369 length_field[0] = (uint8_t)(p_t1t->new_ndef_msg_len); in rw_t1t_next_ndef_write_block()
1378 block = rw_t1t_prepare_ndef_bytes(write_block, length_field, &index, false, in rw_t1t_next_ndef_write_block()
1395 block = rw_t1t_prepare_ndef_bytes(write_block, length_field, &index, true, in rw_t1t_next_ndef_write_block()
1425 uint8_t length_field[3]; in rw_t1t_ndef_write_first_block() local
1432 length_field[0] = T1T_LONG_NDEF_LEN_FIELD_BYTE0; in rw_t1t_ndef_write_first_block()
1433 length_field[1] = (uint8_t)(p_t1t->new_ndef_msg_len >> 8); in rw_t1t_ndef_write_first_block()
[all …]