Home
last modified time | relevance | path

Searched refs:rw_data (Results 1 – 10 of 10) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t4t.cc1002 tRW_DATA rw_data; in rw_t4t_handle_error() local
1013 rw_data.status = status; in rw_t4t_handle_error()
1015 rw_data.t4t_sw.sw1 = sw1; in rw_t4t_handle_error()
1016 rw_data.t4t_sw.sw2 = sw2; in rw_t4t_handle_error()
1017 rw_data.ndef.cur_size = 0; in rw_t4t_handle_error()
1018 rw_data.ndef.max_size = 0; in rw_t4t_handle_error()
1022 rw_data.ndef.flags = RW_NDEF_FL_UNKNOWN; in rw_t4t_handle_error()
1036 rw_data.status = NFC_STATUS_FAILED; in rw_t4t_handle_error()
1045 rw_data.status = NFC_STATUS_FAILED; in rw_t4t_handle_error()
1056 (*(rw_cb.p_cback))(event, &rw_data); in rw_t4t_handle_error()
[all …]
Drw_t2t.cc83 tRW_DATA rw_data; in rw_t2t_proc_data() local
84 rw_data.data = evt_data; in rw_t2t_proc_data()
85 (*rw_cb.p_cback)(RW_T2T_RAW_FRAME_EVT, &rw_data); in rw_t2t_proc_data()
209 tRW_DATA rw_data; in rw_t2t_proc_data() local
210 rw_data.ndef = ndef_data; in rw_t2t_proc_data()
211 (*rw_cb.p_cback)(rw_event, &rw_data); in rw_t2t_proc_data()
215 tRW_DATA rw_data; in rw_t2t_proc_data() local
216 rw_data.data = evt_data; in rw_t2t_proc_data()
217 (*rw_cb.p_cback)(rw_event, &rw_data); in rw_t2t_proc_data()
310 tRW_DATA rw_data; in rw_t2t_conn_cback() local
[all …]
Drw_i93.cc458 tRW_DATA rw_data; in rw_i93_send_to_upper() local
467 rw_data.i93_cmd_cmpl.status = NFC_STATUS_FAILED; in rw_i93_send_to_upper()
468 rw_data.i93_cmd_cmpl.command = p_i93->sent_cmd; in rw_i93_send_to_upper()
470 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper()
485 rw_data.i93_cmd_cmpl.status = NFC_STATUS_FAILED; in rw_i93_send_to_upper()
486 rw_data.i93_cmd_cmpl.command = p_i93->sent_cmd; in rw_i93_send_to_upper()
487 STREAM_TO_UINT8(rw_data.i93_cmd_cmpl.error_code, p); in rw_i93_send_to_upper()
490 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper()
500 rw_data.i93_inventory.status = NFC_STATUS_OK; in rw_i93_send_to_upper()
501 STREAM_TO_UINT8(rw_data.i93_inventory.dsfid, p); in rw_i93_send_to_upper()
[all …]
Drw_t1t.cc290 tRW_DATA rw_data; in rw_t1t_conn_cback() local
291 rw_data.data = evt_data; in rw_t1t_conn_cback()
292 (*rw_cb.p_cback)(RW_T1T_INTF_ERROR_EVT, &rw_data); in rw_t1t_conn_cback()
638 tRW_DATA rw_data; in rw_t1t_process_error() local
639 rw_data.ndef = ndef_data; in rw_t1t_process_error()
640 (*rw_cb.p_cback)(rw_event, &rw_data); in rw_t1t_process_error()
645 tRW_DATA rw_data; in rw_t1t_process_error() local
646 rw_data.data = evt_data; in rw_t1t_process_error()
647 (*rw_cb.p_cback)(rw_event, &rw_data); in rw_t1t_process_error()
661 tRW_DATA rw_data; in rw_t1t_handle_presence_check_rsp() local
[all …]
Drw_t1t_ndef.cc597 tRW_DATA rw_data; in rw_t1t_handle_read_rsp() local
598 rw_data.data.status = status; in rw_t1t_handle_read_rsp()
599 rw_data.data.p_data = nullptr; in rw_t1t_handle_read_rsp()
601 (*rw_cb.p_cback)(RW_T1T_NDEF_READ_EVT, &rw_data); in rw_t1t_handle_read_rsp()
617 tRW_DATA rw_data; in rw_t1t_handle_read_rsp() local
618 rw_data.tlv = tlv_data; in rw_t1t_handle_read_rsp()
619 (*rw_cb.p_cback)(RW_T1T_TLV_DETECT_EVT, &rw_data); in rw_t1t_handle_read_rsp()
639 tRW_DATA rw_data; in rw_t1t_handle_read_rsp() local
640 rw_data.ndef = ndef_data; in rw_t1t_handle_read_rsp()
641 (*rw_cb.p_cback)(RW_T1T_NDEF_DETECT_EVT, &rw_data); in rw_t1t_handle_read_rsp()
[all …]
Drw_t3t.cc1344 tRW_DATA rw_data; in rw_t3t_act_handle_ndef_detect_rsp() local
1345 rw_data.ndef = evt_data; in rw_t3t_act_handle_ndef_detect_rsp()
1346 (*(rw_cb.p_cback))(RW_T3T_NDEF_DETECT_EVT, &rw_data); in rw_t3t_act_handle_ndef_detect_rsp()
1386 tRW_DATA rw_data; in rw_t3t_act_handle_check_rsp() local
1387 rw_data.data = evt_data; in rw_t3t_act_handle_check_rsp()
1388 (*(rw_cb.p_cback))(RW_T3T_CHECK_EVT, &rw_data); in rw_t3t_act_handle_check_rsp()
1397 tRW_DATA rw_data; in rw_t3t_act_handle_check_rsp() local
1398 rw_data.status = nfc_status; in rw_t3t_act_handle_check_rsp()
1399 (*(rw_cb.p_cback))(RW_T3T_CHECK_CPLT_EVT, &rw_data); in rw_t3t_act_handle_check_rsp()
1434 tRW_DATA rw_data; in rw_t3t_act_handle_update_rsp() local
[all …]
Drw_t2t_ndef.cc275 tRW_DATA rw_data; in rw_t2t_ntf_tlv_detect_complete() local
276 rw_data.ndef = ndef_data; in rw_t2t_ntf_tlv_detect_complete()
277 (*rw_cb.p_cback)(RW_T2T_NDEF_DETECT_EVT, &rw_data); in rw_t2t_ntf_tlv_detect_complete()
299 tRW_DATA rw_data; in rw_t2t_ntf_tlv_detect_complete() local
300 rw_data.tlv = tlv_data; in rw_t2t_ntf_tlv_detect_complete()
301 (*rw_cb.p_cback)(RW_T2T_TLV_DETECT_EVT, &rw_data); in rw_t2t_ntf_tlv_detect_complete()
1534 tRW_DATA rw_data; in rw_t2t_handle_ndef_read_rsp() local
1535 rw_data.data = evt_data; in rw_t2t_handle_ndef_read_rsp()
1536 (*rw_cb.p_cback)(RW_T2T_NDEF_READ_EVT, &rw_data); in rw_t2t_handle_ndef_read_rsp()
1702 tRW_DATA rw_data; in rw_t2t_handle_ndef_write_rsp() local
[all …]
Drw_mfc.cc638 tRW_DATA rw_data; in rw_mfc_conn_cback() local
705 rw_data.raw_frame.status = p_data->data.status; in rw_mfc_conn_cback()
706 rw_data.raw_frame.p_data = mfc_data; in rw_mfc_conn_cback()
707 (*(rw_cb.p_cback))(RW_MFC_RAW_FRAME_EVT, &rw_data); in rw_mfc_conn_cback()
/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc413 if (nfa_rw_cb.rw_data.data.p_data) in nfa_rw_handle_sleep_wakeup_rsp()
414 GKI_freebuf(nfa_rw_cb.rw_data.data.p_data); in nfa_rw_handle_sleep_wakeup_rsp()
415 nfa_rw_cb.rw_data.data.p_data = nullptr; in nfa_rw_handle_sleep_wakeup_rsp()
424 nfa_rw_cb.rw_data.status = NFC_STATUS_FAILED; in nfa_rw_handle_sleep_wakeup_rsp()
429 nfa_rw_cb.rw_data.status = status; in nfa_rw_handle_sleep_wakeup_rsp()
436 nfa_rw_handle_t2t_evt(event, &nfa_rw_cb.rw_data); in nfa_rw_handle_sleep_wakeup_rsp()
736 memcpy(&nfa_rw_cb.rw_data, p_rw_data, sizeof(tRW_DATA)); in nfa_rw_handle_t2t_evt()
2760 if (nfa_rw_cb.rw_data.data.p_data) in nfa_rw_deactivate_ntf()
2761 GKI_freebuf(nfa_rw_cb.rw_data.data.p_data); in nfa_rw_deactivate_ntf()
2762 nfa_rw_cb.rw_data.data.p_data = nullptr; in nfa_rw_deactivate_ntf()
/system/nfc/src/nfa/include/
Dnfa_rw_int.h306 tRW_DATA rw_data; /* Event Data from stack after NACK response */ member