Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc853 uint8_t num_dynamic_lock_bytes; in rw_t2t_extract_default_locks_info() local
871 num_dynamic_lock_bytes = num_dynamic_lock_bits / 8; in rw_t2t_extract_default_locks_info()
872 num_dynamic_lock_bytes += (num_dynamic_lock_bits % 8 == 0) ? 0 : 1; in rw_t2t_extract_default_locks_info()
873 if (num_dynamic_lock_bytes > RW_T2T_MAX_LOCK_BYTES) { in rw_t2t_extract_default_locks_info()
877 RW_T2T_MAX_LOCK_BYTES, num_dynamic_lock_bytes); in rw_t2t_extract_default_locks_info()
878 num_dynamic_lock_bytes = RW_T2T_MAX_LOCK_BYTES; in rw_t2t_extract_default_locks_info()
891 for (xx = 0; xx < num_dynamic_lock_bytes; xx++) { in rw_t2t_extract_default_locks_info()
896 p_t2t->num_lockbytes = num_dynamic_lock_bytes; in rw_t2t_extract_default_locks_info()
Drw_t1t_ndef.cc1958 uint8_t num_dynamic_lock_bytes = 0; in rw_t1t_update_lock_attributes() local
2007 num_dynamic_lock_bytes = start_lock_byte; in rw_t1t_update_lock_attributes()
2015 while (num_dynamic_lock_bytes <= end_lock_byte) { in rw_t1t_update_lock_attributes()
2017 p_t1t->lock_tlv[p_t1t->lockbyte[num_dynamic_lock_bytes].tlv_index] in rw_t1t_update_lock_attributes()
2019 if (num_dynamic_lock_bytes == end_lock_byte) { in rw_t1t_update_lock_attributes()
2029 if ((p_t1t->lockbyte[num_dynamic_lock_bytes].lock_byte & in rw_t1t_update_lock_attributes()
2045 num_dynamic_lock_bytes++; in rw_t1t_update_lock_attributes()