/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() 301 &&( (p_data->data.status == NFC_STATUS_OK) in rw_t2t_conn_cback() 405 if ((status = NFC_SendData (NFC_RF_CONN_ID, p_data)) == NFC_STATUS_OK) in rw_t2t_send_cmd() 464 evt_data.status = NFC_STATUS_OK; in rw_t2t_process_timeout() 544 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_process_error() 662 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t2t_resume_op() 713 if ((status = NFC_SendData (NFC_RF_CONN_ID , p_data)) == NFC_STATUS_OK) in rw_t2t_sector_change() 758 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_t1t.c | 83 evt_data.status = NFC_STATUS_OK; in rw_t1t_data_cback() 258 &&(p_data->data.status == NFC_STATUS_OK) ) in rw_t1t_conn_cback() 352 if ((status = NFC_SendData (NFC_RF_CONN_ID, p_data)) == NFC_STATUS_OK) in rw_t1t_send_static_cmd() 421 if ((status = NFC_SendData (NFC_RF_CONN_ID, p_data)) == NFC_STATUS_OK) in rw_t1t_send_dyn_cmd() 451 evt_data.status = NFC_STATUS_OK; in rw_t1t_handle_rid_rsp() 515 return NFC_STATUS_OK; in rw_t1t_select() 607 if (NFC_SendData (NFC_RF_CONN_ID, p_cmd_buf) == NFC_STATUS_OK) in rw_t1t_process_error() 717 tNFC_STATUS retval = NFC_STATUS_OK; in RW_T1tPresenceCheck() 737 evt_data.status = NFC_STATUS_OK; in RW_T1tPresenceCheck() 743 if((retval = rw_t1t_send_static_cmd (T1T_CMD_RID, 0, 0))== NFC_STATUS_OK) in RW_T1tPresenceCheck() [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_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 | 95 if (NFC_SendData (NFC_RF_CONN_ID, p_c_apdu) != NFC_STATUS_OK) in rw_t4t_send_to_lower() 795 rw_data.ndef.status = NFC_STATUS_OK; in rw_t4t_sm_detect_ndef() 887 rw_data.data.status = NFC_STATUS_OK; in rw_t4t_sm_read_ndef() 993 rw_data.status = NFC_STATUS_OK; in rw_t4t_sm_update_ndef() 1104 rw_data.status = NFC_STATUS_OK; in rw_t4t_sm_set_readonly() 1239 rw_data.status = NFC_STATUS_OK; in rw_t4t_data_cback() 1292 return NFC_STATUS_OK; in rw_t4t_select() 1339 return NFC_STATUS_OK; in RW_T4tDetectNDef() 1381 return NFC_STATUS_OK; in RW_T4tReadNDef() 1450 return NFC_STATUS_OK; in RW_T4tUpdateNDef() [all …]
|
D | ce_t3t.c | 101 if (NFC_SendData (NFC_RF_CONN_ID, p_msg) != NFC_STATUS_OK) in ce_t3t_send_to_lower() 222 tNFC_STATUS nfc_status = NFC_STATUS_OK; in ce_t3t_handle_update_cmd() 350 if (nfc_status == NFC_STATUS_OK) in ce_t3t_handle_update_cmd() 861 if (p_data->data.status == NFC_STATUS_OK) in ce_t3t_conn_cback() 898 return NFC_STATUS_OK; in ce_select_t3t() 954 return (NFC_STATUS_OK); in CE_T3tSetLocalNDEFMsg() 983 return NFC_STATUS_OK; in CE_T3tSetLocalNDefParams() 998 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendCheckRsp() 1053 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 | 278 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() 340 if (p_rw_data->tlv.status == NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 353 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 369 if (p_rw_data->tlv.status != NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 382 if (nfa_rw_config_tag_ro(nfa_rw_cb.b_hard_lock) != NFC_STATUS_OK) in nfa_rw_handle_tlv_detect() 412 if (status == NFC_STATUS_OK) in nfa_rw_handle_sleep_wakeup_rsp() 422 if ((RW_SetActivatedTagType (&activate_params, nfa_rw_cback)) != NFC_STATUS_OK) in nfa_rw_handle_sleep_wakeup_rsp() 446 if ((status != NFC_STATUS_OK) && (nfa_rw_cb.halt_event == RW_T2T_NDEF_DETECT_EVT)) in nfa_rw_handle_sleep_wakeup_rsp() 453 if ((nfa_rw_cb.flags & NFA_RW_FL_NOT_EXCL_RF_MODE) && (status != NFC_STATUS_OK)) in nfa_rw_handle_sleep_wakeup_rsp() 510 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() 1108 if (status != NFC_STATUS_OK) in NFC_SendData() 1134 status = NFC_STATUS_OK; in NFC_FlushData() 1162 tNFC_STATUS status = NFC_STATUS_OK; in NFC_Deactivate() 1181 return NFC_STATUS_OK; in NFC_Deactivate() 1285 return NFC_STATUS_OK; in NFC_SetPowerOffSleep() 1294 return NFC_STATUS_OK; in NFC_SetPowerOffSleep() 1320 return NFC_STATUS_OK; in NFC_PowerCycleNFCC() 1364 case NFC_STATUS_OK: in NFC_GetStatusName()
|
D | nfc_test.c | 64 if (status != NFC_STATUS_OK) in NFC_TestLoopback()
|
D | nfc_ncif.c | 493 evt_data.set_config.num_param_id = NFC_STATUS_OK; in nfc_ncif_set_config_status() 494 if (evt_data.set_config.status != NFC_STATUS_OK) in nfc_ncif_set_config_status() 557 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 | 198 if (*pp != NFC_STATUS_OK) in nci_proc_rf_management_rsp() 241 nfc_ncif_proc_deactivate (NFC_STATUS_OK, *pp, TRUE); in nci_proc_rf_management_ntf() 317 if (nfcee_discover.status != NFC_STATUS_OK) in nci_proc_ee_management_rsp()
|
/external/libnfc-nci/src/nfa/dm/ |
D | nfa_dm_discover.c | 927 status = NFC_STATUS_OK; in nfa_dm_send_deactivate_cmd() 1181 nfa_dm_disc_report_kovio_presence_check (NFC_STATUS_OK); in nfa_dm_disc_handle_kovio_activation() 1528 if (status == NFC_STATUS_OK) in nfa_dm_disc_sleep_wakeup() 1632 deact.status = NFC_STATUS_OK; in nfa_dm_disc_kovio_timeout_cback() 1665 if (status == NFC_STATUS_OK) in nfa_dm_disc_start_kovio_presence_check() 1678 status = NFC_STATUS_OK; in nfa_dm_disc_start_kovio_presence_check() 1819 if (p_data->nfc_discover.status == NFC_STATUS_OK) in nfa_dm_disc_sm_idle() 1875 if (p_data->nfc_discover.status == NFC_STATUS_OK) in nfa_dm_disc_sm_idle() 2136 if (p_data->nfc_discover.status == NFC_STATUS_OK) in nfa_dm_disc_sm_w4_host_select() 2158 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() 1364 if (NFC_UpdateRFCommParams (&p_data->update_rf_params.params) != NFC_STATUS_OK) in nfa_dm_act_update_rf_params()
|
D | nfa_dm_main.c | 417 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() 1082 if (p_evt->status != NFC_STATUS_OK) in nfa_ee_nci_disc_rsp() 1115 if (p_evt->status != NFC_STATUS_OK) in nfa_ee_nci_disc_rsp() 1123 if (p_evt->status == NFC_STATUS_OK) in nfa_ee_nci_disc_rsp() 1590 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 | 36 #define NFC_STATUS_OK NCI_STATUS_OK /* Command succeeded */ macro
|