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.cc518 tRW_DATA rw_data; in rw_i93_send_to_upper() local
527 rw_data.i93_cmd_cmpl.status = NFC_STATUS_FAILED; in rw_i93_send_to_upper()
528 rw_data.i93_cmd_cmpl.command = p_i93->sent_cmd; in rw_i93_send_to_upper()
530 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper()
545 rw_data.i93_cmd_cmpl.status = NFC_STATUS_FAILED; in rw_i93_send_to_upper()
546 rw_data.i93_cmd_cmpl.command = p_i93->sent_cmd; in rw_i93_send_to_upper()
547 STREAM_TO_UINT8(rw_data.i93_cmd_cmpl.error_code, p); in rw_i93_send_to_upper()
550 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper()
560 rw_data.i93_inventory.status = NFC_STATUS_OK; in rw_i93_send_to_upper()
561 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.cc1365 tRW_DATA rw_data; in rw_t3t_act_handle_ndef_detect_rsp() local
1366 rw_data.ndef = evt_data; in rw_t3t_act_handle_ndef_detect_rsp()
1367 (*(rw_cb.p_cback))(RW_T3T_NDEF_DETECT_EVT, &rw_data); in rw_t3t_act_handle_ndef_detect_rsp()
1407 tRW_DATA rw_data; in rw_t3t_act_handle_check_rsp() local
1408 rw_data.data = evt_data; in rw_t3t_act_handle_check_rsp()
1409 (*(rw_cb.p_cback))(RW_T3T_CHECK_EVT, &rw_data); in rw_t3t_act_handle_check_rsp()
1418 tRW_DATA rw_data; in rw_t3t_act_handle_check_rsp() local
1419 rw_data.status = nfc_status; in rw_t3t_act_handle_check_rsp()
1420 (*(rw_cb.p_cback))(RW_T3T_CHECK_CPLT_EVT, &rw_data); in rw_t3t_act_handle_check_rsp()
1455 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.cc635 tRW_DATA rw_data; in rw_mfc_conn_cback() local
702 rw_data.raw_frame.status = p_data->data.status; in rw_mfc_conn_cback()
703 rw_data.raw_frame.p_data = mfc_data; in rw_mfc_conn_cback()
704 (*(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