Home
last modified time | relevance | path

Searched refs:p_cur_cmd_buf (Results 1 – 7 of 7) sorted by relevance

/system/nfc/src/nfa/rw/
Dnfa_rw_main.cc103 if (p_t1t->p_cur_cmd_buf != NULL) { in nfa_rw_sys_disable()
104 GKI_freebuf(p_t1t->p_cur_cmd_buf); in nfa_rw_sys_disable()
105 p_t1t->p_cur_cmd_buf = NULL; in nfa_rw_sys_disable()
110 if (p_t2t->p_cur_cmd_buf != NULL) { in nfa_rw_sys_disable()
111 GKI_freebuf(p_t2t->p_cur_cmd_buf); in nfa_rw_sys_disable()
112 p_t2t->p_cur_cmd_buf = NULL; in nfa_rw_sys_disable()
121 if (p_t3t->p_cur_cmd_buf != NULL) { in nfa_rw_sys_disable()
122 GKI_freebuf(p_t3t->p_cur_cmd_buf); in nfa_rw_sys_disable()
123 p_t3t->p_cur_cmd_buf = NULL; in nfa_rw_sys_disable()
138 if (p_mfc->p_cur_cmd_buf != NULL) { in nfa_rw_sys_disable()
[all …]
/system/nfc/src/nfc/tags/
Drw_t2t.cc266 if (p_t2t->p_cur_cmd_buf) { in rw_t2t_conn_cback()
267 GKI_freebuf(p_t2t->p_cur_cmd_buf); in rw_t2t_conn_cback()
268 p_t2t->p_cur_cmd_buf = nullptr; in rw_t2t_conn_cback()
374 memcpy(p_t2t->p_cur_cmd_buf, p_data, in rw_t2t_send_cmd()
501 memcpy(p_cmd_buf, p_t2t->p_cur_cmd_buf, sizeof(NFC_HDR) + in rw_t2t_process_error()
502 p_t2t->p_cur_cmd_buf->offset + in rw_t2t_process_error()
503 p_t2t->p_cur_cmd_buf->len); in rw_t2t_process_error()
615 memcpy(p_t2t->p_cur_cmd_buf, p_t2t->p_sec_cmd_buf, in rw_t2t_resume_op()
824 if (p_t2t->p_cur_cmd_buf == nullptr) { in rw_t2t_select()
825 p_t2t->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t2t_select()
[all …]
Drw_t1t.cc251 if (p_t1t->p_cur_cmd_buf) { in rw_t1t_conn_cback()
252 GKI_freebuf(p_t1t->p_cur_cmd_buf); in rw_t1t_conn_cback()
253 p_t1t->p_cur_cmd_buf = nullptr; in rw_t1t_conn_cback()
349 memcpy(p_t1t->p_cur_cmd_buf, p_data, in rw_t1t_send_static_cmd()
414 memcpy(p_t1t->p_cur_cmd_buf, p_data, in rw_t1t_send_dyn_cmd()
500 if (p_t1t->p_cur_cmd_buf == nullptr) { in rw_t1t_select()
501 p_t1t->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t1t_select()
502 if (p_t1t->p_cur_cmd_buf == nullptr) { in rw_t1t_select()
591 memcpy(p_cmd_buf, p_t1t->p_cur_cmd_buf, sizeof(NFC_HDR) + in rw_t1t_process_error()
592 p_t1t->p_cur_cmd_buf->offset + in rw_t1t_process_error()
[all …]
Drw_mfc.cc548 if (p_mfc->p_cur_cmd_buf == NULL) { in rw_mfc_select()
550 p_mfc->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_mfc_select()
551 if (p_mfc->p_cur_cmd_buf == NULL) { in rw_mfc_select()
588 memcpy(p_mfc->p_cur_cmd_buf, p_data, in rw_mfc_send_to_lower()
660 if (p_mfc->p_cur_cmd_buf) { in rw_mfc_conn_cback()
661 GKI_freebuf(p_mfc->p_cur_cmd_buf); in rw_mfc_conn_cback()
662 p_mfc->p_cur_cmd_buf = NULL; in rw_mfc_conn_cback()
1369 memcpy(p_cmd_buf, p_mfc->p_cur_cmd_buf, in rw_mfc_process_error()
1370 sizeof(NFC_HDR) + p_mfc->p_cur_cmd_buf->offset + in rw_mfc_process_error()
1371 p_mfc->p_cur_cmd_buf->len); in rw_mfc_process_error()
Drw_t3t.cc272 memcpy(p_cmd_buf, p_cb->p_cur_cmd_buf, sizeof(NFC_HDR) + in rw_t3t_process_error()
273 p_cb->p_cur_cmd_buf->offset + in rw_t3t_process_error()
274 p_cb->p_cur_cmd_buf->len); in rw_t3t_process_error()
621 memcpy(p_cb->p_cur_cmd_buf, p_cmd_buf, in rw_t3t_send_cmd()
2378 if (p_cb->p_cur_cmd_buf == nullptr) { in rw_t3t_select()
2379 p_cb->p_cur_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t3t_select()
2380 if (p_cb->p_cur_cmd_buf == nullptr) { in rw_t3t_select()
2414 if (p_cb->p_cur_cmd_buf) { in rw_t3t_unselect()
2415 GKI_freebuf(p_cb->p_cur_cmd_buf); in rw_t3t_unselect()
2416 p_cb->p_cur_cmd_buf = nullptr; in rw_t3t_unselect()
/system/nfc/src/nfc/include/
Drw_int.h181 p_cur_cmd_buf; /* Buffer to hold cur sent command for retransmission */ member
401 NFC_HDR* p_cur_cmd_buf; /* Copy of current command, for retx/send after sector member
509 NFC_HDR* p_cur_cmd_buf; /* Copy of current command, for retransmission */ member
666 NFC_HDR* p_cur_cmd_buf; /* Copy of current command, for retx/send after sector member
/system/nfc/src/fuzzers/rw/
Dt3t.cc103 p_cb->p_cur_cmd_buf->offset = 1; in Init()
104 p_cb->p_cur_cmd_buf->len = 0; in Init()