/system/nfc/src/nfc/tags/ |
D | rw_t5t.cc | 72 tRW_DATA rw_data; in rw_t5t_sm_detect_ndef() local 407 rw_data.ndef.status = NFC_STATUS_OK; in rw_t5t_sm_detect_ndef() 408 rw_data.ndef.protocol = NFC_PROTOCOL_T5T; in rw_t5t_sm_detect_ndef() 409 rw_data.ndef.flags = 0; in rw_t5t_sm_detect_ndef() 410 rw_data.ndef.flags |= RW_NDEF_FL_SUPPORTED; in rw_t5t_sm_detect_ndef() 411 rw_data.ndef.flags |= RW_NDEF_FL_FORMATED; // NOTYPO in rw_t5t_sm_detect_ndef() 412 rw_data.ndef.flags |= RW_NDEF_FL_FORMATABLE; in rw_t5t_sm_detect_ndef() 413 rw_data.ndef.cur_size = p_i93->ndef_length; in rw_t5t_sm_detect_ndef() 416 rw_data.ndef.flags |= RW_NDEF_FL_READ_ONLY; in rw_t5t_sm_detect_ndef() 417 rw_data.ndef.max_size = p_i93->ndef_length; in rw_t5t_sm_detect_ndef() [all …]
|
D | rw_t2t.cc | 83 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 …]
|
D | rw_i93.cc | 482 tRW_DATA rw_data; in rw_i93_send_to_upper() local 491 rw_data.i93_cmd_cmpl.status = NFC_STATUS_FAILED; in rw_i93_send_to_upper() 492 rw_data.i93_cmd_cmpl.command = p_i93->sent_cmd; in rw_i93_send_to_upper() 494 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper() 509 rw_data.i93_cmd_cmpl.status = NFC_STATUS_FAILED; in rw_i93_send_to_upper() 510 rw_data.i93_cmd_cmpl.command = p_i93->sent_cmd; in rw_i93_send_to_upper() 511 STREAM_TO_UINT8(rw_data.i93_cmd_cmpl.error_code, p); in rw_i93_send_to_upper() 514 (*(rw_cb.p_cback))(RW_I93_CMD_CMPL_EVT, &rw_data); in rw_i93_send_to_upper() 524 rw_data.i93_inventory.status = NFC_STATUS_OK; in rw_i93_send_to_upper() 525 STREAM_TO_UINT8(rw_data.i93_inventory.dsfid, p); in rw_i93_send_to_upper() [all …]
|
D | rw_t4t.cc | 1294 tRW_DATA rw_data; in rw_t4t_handle_error() local 1305 rw_data.status = status; in rw_t4t_handle_error() 1307 rw_data.t4t_sw.sw1 = sw1; in rw_t4t_handle_error() 1308 rw_data.t4t_sw.sw2 = sw2; in rw_t4t_handle_error() 1309 rw_data.ndef.cur_size = 0; in rw_t4t_handle_error() 1310 rw_data.ndef.max_size = 0; in rw_t4t_handle_error() 1314 rw_data.ndef.flags = RW_NDEF_FL_UNKNOWN; in rw_t4t_handle_error() 1328 rw_data.status = NFC_STATUS_FAILED; in rw_t4t_handle_error() 1337 rw_data.status = NFC_STATUS_FAILED; in rw_t4t_handle_error() 1348 (*(rw_cb.p_cback))(event, &rw_data); in rw_t4t_handle_error() [all …]
|
D | rw_t1t.cc | 290 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 …]
|
D | rw_t1t_ndef.cc | 597 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 …]
|
D | rw_t3t.cc | 1382 tRW_DATA rw_data; in rw_t3t_act_handle_ndef_detect_rsp() local 1383 rw_data.ndef = evt_data; in rw_t3t_act_handle_ndef_detect_rsp() 1384 (*(rw_cb.p_cback))(RW_T3T_NDEF_DETECT_EVT, &rw_data); in rw_t3t_act_handle_ndef_detect_rsp() 1424 tRW_DATA rw_data; in rw_t3t_act_handle_check_rsp() local 1425 rw_data.data = evt_data; in rw_t3t_act_handle_check_rsp() 1426 (*(rw_cb.p_cback))(RW_T3T_CHECK_EVT, &rw_data); in rw_t3t_act_handle_check_rsp() 1435 tRW_DATA rw_data; in rw_t3t_act_handle_check_rsp() local 1436 rw_data.status = nfc_status; in rw_t3t_act_handle_check_rsp() 1437 (*(rw_cb.p_cback))(RW_T3T_CHECK_CPLT_EVT, &rw_data); in rw_t3t_act_handle_check_rsp() 1472 tRW_DATA rw_data; in rw_t3t_act_handle_update_rsp() local [all …]
|
D | rw_t2t_ndef.cc | 275 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() 1542 tRW_DATA rw_data; in rw_t2t_handle_ndef_read_rsp() local 1543 rw_data.data = evt_data; in rw_t2t_handle_ndef_read_rsp() 1544 (*rw_cb.p_cback)(RW_T2T_NDEF_READ_EVT, &rw_data); in rw_t2t_handle_ndef_read_rsp() 1683 tRW_DATA rw_data; in rw_t2t_handle_ndef_write_rsp() local [all …]
|
D | rw_mfc.cc | 635 tRW_DATA rw_data; in rw_mfc_conn_cback() local 706 rw_data.raw_frame.status = p_data->data.status; in rw_mfc_conn_cback() 707 rw_data.raw_frame.p_data = mfc_data; in rw_mfc_conn_cback() 708 (*(rw_cb.p_cback))(RW_MFC_RAW_FRAME_EVT, &rw_data); in rw_mfc_conn_cback()
|
/system/nfc/src/nfa/include/ |
D | nfa_rw_int.h | 314 tRW_DATA rw_data; /* Event Data from stack after NACK response */ member
|
/system/nfc/src/nfa/rw/ |
D | nfa_rw_act.cc | 413 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() 2786 if (nfa_rw_cb.rw_data.data.p_data) in nfa_rw_deactivate_ntf() 2787 GKI_freebuf(nfa_rw_cb.rw_data.data.p_data); in nfa_rw_deactivate_ntf() 2788 nfa_rw_cb.rw_data.data.p_data = nullptr; in nfa_rw_deactivate_ntf()
|