/external/libnfc-nci/src/nfc/tags/ |
D | rw_i93.c | 285 … if (rw_i93_send_cmd_get_sys_info (NULL, I93_FLAG_PROT_EXT_YES) == NFC_STATUS_OK) in rw_i93_process_sys_info() 327 &&(rw_i93_send_cmd_get_sys_info (NULL, I93_FLAG_PROT_EXT_YES) == NFC_STATUS_OK) ) in rw_i93_check_sys_info_prot_ext() 388 rw_data.i93_inventory.status = NFC_STATUS_OK; in rw_i93_send_to_upper() 414 rw_data.i93_data.status = NFC_STATUS_OK; in rw_i93_send_to_upper() 441 rw_data.i93_cmd_cmpl.status = NFC_STATUS_OK; in rw_i93_send_to_upper() 452 rw_data.i93_sys_info.status = NFC_STATUS_OK; in rw_i93_send_to_upper() 516 if (NFC_SendData (NFC_RF_CONN_ID, p_msg) != NFC_STATUS_OK) in rw_i93_send_to_lower() 589 return NFC_STATUS_OK; in rw_i93_send_cmd_inventory() 641 return NFC_STATUS_OK; in rw_i93_send_cmd_stay_quiet() 707 return NFC_STATUS_OK; in rw_i93_send_cmd_read_single_block() [all …]
|
D | rw_t2t.c | 133 if (rw_t2t_sector_change (p_t2t->select_sector) == NFC_STATUS_OK) in rw_t2t_proc_data() 176 evt_data.status = NFC_STATUS_OK; in rw_t2t_proc_data() 184 rw_t2t_handle_presence_check_rsp (NFC_STATUS_OK); in rw_t2t_proc_data() 302 if ( (p_data->data.status == NFC_STATUS_OK) in rw_t2t_conn_cback() 413 if ((status = NFC_SendData (NFC_RF_CONN_ID, p_data)) == NFC_STATUS_OK) in rw_t2t_send_cmd() 472 evt_data.status = NFC_STATUS_OK; in rw_t2t_process_timeout() 552 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_process_error() 670 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_resume_op() 721 if ((status = NFC_SendData (NFC_RF_CONN_ID , p_data)) == NFC_STATUS_OK) in rw_t2t_sector_change() 766 if ((status = rw_t2t_send_cmd (T2T_CMD_SEC_SEL,sector_byte2)) == NFC_STATUS_OK) in rw_t2t_read() [all …]
|
D | rw_t3t.c | 256 if (rw_t3t_send_to_lower (p_cmd_buf) == NFC_STATUS_OK) in rw_t3t_process_error() 400 evt_data.t3t_sc.status = NFC_STATUS_OK; in rw_t3t_handle_get_system_codes_cplt() 434 if (status == NFC_STATUS_OK) in rw_t3t_format_cplt() 649 if ((retval = rw_t3t_send_to_lower (p_cmd_buf)) == NFC_STATUS_OK) in rw_t3t_send_cmd() 675 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_ndef_attribute_cmd() 765 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_next_ndef_update_cmd() 913 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_next_ndef_check_cmd() 1101 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_check_cmd() 1137 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_cmd() 1226 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_raw_frame() [all …]
|
D | rw_t2t_ndef.c | 243 if (rw_t2t_read ((UINT16) T2T_FIRST_DATA_BLOCK) != NFC_STATUS_OK) in rw_t2t_handle_cc_read_rsp() 274 if (status == NFC_STATUS_OK) in rw_t2t_ntf_tlv_detect_complete() 291 if (status == NFC_STATUS_OK) in rw_t2t_ntf_tlv_detect_complete() 387 if (NFC_STATUS_OK != rw_t2t_read ((UINT16) block)) in rw_t2t_handle_lock_read_rsp() 399 if (NFC_STATUS_OK != rw_t2t_read ((UINT16) (lock_offset / T2T_BLOCK_LEN))) in rw_t2t_handle_lock_read_rsp() 413 rw_t2t_ntf_tlv_detect_complete (NFC_STATUS_OK); in rw_t2t_handle_lock_read_rsp() 770 …t2t_read ((UINT16) ((p_t2t->work_offset / T2T_BLOCK_LEN) + T2T_FIRST_DATA_BLOCK)) != NFC_STATUS_OK) in rw_t2t_handle_tlv_detect_rsp() 815 status = failed ? NFC_STATUS_FAILED : NFC_STATUS_OK; in rw_t2t_handle_tlv_detect_rsp() 865 if ((status = rw_t2t_read ((UINT16) block)) == NFC_STATUS_OK) in rw_t2t_read_locks() 881 status = NFC_STATUS_OK; in rw_t2t_read_locks() [all …]
|
D | rw_t1t.c | 83 evt_data.status = NFC_STATUS_OK; in rw_t1t_data_cback() 259 if (p_data->data.status == NFC_STATUS_OK) in rw_t1t_conn_cback() 360 if ((status = NFC_SendData (NFC_RF_CONN_ID, p_data)) == NFC_STATUS_OK) in rw_t1t_send_static_cmd() 429 if ((status = NFC_SendData (NFC_RF_CONN_ID, p_data)) == NFC_STATUS_OK) in rw_t1t_send_dyn_cmd() 459 evt_data.status = NFC_STATUS_OK; in rw_t1t_handle_rid_rsp() 523 return NFC_STATUS_OK; in rw_t1t_select() 615 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t1t_process_error() 725 tNFC_STATUS retval = NFC_STATUS_OK; in RW_T1tPresenceCheck() 745 evt_data.status = NFC_STATUS_OK; in RW_T1tPresenceCheck() 751 if((retval = rw_t1t_send_static_cmd (T1T_CMD_RID, 0, 0))== NFC_STATUS_OK) in RW_T1tPresenceCheck() [all …]
|
D | rw_t1t_ndef.c | 323 … if ((status = rw_t1t_send_dyn_cmd (T1T_CMD_READ8, p_t1t->block_read, NULL)) == NFC_STATUS_OK) in rw_t1t_read_locks() 343 status = NFC_STATUS_OK; in rw_t1t_read_locks() 362 tNFC_STATUS status = NFC_STATUS_OK; in rw_t1t_handle_write_rsp() 394 …cmd (T1T_CMD_WRITE_E, addr, p_t1t->ndef_first_block[(UINT8) p_t1t->work_offset])) != NFC_STATUS_OK) in rw_t1t_handle_write_rsp() 405 …if ((status = rw_t1t_send_dyn_cmd (T1T_CMD_WRITE_E8, 2, p_t1t->ndef_final_block)) != NFC_STATUS_OK) in rw_t1t_handle_write_rsp() 419 status = NFC_STATUS_OK; in rw_t1t_handle_write_rsp() 431 … ((status = rw_t1t_send_dyn_cmd (T1T_CMD_WRITE_NE8, T1T_LOCK_BLOCK, write_block)) != NFC_STATUS_OK) in rw_t1t_handle_write_rsp() 440 … if ((status = rw_t1t_send_static_cmd (T1T_CMD_WRITE_NE, addr, 0xFF)) != NFC_STATUS_OK) in rw_t1t_handle_write_rsp() 451 if ((status = rw_t1t_send_static_cmd (T1T_CMD_WRITE_NE, addr, 0xFF)) != NFC_STATUS_OK) in rw_t1t_handle_write_rsp() 498 …t_send_dyn_cmd (T1T_CMD_WRITE_NE8, (UINT8) (offset/T1T_BLOCK_SIZE), write_block)) == NFC_STATUS_OK) in rw_t1t_handle_write_rsp() [all …]
|
D | rw_t4t.c | 116 if (NFC_SendData (NFC_RF_CONN_ID, p_c_apdu) != NFC_STATUS_OK) in rw_t4t_send_to_lower() 1339 rw_data.ndef.status = NFC_STATUS_OK; in rw_t4t_sm_ndef_format() 1561 rw_data.ndef.status = NFC_STATUS_OK; in rw_t4t_sm_detect_ndef() 1653 rw_data.data.status = NFC_STATUS_OK; in rw_t4t_sm_read_ndef() 1759 rw_data.status = NFC_STATUS_OK; in rw_t4t_sm_update_ndef() 1870 rw_data.status = NFC_STATUS_OK; in rw_t4t_sm_set_readonly() 2017 rw_data.status = NFC_STATUS_OK; in rw_t4t_data_cback() 2076 return NFC_STATUS_OK; in RW_T4tFormatNDef() 2106 return NFC_STATUS_OK; in rw_t4t_select() 2153 return NFC_STATUS_OK; in RW_T4tDetectNDef() [all …]
|
D | ce_t3t.c | 112 if (NFC_SendData (NFC_RF_CONN_ID, p_msg) != NFC_STATUS_OK) in ce_t3t_send_to_lower() 233 tNFC_STATUS nfc_status = NFC_STATUS_OK; in ce_t3t_handle_update_cmd() 361 if (nfc_status == NFC_STATUS_OK) in ce_t3t_handle_update_cmd() 872 if (p_data->data.status == NFC_STATUS_OK) in ce_t3t_conn_cback() 909 return NFC_STATUS_OK; in ce_select_t3t() 965 return (NFC_STATUS_OK); in CE_T3tSetLocalNDEFMsg() 994 return NFC_STATUS_OK; in CE_T3tSetLocalNDefParams() 1009 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendCheckRsp() 1064 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendUpdateRsp()
|
D | ce_t4t.c | 59 if (NFC_SendData (NFC_RF_CONN_ID, p_r_apdu) != NFC_STATUS_OK) in ce_t4t_send_to_lower() 302 ce_data.update_info.status = NFC_STATUS_OK; in ce_t4t_update_binary() 480 ce_data.raw_frame.status = NFC_STATUS_OK; in ce_t4t_process_select_app_cmd() 519 ce_data.raw_frame.status = NFC_STATUS_OK; in ce_t4t_process_select_app_cmd() 836 return NFC_STATUS_OK; in ce_select_t4t() 877 return NFC_STATUS_OK; in CE_T4tSetLocalNDEFMsg() 929 return NFC_STATUS_OK; in CE_T4tSetLocalNDEFMsg() 1122 return NFC_STATUS_OK; in CE_T4TTestSetCC() 1196 return NFC_STATUS_OK; in CE_T4TTestSetNDEFCtrlTLV()
|
D | ce_main.c | 123 if (status != NFC_STATUS_OK) in CE_SetActivatedTagType()
|
D | rw_main.c | 282 if (status != NFC_STATUS_OK) in RW_SetActivatedTagType()
|
/external/libnfc-nci/src/nfa/rw/ |
D | nfa_rw_act.c | 203 if (p_rw_data->ndef.status == NFC_STATUS_OK) in nfa_rw_handle_ndef_detect() 341 if (p_rw_data->tlv.status == NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 354 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 370 if (p_rw_data->tlv.status != NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 383 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 413 if (status == NFC_STATUS_OK) in nfa_rw_handle_sleep_wakeup_rsp() 423 if ((RW_SetActivatedTagType (&activate_params, nfa_rw_cback)) != NFC_STATUS_OK) in nfa_rw_handle_sleep_wakeup_rsp() 447 if ((status != NFC_STATUS_OK) && (nfa_rw_cb.halt_event == RW_T2T_NDEF_DETECT_EVT)) in nfa_rw_handle_sleep_wakeup_rsp() 454 if ((nfa_rw_cb.flags & NFA_RW_FL_NOT_EXCL_RF_MODE) && (status != NFC_STATUS_OK)) in nfa_rw_handle_sleep_wakeup_rsp() 511 else if (status == NFC_STATUS_OK) in nfa_rw_handle_presence_check_rsp() [all …]
|
/external/libnfc-nci/src/nfc/nfc/ |
D | nfc_vs.c | 66 status = NFC_STATUS_OK; in NFC_RegVSCback() 79 status = NFC_STATUS_OK; in NFC_RegVSCback() 106 tNFC_STATUS status = NFC_STATUS_OK; in NFC_SendVsCommand()
|
D | nfc_main.c | 191 if (nfc_status != NFC_STATUS_OK) in nfc_main_notify_enable_status() 685 return (NFC_STATUS_OK); in NFC_Enable() 1114 if (status != NFC_STATUS_OK) in NFC_SendData() 1140 status = NFC_STATUS_OK; in NFC_FlushData() 1168 tNFC_STATUS status = NFC_STATUS_OK; in NFC_Deactivate() 1187 return NFC_STATUS_OK; in NFC_Deactivate() 1291 return NFC_STATUS_OK; in NFC_SetPowerOffSleep() 1300 return NFC_STATUS_OK; in NFC_SetPowerOffSleep() 1326 return NFC_STATUS_OK; in NFC_PowerCycleNFCC() 1370 case NFC_STATUS_OK: in NFC_GetStatusName()
|
D | nfc_test.c | 64 if (status != NFC_STATUS_OK) in NFC_TestLoopback()
|
D | nfc_ncif.c | 494 evt_data.set_config.num_param_id = NFC_STATUS_OK; in nfc_ncif_set_config_status() 495 if (evt_data.set_config.status != NFC_STATUS_OK) in nfc_ncif_set_config_status() 558 evt_data.status = (tNFC_STATUS) NFC_STATUS_OK; in nfc_ncif_proc_rf_field_ntf() 1033 evt_data.status = NFC_STATUS_OK; in nfc_ncif_proc_ee_action() 1113 ee_disc_req.status = NFC_STATUS_OK; in nfc_ncif_proc_ee_discover_req() 1162 status = NFC_STATUS_OK; in nfc_ncif_proc_get_routing() 1440 data_cevt.status = NFC_STATUS_OK; in nfc_data_event()
|
/external/libnfc-nci/src/nfc/nci/ |
D | nci_hrcv.c | 203 if (*pp != NFC_STATUS_OK) in nci_proc_rf_management_rsp() 250 nfc_ncif_proc_deactivate (NFC_STATUS_OK, *pp, TRUE); in nci_proc_rf_management_ntf() 330 if (nfcee_discover.status != NFC_STATUS_OK) in nci_proc_ee_management_rsp()
|
/external/libnfc-nci/src/nfa/dm/ |
D | nfa_dm_discover.c | 949 status = NFC_STATUS_OK; in nfa_dm_send_deactivate_cmd() 1230 nfa_dm_disc_report_kovio_presence_check (NFC_STATUS_OK); in nfa_dm_disc_handle_kovio_activation() 1577 if (status == NFC_STATUS_OK) in nfa_dm_disc_sleep_wakeup() 1681 deact.status = NFC_STATUS_OK; in nfa_dm_disc_kovio_timeout_cback() 1714 if (status == NFC_STATUS_OK) in nfa_dm_disc_start_kovio_presence_check() 1727 status = NFC_STATUS_OK; in nfa_dm_disc_start_kovio_presence_check() 1868 if (p_data->nfc_discover.status == NFC_STATUS_OK) in nfa_dm_disc_sm_idle() 1924 if (p_data->nfc_discover.status == NFC_STATUS_OK) in nfa_dm_disc_sm_idle() 2185 if (p_data->nfc_discover.status == NFC_STATUS_OK) in nfa_dm_disc_sm_w4_host_select() 2207 nfa_dm_disc_end_sleep_wakeup (NFC_STATUS_OK); in nfa_dm_disc_sm_w4_host_select() [all …]
|
D | nfa_dm_act.c | 271 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() 382 if (p_data->status == NFC_STATUS_OK) in nfa_dm_nfc_response_cback() 580 if (status != NFC_STATUS_OK) in nfa_dm_set_config() 843 if (NFC_RegVSCback(p_data->reg_vsc.is_register, p_data->reg_vsc.p_cback) != NFC_STATUS_OK) in nfa_dm_act_reg_vsc() 1193 if (status != NFC_STATUS_OK) in nfa_dm_act_send_raw_frame() 1377 if (NFC_UpdateRFCommParams (&p_data->update_rf_params.params) != NFC_STATUS_OK) in nfa_dm_act_update_rf_params()
|
D | nfa_dm_main.c | 424 if ((nfc_status = NFC_SetConfig (updated_len, p_tlv_list)) == NFC_STATUS_OK) in nfa_dm_check_set_config()
|
/external/libnfc-nci/src/nfa/ee/ |
D | nfa_ee_act.c | 404 if (nfa_ee_cb.p_ee_disc_cback == NULL && NFC_NfceeDiscover(TRUE) == NFC_STATUS_OK) in nfa_ee_api_discover() 1102 if (p_evt->status != NFC_STATUS_OK) in nfa_ee_nci_disc_rsp() 1135 if (p_evt->status != NFC_STATUS_OK) in nfa_ee_nci_disc_rsp() 1143 if (p_evt->status == NFC_STATUS_OK) in nfa_ee_nci_disc_rsp() 1610 if (p_conn->conn_create.status == NFC_STATUS_OK) in nfa_ee_nci_conn()
|
/external/libnfc-nci/src/nfa/hci/ |
D | nfa_hci_utils.c | 1055 …hciu_send_msg (pipe, NFA_HCI_COMMAND_TYPE, NFA_HCI_ANY_GET_PARAMETER, 1, &index)) == NFC_STATUS_OK) in nfa_hciu_send_get_param_cmd() 1079 …e, NFA_HCI_COMMAND_TYPE, NFA_HCI_ANY_SET_PARAMETER, (UINT16) (length + 1), data)) == NFC_STATUS_OK) in nfa_hciu_send_set_param_cmd()
|
D | nfa_hci_act.c | 366 evt_data.hci_deregister.status = NFC_STATUS_OK; in nfa_hci_api_deregister()
|
/external/libnfc-nci/src/nfa/p2p/ |
D | nfa_p2p_main.c | 117 if (p_data->status == NFC_STATUS_OK) in nfa_p2p_discovery_cback()
|
/external/libnfc-nci/src/nfc/include/ |
D | nfc_api.h | 38 #define NFC_STATUS_OK NCI_STATUS_OK /* Command succeeded */ macro
|