Home
last modified time | relevance | path

Searched refs:max_ndef_msg_len (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc1634 p_t1t->max_ndef_msg_len = 0; in rw_t1t_get_ndef_max_size()
1645 p_t1t->max_ndef_msg_len = ((p_ret->tms + 1) * T1T_BLOCK_SIZE) - in rw_t1t_get_ndef_max_size()
1650 p_t1t->max_ndef_msg_len -= in rw_t1t_get_ndef_max_size()
1654 p_t1t->max_ndef_msg_len -= T1T_DYNAMIC_LOCK_BYTES; in rw_t1t_get_ndef_max_size()
1659 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
1667 p_t1t->max_ndef_msg_len++; in rw_t1t_get_ndef_max_size()
1675 if ((p_t1t->max_ndef_msg_len >= T1T_LONG_NDEF_LEN_FIELD_BYTE0) && in rw_t1t_get_ndef_max_size()
1678 p_t1t->max_ndef_msg_len -= in rw_t1t_get_ndef_max_size()
1679 (p_t1t->max_ndef_msg_len == T1T_LONG_NDEF_LEN_FIELD_BYTE0) in rw_t1t_get_ndef_max_size()
1685 return p_t1t->max_ndef_msg_len; in rw_t1t_get_ndef_max_size()
[all …]
Drw_t2t_ndef.cc946 if ((p_t2t->new_ndef_msg_len + 1) <= p_t2t->max_ndef_msg_len) { in rw_t2t_read_ndef_last_block()
1423 p_t2t->max_ndef_msg_len = 0; in rw_t2t_get_ndef_max_size()
1430 p_t2t->max_ndef_msg_len = T2T_STATIC_SIZE - T2T_HEADER_SIZE - in rw_t2t_get_ndef_max_size()
1432 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
1439 p_t2t->max_ndef_msg_len++; in rw_t2t_get_ndef_max_size()
1444 if ((p_t2t->max_ndef_msg_len >= T2T_LONG_NDEF_LEN_FIELD_BYTE0) && in rw_t2t_get_ndef_max_size()
1447 p_t2t->max_ndef_msg_len -= in rw_t2t_get_ndef_max_size()
1448 (p_t2t->max_ndef_msg_len == T2T_LONG_NDEF_LEN_FIELD_BYTE0) in rw_t2t_get_ndef_max_size()
1452 return p_t2t->max_ndef_msg_len; in rw_t2t_get_ndef_max_size()
3007 if (msg_len > p_t2t->max_ndef_msg_len) { in RW_T2tWriteNDef()
[all …]
/system/nfc/src/nfc/include/
Drw_int.h204 max_ndef_msg_len; /* Maximum size of NDEF that can be written on the tag member
450 max_ndef_msg_len; /* Maximum size of NDEF that can be written on the tag member