/system/nfc/src/nfa/include/ |
D | nfa_rw_api.h | 48 uint16_t block_number; /* Block number. */ member 283 extern tNFA_STATUS NFA_RwT1tRead(uint8_t block_number, uint8_t index); 302 extern tNFA_STATUS NFA_RwT1tWrite(uint8_t block_number, uint8_t index, 341 extern tNFA_STATUS NFA_RwT1tRead8(uint8_t block_number); 360 extern tNFA_STATUS NFA_RwT1tWrite8(uint8_t block_number, uint8_t* p_data, 380 extern tNFA_STATUS NFA_RwT2tRead(uint8_t block_number); 398 extern tNFA_STATUS NFA_RwT2tWrite(uint8_t block_number, uint8_t* p_data); 513 extern tNFA_STATUS NFA_RwI93ReadSingleBlock(uint8_t block_number); 531 extern tNFA_STATUS NFA_RwI93WriteSingleBlock(uint8_t block_number, 550 extern tNFA_STATUS NFA_RwI93LockBlock(uint8_t block_number);
|
D | nfa_rw_int.h | 142 uint8_t block_number; member 150 uint8_t block_number; member 156 typedef struct { uint8_t block_number; } tNFA_RW_OP_PARAMS_T2T_READ; member 160 uint8_t block_number; member
|
/system/nfc/src/nfa/rw/ |
D | nfa_rw_api.cc | 439 tNFA_STATUS NFA_RwT1tRead(uint8_t block_number, uint8_t index) { in NFA_RwT1tRead() argument 447 p_msg->params.t1t_read.block_number = block_number; in NFA_RwT1tRead() 472 tNFA_STATUS NFA_RwT1tWrite(uint8_t block_number, uint8_t index, uint8_t data, in NFA_RwT1tWrite() argument 482 p_msg->params.t1t_write.block_number = block_number; in NFA_RwT1tWrite() 540 tNFA_STATUS NFA_RwT1tRead8(uint8_t block_number) { in NFA_RwT1tRead8() argument 548 p_msg->params.t1t_write.block_number = block_number; in NFA_RwT1tRead8() 572 tNFA_STATUS NFA_RwT1tWrite8(uint8_t block_number, uint8_t* p_data, in NFA_RwT1tWrite8() argument 582 p_msg->params.t1t_write.block_number = block_number; in NFA_RwT1tWrite8() 608 tNFA_STATUS NFA_RwT2tRead(uint8_t block_number) { in NFA_RwT2tRead() argument 612 << StringPrintf("Block to read: %d", block_number); in NFA_RwT2tRead() [all …]
|
D | nfa_rw_act.cc | 2098 if (RW_T1tRead(p_t1t_read->block_number, p_t1t_read->index) != NFC_STATUS_OK) in nfa_rw_t1t_read() 2119 status = RW_T1tWriteErase(p_t1t_write->block_number, p_t1t_write->index, in nfa_rw_t1t_write() 2122 status = RW_T1tWriteNoErase(p_t1t_write->block_number, p_t1t_write->index, in nfa_rw_t1t_write() 2129 if (p_t1t_write->block_number == 0x01) in nfa_rw_t1t_write() 2168 if (RW_T1tRead8(p_t1t_read->block_number) != NFC_STATUS_OK) in nfa_rw_t1t_read8() 2190 RW_T1tWriteErase8(p_t1t_write->block_number, p_t1t_write->p_block_data); in nfa_rw_t1t_write8() 2192 status = RW_T1tWriteNoErase8(p_t1t_write->block_number, in nfa_rw_t1t_write8() 2199 if (p_t1t_write->block_number == 0x01) in nfa_rw_t1t_write8() 2221 status = RW_T2tRead(p_t2t_read->block_number); in nfa_rw_t2t_read() 2241 if (RW_T2tWrite(p_t2t_write->block_number, p_t2t_write->p_block_data) != in nfa_rw_t2t_write() [all …]
|
/system/nfc/src/nfc/tags/ |
D | ce_t3t.cc | 205 uint16_t block_number, service_code, checksum, checksum_rx; in ce_t3t_handle_update_cmd() local 221 STREAM_TO_UINT8(block_number, p_block_list); in ce_t3t_handle_update_cmd() 223 STREAM_TO_UINT16(block_number, p_block_list); in ce_t3t_handle_update_cmd() 251 } else if (block_number == 0) { in ce_t3t_handle_update_cmd() 253 "CE: Update sc 0x%04x block %i.", service_code, block_number); in ce_t3t_handle_update_cmd() 295 "CE: Udpate sc 0x%04x block %i.", service_code, block_number); in ce_t3t_handle_update_cmd() 298 if (block_number > p_cb->ndef_info.nmaxb) { in ce_t3t_handle_update_cmd() 303 block_number, p_cb->ndef_info.nmaxb); in ce_t3t_handle_update_cmd() 310 .p_scratch_buf[(block_number - 1) * T3T_MSG_BLOCKSIZE]), in ce_t3t_handle_update_cmd() 378 uint16_t block_number, service_code, checksum; in ce_t3t_handle_check_cmd() local [all …]
|
D | rw_i93.cc | 832 tNFC_STATUS rw_i93_send_cmd_read_single_block(uint16_t block_number, in rw_i93_send_cmd_read_single_block() argument 873 UINT16_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_read_single_block() 876 UINT8_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_read_single_block() 899 tNFC_STATUS rw_i93_send_cmd_write_single_block(uint16_t block_number, in rw_i93_send_cmd_write_single_block() argument 947 UINT16_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_write_single_block() 950 UINT8_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_write_single_block() 979 tNFC_STATUS rw_i93_send_cmd_lock_block(uint8_t block_number) { in rw_i93_send_cmd_lock_block() argument 1020 UINT8_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_lock_block() 1023 UINT8_TO_STREAM(p, block_number); /* Block number */ in rw_i93_send_cmd_lock_block() 2250 uint16_t length = p_resp->len, block_number; in rw_i93_sm_update_ndef() local [all …]
|
D | rw_t3t.cc | 1049 if (p_t3t_blocks[i].block_number > 0xFF) { in rw_t3t_message_set_block_list() 1051 UINT16_TO_STREAM((*p), p_t3t_blocks[i].block_number); in rw_t3t_message_set_block_list() 1055 UINT8_TO_STREAM((*p), p_t3t_blocks[i].block_number); in rw_t3t_message_set_block_list()
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 645 for (uint32_t last_block, block_number = 0; block_number < num_blocks; block_number++) { in ReadFibmap() local 646 uint32_t block = block_number; in ReadFibmap() 652 LOG(ERROR) << "Logical block " << block_number << " is a hole, which is not supported"; in ReadFibmap() 659 extents->push_back(fiemap_extent{.fe_logical = block_number, in ReadFibmap()
|
/system/nfc/src/nfc/include/ |
D | rw_api.h | 1021 extern tNFC_STATUS RW_I93ReadSingleBlock(uint16_t block_number); 1039 extern tNFC_STATUS RW_I93WriteSingleBlock(uint16_t block_number, 1056 extern tNFC_STATUS RW_I93LockBlock(uint8_t block_number);
|
D | tags_defs.h | 273 uint16_t block_number; /* Block number */ member
|