Home
last modified time | relevance | path

Searched refs:NFC_STATUS_OK (Results 1 – 25 of 26) sorted by relevance

12

/system/nfc/src/nfc/tags/
Drw_i93.cc418 NFC_STATUS_OK) { in rw_i93_process_sys_info()
432 if (rw_i93_send_cmd_get_ext_sys_info(nullptr) == NFC_STATUS_OK) { in rw_i93_process_sys_info()
498 NFC_STATUS_OK)) { in rw_i93_check_sys_info_prot_ext()
560 rw_data.i93_inventory.status = NFC_STATUS_OK; in rw_i93_send_to_upper()
588 rw_data.i93_data.status = NFC_STATUS_OK; in rw_i93_send_to_upper()
616 rw_data.i93_cmd_cmpl.status = NFC_STATUS_OK; in rw_i93_send_to_upper()
626 rw_data.i93_sys_info.status = NFC_STATUS_OK; in rw_i93_send_to_upper()
647 rw_data.i93_sys_info.status = NFC_STATUS_OK; in rw_i93_send_to_upper()
701 if (NFC_SendData(NFC_RF_CONN_ID, p_msg) != NFC_STATUS_OK) { in rw_i93_send_to_lower()
768 return NFC_STATUS_OK; in rw_i93_send_cmd_inventory()
[all …]
Drw_t2t.cc127 if (rw_t2t_sector_change(p_t2t->select_sector) == NFC_STATUS_OK) in rw_t2t_proc_data()
165 evt_data.status = NFC_STATUS_OK; in rw_t2t_proc_data()
172 rw_t2t_handle_presence_check_rsp(NFC_STATUS_OK); in rw_t2t_proc_data()
282 if ((p_data->data.status == NFC_STATUS_OK) || in rw_t2t_conn_cback()
386 if (status == NFC_STATUS_OK) { in rw_t2t_send_cmd()
433 evt_data.status = NFC_STATUS_OK; in rw_t2t_process_timeout()
508 if (NFC_SendData(NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) { in rw_t2t_process_error()
623 if (NFC_SendData(NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) { in rw_t2t_resume_op()
674 if (status == NFC_STATUS_OK) { in rw_t2t_sector_change()
718 if (status == NFC_STATUS_OK) { in rw_t2t_read()
[all …]
Drw_mfc.cc129 tNFC_STATUS status = NFC_STATUS_OK; in RW_MfcFormatNDef()
144 if (status == NFC_STATUS_OK) { in RW_MfcFormatNDef()
167 tNFC_STATUS status = NFC_STATUS_OK; in rw_mfc_formatBlock()
177 return NFC_STATUS_OK; in rw_mfc_formatBlock()
294 if (rw_mfc_formatBlock(p_mfc->next_block.block) != NFC_STATUS_OK) { in rw_mfc_handle_format_op()
300 evt_data.status = NFC_STATUS_OK; in rw_mfc_handle_format_op()
323 tNFC_STATUS status = NFC_STATUS_OK; in RW_MfcWriteNDef()
339 if (status == NFC_STATUS_OK) { in RW_MfcWriteNDef()
362 tNFC_STATUS status = NFC_STATUS_OK; in rw_mfc_writeBlock()
372 return NFC_STATUS_OK; in rw_mfc_writeBlock()
[all …]
Drw_t3t.cc268 if (rw_t3t_send_to_lower(p_cmd_buf) == NFC_STATUS_OK) { in rw_t3t_process_error()
395 evt_data.t3t_sc.status = NFC_STATUS_OK; in rw_t3t_handle_get_system_codes_cplt()
427 if (status == NFC_STATUS_OK) { in rw_t3t_format_cplt()
618 if (retval == NFC_STATUS_OK) { in rw_t3t_send_cmd()
644 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_ndef_attribute_cmd()
730 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_next_ndef_update_cmd()
876 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_next_ndef_check_cmd()
1073 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_check_cmd()
1109 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_cmd()
1197 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_raw_frame()
[all …]
Drw_t1t.cc84 evt_data.status = NFC_STATUS_OK; in rw_t1t_data_cback()
262 if (p_data->data.status == NFC_STATUS_OK) { in rw_t1t_conn_cback()
361 if (status == NFC_STATUS_OK) { in rw_t1t_send_static_cmd()
427 if (status == NFC_STATUS_OK) { in rw_t1t_send_dyn_cmd()
454 evt_data.status = NFC_STATUS_OK; in rw_t1t_handle_rid_rsp()
516 return NFC_STATUS_OK; in rw_t1t_select()
600 if (NFC_SendData(NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) { in rw_t1t_process_error()
710 tNFC_STATUS retval = NFC_STATUS_OK; in RW_T1tPresenceCheck()
727 evt_data.status = NFC_STATUS_OK; in RW_T1tPresenceCheck()
732 if (retval == NFC_STATUS_OK) { in RW_T1tPresenceCheck()
[all …]
Drw_t2t_ndef.cc231 if (rw_t2t_read((uint16_t)T2T_FIRST_DATA_BLOCK) != NFC_STATUS_OK) { in rw_t2t_handle_cc_read_rsp()
257 if (status == NFC_STATUS_OK) ndef_data.flags |= RW_NDEF_FL_FORMATED; in rw_t2t_ntf_tlv_detect_complete()
271 if (status == NFC_STATUS_OK) ndef_data.flags |= RW_NDEF_FL_HARD_LOCKABLE; in rw_t2t_ntf_tlv_detect_complete()
362 if (NFC_STATUS_OK != rw_t2t_read((uint16_t)block)) { in rw_t2t_handle_lock_read_rsp()
372 if (NFC_STATUS_OK != in rw_t2t_handle_lock_read_rsp()
386 rw_t2t_ntf_tlv_detect_complete(NFC_STATUS_OK); in rw_t2t_handle_lock_read_rsp()
738 if (rw_t2t_read((uint16_t)(p_t2t->work_offset / T2T_BLOCK_LEN) ) != NFC_STATUS_OK) in rw_t2t_handle_tlv_detect_rsp()
773 status = failed ? NFC_STATUS_FAILED : NFC_STATUS_OK; in rw_t2t_handle_tlv_detect_rsp()
821 if (status == NFC_STATUS_OK) { in rw_t2t_read_locks()
833 status = NFC_STATUS_OK; in rw_t2t_read_locks()
[all …]
Drw_t1t_ndef.cc303 if (status == NFC_STATUS_OK) { in rw_t1t_read_locks()
319 status = NFC_STATUS_OK; in rw_t1t_read_locks()
337 tNFC_STATUS status = NFC_STATUS_OK; in rw_t1t_handle_write_rsp()
369 if (status != NFC_STATUS_OK) *p_notify = true; in rw_t1t_handle_write_rsp()
378 if (status != NFC_STATUS_OK) in rw_t1t_handle_write_rsp()
390 status = NFC_STATUS_OK; in rw_t1t_handle_write_rsp()
403 if (status != NFC_STATUS_OK) in rw_t1t_handle_write_rsp()
411 if (status != NFC_STATUS_OK) in rw_t1t_handle_write_rsp()
423 if (status != NFC_STATUS_OK) in rw_t1t_handle_write_rsp()
489 if (status == NFC_STATUS_OK) { in rw_t1t_handle_write_rsp()
[all …]
Drw_t4t.cc131 if (NFC_SendData(NFC_RF_CONN_ID, p_c_apdu) != NFC_STATUS_OK) { in rw_t4t_send_to_lower()
1223 rw_data.ndef.status = NFC_STATUS_OK; in rw_t4t_sm_ndef_format()
1420 rw_data.ndef.status = NFC_STATUS_OK; in rw_t4t_sm_detect_ndef()
1505 rw_data.data.status = NFC_STATUS_OK; in rw_t4t_sm_read_ndef()
1593 rw_data.status = NFC_STATUS_OK; in rw_t4t_sm_update_ndef()
1687 rw_data.status = NFC_STATUS_OK; in rw_t4t_sm_set_readonly()
1735 if (is_ntf || (status != NFC_STATUS_OK)) { in rw_t4t_handle_isodep_nak_rsp()
1840 rw_data.status = NFC_STATUS_OK; in rw_t4t_data_cback()
1894 return NFC_STATUS_OK; in RW_T4tFormatNDef()
1923 return NFC_STATUS_OK; in rw_t4t_select()
[all …]
Dce_t3t.cc97 if (NFC_SendData(NFC_RF_CONN_ID, p_msg) != NFC_STATUS_OK) { in ce_t3t_send_to_lower()
208 tNFC_STATUS nfc_status = NFC_STATUS_OK; in ce_t3t_handle_update_cmd()
327 if (nfc_status == NFC_STATUS_OK) { in ce_t3t_handle_update_cmd()
817 if (p_data->data.status == NFC_STATUS_OK) { in ce_t3t_conn_cback()
852 return NFC_STATUS_OK; in ce_select_t3t()
906 return (NFC_STATUS_OK); in CE_T3tSetLocalNDEFMsg()
935 return NFC_STATUS_OK; in CE_T3tSetLocalNDefParams()
950 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendCheckRsp()
1005 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendUpdateRsp()
Dce_t4t.cc59 if (NFC_SendData(NFC_RF_CONN_ID, p_r_apdu) != NFC_STATUS_OK) { in ce_t4t_send_to_lower()
276 ce_data.update_info.status = NFC_STATUS_OK; in ce_t4t_update_binary()
444 ce_data.raw_frame.status = NFC_STATUS_OK; in ce_t4t_process_select_app_cmd()
475 ce_data.raw_frame.status = NFC_STATUS_OK; in ce_t4t_process_select_app_cmd()
791 return NFC_STATUS_OK; in ce_select_t4t()
829 return NFC_STATUS_OK; in CE_T4tSetLocalNDEFMsg()
879 return NFC_STATUS_OK; in CE_T4tSetLocalNDEFMsg()
Dce_main.cc123 if (status != NFC_STATUS_OK) { in CE_SetActivatedTagType()
Drw_main.cc273 if (status != NFC_STATUS_OK) rw_cb.p_cback = nullptr; in RW_SetActivatedTagType()
/system/nfc/src/nfc/nfc/
Dnfc_vs.cc63 status = NFC_STATUS_OK; in NFC_RegVSCback()
72 status = NFC_STATUS_OK; in NFC_RegVSCback()
108 return NFC_STATUS_OK; in NFC_SendRawVsCommand()
127 tNFC_STATUS status = NFC_STATUS_OK; in NFC_SendVsCommand()
Dnfc_test.cc61 if (status != NFC_STATUS_OK) GKI_freebuf(p_data); in NFC_TestLoopback()
Dnfc_main.cc174 if (nfc_status != NFC_STATUS_OK) { in nfc_main_notify_enable_status()
676 return (NFC_STATUS_OK); in NFC_Enable()
1074 if (status != NFC_STATUS_OK) GKI_freebuf(p_data); in NFC_SendData()
1097 status = NFC_STATUS_OK; in NFC_FlushData()
1125 tNFC_STATUS status = NFC_STATUS_OK; in NFC_Deactivate()
1140 return NFC_STATUS_OK; in NFC_Deactivate()
1257 return NFC_STATUS_OK; in NFC_SetPowerOffSleep()
1263 return NFC_STATUS_OK; in NFC_SetPowerOffSleep()
1287 return NFC_STATUS_OK; in NFC_PowerCycleNFCC()
1346 evt_data.conn_create.status = NFC_STATUS_OK; in NFC_SetStaticHciCback()
[all …]
Dnfc_ncif.cc527 if (evt_data.set_config.status != NFC_STATUS_OK && len > 1) { in nfc_ncif_set_config_status()
604 evt_data.status = (tNFC_STATUS)NFC_STATUS_OK; in nfc_ncif_proc_rf_field_ntf()
1169 evt_data.status = NFC_STATUS_OK; in nfc_ncif_proc_ee_action()
1248 ee_disc_req.status = NFC_STATUS_OK; in nfc_ncif_proc_ee_discover_req()
1294 if ((more == false) && (xx == (num_entries - 1))) status = NFC_STATUS_OK; in nfc_ncif_proc_get_routing()
1592 data_cevt.status = NFC_STATUS_OK; in nfc_data_event()
1609 if ((data_cevt.status != NFC_STATUS_OK) && in nfc_data_event()
1614 data_cevt.status = NFC_STATUS_OK; in nfc_data_event()
/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc214 if (p_rw_data->ndef.status == NFC_STATUS_OK) { in nfa_rw_handle_ndef_detect()
335 if (p_rw_data->tlv.status == NFC_STATUS_OK) { in nfa_rw_handle_tlv_detect()
346 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) { in nfa_rw_handle_tlv_detect()
360 if (p_rw_data->tlv.status != NFC_STATUS_OK) { in nfa_rw_handle_tlv_detect()
369 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) { in nfa_rw_handle_tlv_detect()
398 if (status == NFC_STATUS_OK) { in nfa_rw_handle_sleep_wakeup_rsp()
409 NFC_STATUS_OK) { in nfa_rw_handle_sleep_wakeup_rsp()
432 if ((status != NFC_STATUS_OK) && in nfa_rw_handle_sleep_wakeup_rsp()
442 (status != NFC_STATUS_OK)) { in nfa_rw_handle_sleep_wakeup_rsp()
497 else if (status == NFC_STATUS_OK) { in nfa_rw_handle_presence_check_rsp()
[all …]
/system/nfc/src/nfc/nci/
Dnci_hrcv.cc211 if (*pp != NFC_STATUS_OK) in nci_proc_rf_management_rsp()
261 nfc_ncif_proc_deactivate(NFC_STATUS_OK, *pp, true); in nci_proc_rf_management_ntf()
337 if (nfc_response.nfcee_discover.status != NFC_STATUS_OK) in nci_proc_ee_management_rsp()
/system/nfc/src/nfa/dm/
Dnfa_dm_act.cc276 if (p_data->enable.status == NFC_STATUS_OK) { in nfa_dm_nfc_response_cback()
324 if (p_data->get_config.status == NFC_STATUS_OK) { in nfa_dm_nfc_response_cback()
377 if (p_data->status == NFC_STATUS_OK) { in nfa_dm_nfc_response_cback()
564 if (status != NFC_STATUS_OK) { in nfa_dm_set_config()
613 if (status != NFC_STATUS_OK) { in nfa_dm_set_power_sub_state()
842 NFC_STATUS_OK) { in nfa_dm_act_reg_vsc()
1181 if (status != NFC_STATUS_OK) { in nfa_dm_act_send_raw_frame()
1345 NFC_STATUS_OK) { in nfa_dm_act_update_rf_params()
Dnfa_dm_discover.cc860 status = NFC_STATUS_OK; in nfa_dm_send_deactivate_cmd()
1156 nfa_dm_disc_report_kovio_presence_check(NFC_STATUS_OK); in nfa_dm_disc_handle_kovio_activation()
1475 if (status == NFC_STATUS_OK) { in nfa_dm_disc_sleep_wakeup()
1573 deact.status = NFC_STATUS_OK; in nfa_dm_disc_kovio_timeout_cback()
1607 if (status == NFC_STATUS_OK) { in nfa_dm_disc_start_kovio_presence_check()
1617 status = NFC_STATUS_OK; in nfa_dm_disc_start_kovio_presence_check()
1743 if (p_data->nfc_discover.status == NFC_STATUS_OK) { in nfa_dm_disc_sm_idle()
1797 if (p_data->nfc_discover.status == NFC_STATUS_OK) { in nfa_dm_disc_sm_idle()
2049 if (p_data->nfc_discover.status == NFC_STATUS_OK) { in nfa_dm_disc_sm_w4_host_select()
2070 nfa_dm_disc_end_sleep_wakeup(NFC_STATUS_OK); in nfa_dm_disc_sm_w4_host_select()
[all …]
Dnfa_dm_main.cc416 if (nfc_status == NFC_STATUS_OK) { in nfa_dm_check_set_config()
/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc1029 if (status == NFC_STATUS_OK) nfa_hci_cb.param_in_use = index; in nfa_hciu_send_get_param_cmd()
1055 if (status == NFC_STATUS_OK) nfa_hci_cb.param_in_use = index; in nfa_hciu_send_set_param_cmd()
/system/nfc/src/nfa/ee/
Dnfa_ee_act.cc775 NFC_NfceeDiscover(true) == NFC_STATUS_OK) { in nfa_ee_api_discover()
898 if (mode_set.status != NFC_STATUS_OK) { in nfa_ee_api_mode_set()
1789 if (p_evt->status != NFC_STATUS_OK) { in nfa_ee_nci_disc_rsp()
1818 if (p_evt->status != NFC_STATUS_OK) { in nfa_ee_nci_disc_rsp()
1825 if (p_evt->status == NFC_STATUS_OK) { in nfa_ee_nci_disc_rsp()
2291 if (p_conn->conn_create.status == NFC_STATUS_OK) { in nfa_ee_nci_conn()
/system/nfc/src/nfa/p2p/
Dnfa_p2p_main.cc108 if (p_data->status == NFC_STATUS_OK) { in nfa_p2p_discovery_cback()
/system/nfc/src/nfc/include/
Dnfc_api.h38 #define NFC_STATUS_OK NCI_STATUS_OK macro

12