Home
last modified time | relevance | path

Searched refs:nfa_rw_cb (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc68 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 …]
Dnfa_rw_main.cc39 tNFA_RW_CB nfa_rw_cb; variable
74 memset(&nfa_rw_cb, 0, sizeof(tNFA_RW_CB)); in nfa_rw_init()
158 if (nfa_rw_cb.p_pending_msg) { in nfa_rw_sys_disable()
159 GKI_freebuf(nfa_rw_cb.p_pending_msg); in nfa_rw_sys_disable()
160 nfa_rw_cb.p_pending_msg = nullptr; in nfa_rw_sys_disable()
239 nfa_rw_evt_2_str(p_msg->event).c_str(), p_msg->event, nfa_rw_cb.flags); in nfa_rw_handle_event()
Dnfa_rw_api.cc260 tNFC_PROTOCOL protocol = nfa_rw_cb.protocol; in NFA_RwSetTagReadOnly()
875 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93Inventory()
924 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93StayQuiet()
967 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93ReadSingleBlock()
1009 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93WriteSingleBlock()
1014 if ((nfa_rw_cb.i93_block_size == 0) || (nfa_rw_cb.i93_num_block == 0)) { in NFA_RwI93WriteSingleBlock()
1019 (uint16_t)(sizeof(tNFA_RW_OPERATION) + nfa_rw_cb.i93_block_size)); in NFA_RwI93WriteSingleBlock()
1028 memcpy(p_msg->params.i93_cmd.p_data, p_data, nfa_rw_cb.i93_block_size); in NFA_RwI93WriteSingleBlock()
1060 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93LockBlock()
1104 if (nfa_rw_cb.protocol != NFC_PROTOCOL_T5T) { in NFA_RwI93ReadMultipleBlocks()
[all …]
/system/nfc/src/nfa/include/
Dnfa_rw_int.h328 extern tNFA_RW_CB nfa_rw_cb;