Home
last modified time | relevance | path

Searched refs:p_cmd_buf (Results 1 – 5 of 5) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t3t.cc243 NFC_HDR* p_cmd_buf; in rw_t3t_process_error() local
269 p_cmd_buf = rw_t3t_get_cmd_buf(); in rw_t3t_process_error()
270 if (p_cmd_buf != nullptr) { in rw_t3t_process_error()
271 memcpy(p_cmd_buf, p_cb->p_cur_cmd_buf, in rw_t3t_process_error()
275 if (rw_t3t_send_to_lower(p_cmd_buf) == NFC_STATUS_OK) { in rw_t3t_process_error()
611 NFC_HDR* p_cmd_buf; in rw_t3t_get_cmd_buf() local
613 p_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t3t_get_cmd_buf()
614 if (p_cmd_buf != nullptr) { in rw_t3t_get_cmd_buf()
616 p_cmd_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; in rw_t3t_get_cmd_buf()
617 p_cmd_buf->len = 0; in rw_t3t_get_cmd_buf()
[all …]
Drw_t2t.cc481 NFC_HDR* p_cmd_buf; in rw_t2t_process_error() local
498 p_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t2t_process_error()
499 if (p_cmd_buf != nullptr) { in rw_t2t_process_error()
500 memcpy(p_cmd_buf, p_t2t->p_cur_cmd_buf, in rw_t2t_process_error()
505 rw_main_update_tx_stats(p_cmd_buf->len, true); in rw_t2t_process_error()
507 if (NFC_SendData(NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) { in rw_t2t_process_error()
595 NFC_HDR* p_cmd_buf; in rw_t2t_resume_op() local
609 p_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t2t_resume_op()
610 if (p_cmd_buf != nullptr) { in rw_t2t_resume_op()
611 memcpy(p_cmd_buf, p_t2t->p_sec_cmd_buf, in rw_t2t_resume_op()
[all …]
Dce_t3t.cc134 NFC_HDR* p_cmd_buf; in ce_t3t_get_rsp_buf() local
136 p_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_CE_POOL_ID); in ce_t3t_get_rsp_buf()
137 if (p_cmd_buf != nullptr) { in ce_t3t_get_rsp_buf()
139 p_cmd_buf->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE + 1; in ce_t3t_get_rsp_buf()
140 p_cmd_buf->len = 0; in ce_t3t_get_rsp_buf()
143 return (p_cmd_buf); in ce_t3t_get_rsp_buf()
Drw_t1t.cc572 NFC_HDR* p_cmd_buf; in rw_t1t_process_error() local
588 p_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t1t_process_error()
589 if (p_cmd_buf != nullptr) { in rw_t1t_process_error()
590 memcpy(p_cmd_buf, p_t1t->p_cur_cmd_buf, in rw_t1t_process_error()
596 rw_main_update_tx_stats(p_cmd_buf->len, true); in rw_t1t_process_error()
599 if (NFC_SendData(NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) { in rw_t1t_process_error()
Drw_mfc.cc1357 NFC_HDR* p_cmd_buf; in rw_mfc_process_error() local
1376 p_cmd_buf = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_mfc_process_error()
1377 if (p_cmd_buf != NULL) { in rw_mfc_process_error()
1378 memcpy(p_cmd_buf, p_mfc->p_cur_cmd_buf, in rw_mfc_process_error()
1382 if (NFC_SendData(NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) { in rw_mfc_process_error()