Home
last modified time | relevance | path

Searched refs:p_c_apdu (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t4t.cc94 static bool rw_t4t_send_to_lower(NFC_HDR* p_c_apdu);
130 static bool rw_t4t_send_to_lower(NFC_HDR* p_c_apdu) { in rw_t4t_send_to_lower() argument
131 if (NFC_SendData(NFC_RF_CONN_ID, p_c_apdu) != NFC_STATUS_OK) { in rw_t4t_send_to_lower()
152 NFC_HDR* p_c_apdu; in rw_t4t_get_hw_version() local
155 p_c_apdu = (NFC_HDR*)GKI_getpoolbuf(NFC_RW_POOL_ID); in rw_t4t_get_hw_version()
157 if (!p_c_apdu) { in rw_t4t_get_hw_version()
162 p_c_apdu->offset = NCI_MSG_OFFSET_SIZE + NCI_DATA_HDR_SIZE; in rw_t4t_get_hw_version()
163 p = (uint8_t*)(p_c_apdu + 1) + p_c_apdu->offset; in rw_t4t_get_hw_version()
170 p_c_apdu->len = T4T_CMD_MAX_HDR_SIZE; in rw_t4t_get_hw_version()
172 if (!rw_t4t_send_to_lower(p_c_apdu)) { in rw_t4t_get_hw_version()
[all …]
Dce_t4t.cc380 static void ce_t4t_process_select_app_cmd(uint8_t* p_cmd, NFC_HDR* p_c_apdu) { in ce_t4t_process_select_app_cmd() argument
394 if (data_len > (p_c_apdu->len - T4T_CMD_MAX_HDR_SIZE)) { in ce_t4t_process_select_app_cmd()
398 GKI_freebuf(p_c_apdu); in ce_t4t_process_select_app_cmd()
406 GKI_freebuf(p_c_apdu); in ce_t4t_process_select_app_cmd()
445 ce_data.raw_frame.p_data = p_c_apdu; in ce_t4t_process_select_app_cmd()
448 p_c_apdu = nullptr; in ce_t4t_process_select_app_cmd()
476 ce_data.raw_frame.p_data = p_c_apdu; in ce_t4t_process_select_app_cmd()
478 p_c_apdu = nullptr; in ce_t4t_process_select_app_cmd()
503 GKI_freebuf(p_c_apdu); in ce_t4t_process_select_app_cmd()
550 NFC_HDR* p_c_apdu; in ce_t4t_data_cback() local
[all …]
Drw_mfc.cc89 static bool rw_mfc_send_to_lower(NFC_HDR* p_c_apdu);