Searched refs:nfa_rw_cb (Results 1 – 4 of 4) sorted by relevance
/system/nfc/src/nfa/rw/ |
D | nfa_rw_act.cc | 68 if (nfa_rw_cb.p_ndef_buf) { in nfa_rw_free_ndef_rx_buf() 69 nfa_mem_co_free(nfa_rw_cb.p_ndef_buf); in nfa_rw_free_ndef_rx_buf() 70 nfa_rw_cb.p_ndef_buf = nullptr; in nfa_rw_free_ndef_rx_buf() 88 if ((nfa_rw_cb.ndef_rd_offset + p_rw_data->data.p_data->len) <= in nfa_rw_store_ndef_rx_buf() 89 nfa_rw_cb.ndef_cur_size) { in nfa_rw_store_ndef_rx_buf() 91 memcpy(&nfa_rw_cb.p_ndef_buf[nfa_rw_cb.ndef_rd_offset], p, in nfa_rw_store_ndef_rx_buf() 93 nfa_rw_cb.ndef_rd_offset += p_rw_data->data.p_data->len; in nfa_rw_store_ndef_rx_buf() 168 if (nfa_rw_cb.flags & NFA_RW_FL_NOT_EXCL_RF_MODE) { in nfa_rw_check_start_presence_check_timer() 172 nfa_sys_start_timer(&nfa_rw_cb.tle, NFA_RW_PRESENCE_CHECK_TICK_EVT, in nfa_rw_check_start_presence_check_timer() 191 nfa_sys_stop_timer(&nfa_rw_cb.tle); in nfa_rw_stop_presence_check_timer() [all …]
|
D | nfa_rw_main.cc | 38 tNFA_RW_CB nfa_rw_cb; variable 73 memset(&nfa_rw_cb, 0, sizeof(tNFA_RW_CB)); in nfa_rw_init() 100 if (nfa_rw_cb.p_pending_msg) { in nfa_rw_sys_disable() 101 GKI_freebuf(nfa_rw_cb.p_pending_msg); in nfa_rw_sys_disable() 102 nfa_rw_cb.p_pending_msg = nullptr; in nfa_rw_sys_disable() 181 nfa_rw_evt_2_str(p_msg->event).c_str(), p_msg->event, nfa_rw_cb.flags); in nfa_rw_handle_event()
|
D | nfa_rw_api.cc | 259 tNFC_PROTOCOL protocol = nfa_rw_cb.protocol; in NFA_RwSetTagReadOnly() 832 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93Inventory() 881 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93StayQuiet() 922 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93ReadSingleBlock() 964 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93WriteSingleBlock() 969 if ((nfa_rw_cb.i93_block_size == 0) || (nfa_rw_cb.i93_num_block == 0)) { in NFA_RwI93WriteSingleBlock() 974 (uint16_t)(sizeof(tNFA_RW_OPERATION) + nfa_rw_cb.i93_block_size)); in NFA_RwI93WriteSingleBlock() 983 memcpy(p_msg->params.i93_cmd.p_data, p_data, nfa_rw_cb.i93_block_size); in NFA_RwI93WriteSingleBlock() 1015 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93LockBlock() 1059 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93ReadMultipleBlocks() [all …]
|
/system/nfc/src/nfa/include/ |
D | nfa_rw_int.h | 319 extern tNFA_RW_CB nfa_rw_cb;
|