Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t2t_ndef.cc316 uint8_t num_locks; in rw_t2t_handle_lock_read_rsp() local
326 num_locks = 0; in rw_t2t_handle_lock_read_rsp()
333 while (num_locks < p_t2t->num_lockbytes) { in rw_t2t_handle_lock_read_rsp()
334 if (p_t2t->lockbyte[num_locks].b_lock_read == false) { in rw_t2t_handle_lock_read_rsp()
336 p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + in rw_t2t_handle_lock_read_rsp()
337 p_t2t->lockbyte[num_locks].byte_index; in rw_t2t_handle_lock_read_rsp()
346 p_t2t->lockbyte[num_locks].lock_byte = p_data[offset]; in rw_t2t_handle_lock_read_rsp()
347 p_t2t->lockbyte[num_locks].b_lock_read = true; in rw_t2t_handle_lock_read_rsp()
353 p_t2t->lockbyte[num_locks].lock_byte = in rw_t2t_handle_lock_read_rsp()
355 p_t2t->lockbyte[num_locks].b_lock_read = true; in rw_t2t_handle_lock_read_rsp()
[all …]
Drw_t1t_ndef.cc186 uint8_t num_locks; in rw_t1t_extract_lock_bytes() local
193 num_locks = 0; in rw_t1t_extract_lock_bytes()
210 while (num_locks < p_t1t->num_lockbytes) { in rw_t1t_extract_lock_bytes()
211 if (p_t1t->lockbyte[num_locks].b_lock_read == false) { in rw_t1t_extract_lock_bytes()
213 offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + in rw_t1t_extract_lock_bytes()
214 p_t1t->lockbyte[num_locks].byte_index; in rw_t1t_extract_lock_bytes()
227 p_t1t->lockbyte[num_locks].lock_byte = p_data[lock_offset]; in rw_t1t_extract_lock_bytes()
228 p_t1t->lockbyte[num_locks].b_lock_read = true; in rw_t1t_extract_lock_bytes()
232 num_locks++; in rw_t1t_extract_lock_bytes()
287 uint8_t num_locks = 0; in rw_t1t_read_locks() local
[all …]