Home
last modified time | relevance | path

Searched refs:tNFC_STATUS (Results 1 – 25 of 39) sorted by relevance

12

/system/nfc/src/nfc/include/
Drw_api.h176 tNFC_STATUS status;
181 tNFC_STATUS status; /* Status of the POLL request */
190 tNFC_STATUS status; /* Status of the Get System Codes request */
196 tNFC_STATUS status; /* status of NDEF detection */
206 tNFC_STATUS status; /* status of NDEF detection */
213 tNFC_STATUS status;
218 tNFC_STATUS status;
225 tNFC_STATUS status; /* status of Inventory command */
232 tNFC_STATUS status; /* status of Read/Get security status command */
239 tNFC_STATUS status; /* status of Get Sys Info command */
[all …]
Dnfc_api.h110 typedef uint8_t tNFC_STATUS; typedef
221 tNFC_STATUS status; /* The event status. */
240 tNFC_STATUS status; /* The event status. */
247 tNFC_STATUS status; /* The event status. */
254 tNFC_STATUS status; /* The event status. */
287 tNFC_STATUS status; /* The event status - place holder */
302 tNFC_STATUS status; /* The event status.*/
319 tNFC_STATUS status; /* The event status */
329 tNFC_STATUS status; /* The event status */
338 tNFC_STATUS status; /* The event status */
[all …]
Dce_api.h52 tNFC_STATUS status;
59 tNFC_STATUS status;
65 tNFC_STATUS status;
88 extern tNFC_STATUS CE_T3tSetLocalNDEFMsg(bool read_only, uint32_t size_max,
102 extern tNFC_STATUS CE_T3tSetLocalNDefParams(uint8_t nbr, uint8_t nbw);
113 extern tNFC_STATUS CE_T3tSendCheckRsp(uint8_t status1, uint8_t status2,
126 extern tNFC_STATUS CE_T3tSendUpdateRsp(uint8_t status1, uint8_t status2);
149 extern tNFC_STATUS CE_T4tSetLocalNDEFMsg(bool read_only, uint16_t ndef_msg_max,
194 extern tNFC_STATUS CE_SendRawFrame(uint8_t* p_raw_data, uint16_t data_len);
205 extern tNFC_STATUS CE_SetActivatedTagType(tNFC_ACTIVATE_DEVT* p_activate_params,
Drw_int.h468 tNFC_STATUS status;
863 tNFC_STATUS* p_status);
871 extern tNFC_STATUS rw_t1t_select(uint8_t hr[T1T_HR_LEN],
873 extern tNFC_STATUS rw_t1t_send_dyn_cmd(uint8_t opcode, uint8_t add,
875 extern tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add,
888 extern tNFC_STATUS rw_t2t_sector_change(uint8_t sector);
889 extern tNFC_STATUS rw_t2t_read(uint16_t block);
890 extern tNFC_STATUS rw_t2t_write(uint16_t block, uint8_t* p_write_data);
892 extern tNFC_STATUS rw_t2t_select(void);
896 extern tNFC_STATUS rw_t3t_select(uint8_t peer_nfcid2[NCI_RF_F_UID_LEN],
[all …]
Dce_int.h161 tNFC_STATUS ce_select_t3t(uint16_t system_code,
165 extern tNFC_STATUS ce_select_t4t(void);
/system/nfc/src/nfc/nfc/
Dnfc_ee.cc53 tNFC_STATUS NFC_NfceeDiscover(bool discover) { in NFC_NfceeDiscover()
74 tNFC_STATUS NFC_NfceeModeSet(uint8_t nfcee_id, tNFC_NFCEE_MODE mode) { in NFC_NfceeModeSet()
75 tNFC_STATUS status = NCI_STATUS_OK; in NFC_NfceeModeSet()
113 tNFC_STATUS NFC_SetRouting(bool more, uint8_t num_tlv, uint8_t tlv_size, in NFC_SetRouting()
129 tNFC_STATUS NFC_GetRouting(void) { return nci_snd_get_routing_cmd(); } in NFC_GetRouting()
153 tNFC_STATUS NFC_NfceePLConfig(uint8_t nfcee_id, in NFC_NfceePLConfig()
Dnfc_vs.cc54 tNFC_STATUS NFC_RegVSCback(bool is_register, tNFC_VS_CBACK* p_cback) { in NFC_RegVSCback()
55 tNFC_STATUS status = NFC_STATUS_FAILED; in NFC_RegVSCback()
93 tNFC_STATUS NFC_SendRawVsCommand(NFC_HDR* p_data, tNFC_VS_CBACK* p_cback) { in NFC_SendRawVsCommand()
125 tNFC_STATUS NFC_SendVsCommand(uint8_t oid, NFC_HDR* p_data, in NFC_SendVsCommand()
127 tNFC_STATUS status = NFC_STATUS_OK; in NFC_SendVsCommand()
Dnfc_main.cc165 static void nfc_main_notify_enable_status(tNFC_STATUS nfc_status) { in nfc_main_notify_enable_status()
193 void nfc_enabled(tNFC_STATUS nfc_status, NFC_HDR* p_init_rsp_msg) { in nfc_enabled()
709 tNFC_STATUS NFC_Enable(tNFC_RESPONSE_CBACK* p_cback) { in NFC_Enable()
826 tNFC_STATUS NFC_SetConfig(uint8_t tlv_size, uint8_t* p_param_tlvs) { in NFC_SetConfig()
844 tNFC_STATUS NFC_GetConfig(uint8_t num_ids, uint8_t* p_param_ids) { in NFC_GetConfig()
863 tNFC_STATUS NFC_DiscoveryMap(uint8_t num, tNFC_DISCOVER_MAPS* p_maps, in NFC_DiscoveryMap()
927 tNFC_STATUS NFC_DiscoveryStart(uint8_t num_params, in NFC_DiscoveryStart()
932 tNFC_STATUS status = NFC_STATUS_NO_BUFFERS; in NFC_DiscoveryStart()
975 tNFC_STATUS NFC_DiscoverySelect(uint8_t rf_disc_id, uint8_t protocol, in NFC_DiscoverySelect()
995 tNFC_STATUS NFC_ConnCreate(uint8_t dest_type, uint8_t id, uint8_t protocol, in NFC_ConnCreate()
[all …]
Dnfc_test.cc52 tNFC_STATUS NFC_TestLoopback(NFC_HDR* p_data) { in NFC_TestLoopback()
53 tNFC_STATUS status = NFC_STATUS_FAILED; in NFC_TestLoopback()
/system/nfc/src/nfc/tags/
Drw_t1t.cc50 static void rw_t1t_handle_presence_check_rsp(tNFC_STATUS status);
283 evt_data.status = (tNFC_STATUS)(*(uint8_t*)p_data); in rw_t1t_conn_cback()
324 tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add, uint8_t dat) { in rw_t1t_send_static_cmd()
325 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t1t_send_static_cmd()
384 tNFC_STATUS rw_t1t_send_dyn_cmd(uint8_t opcode, uint8_t add, uint8_t* p_dat) { in rw_t1t_send_dyn_cmd()
385 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t1t_send_dyn_cmd()
492 tNFC_STATUS rw_t1t_select(uint8_t hr[T1T_HR_LEN], in rw_t1t_select()
494 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t1t_select()
660 void rw_t1t_handle_presence_check_rsp(tNFC_STATUS status) { in rw_t1t_handle_presence_check_rsp()
709 tNFC_STATUS RW_T1tPresenceCheck(void) { in RW_T1tPresenceCheck()
[all …]
Dce_main.cc62 tNFC_STATUS CE_SendRawFrame(uint8_t* p_raw_data, uint16_t data_len) { in CE_SendRawFrame()
63 tNFC_STATUS status = NFC_STATUS_FAILED; in CE_SendRawFrame()
98 tNFC_STATUS CE_SetActivatedTagType(tNFC_ACTIVATE_DEVT* p_activate_params, in CE_SetActivatedTagType()
101 tNFC_STATUS status = NFC_STATUS_FAILED; in CE_SetActivatedTagType()
Drw_t3t.cc135 static tNFC_STATUS rw_t3t_unselect();
137 static tNFC_STATUS rw_t3t_send_to_lower(NFC_HDR* p_msg);
240 void rw_t3t_process_error(tNFC_STATUS status) { in rw_t3t_process_error()
430 void rw_t3t_format_cplt(tNFC_STATUS status) { in rw_t3t_format_cplt()
462 void rw_t3t_set_readonly_cplt(tNFC_STATUS status) { in rw_t3t_set_readonly_cplt()
565 tNFC_STATUS rw_t3t_send_to_lower(NFC_HDR* p_msg) { in rw_t3t_send_to_lower()
614 tNFC_STATUS rw_t3t_send_cmd(tRW_T3T_CB* p_cb, uint8_t rw_t3t_cmd, in rw_t3t_send_cmd()
616 tNFC_STATUS retval; in rw_t3t_send_cmd()
653 tNFC_STATUS rw_t3t_send_update_ndef_attribute_cmd(tRW_T3T_CB* p_cb, in rw_t3t_send_update_ndef_attribute_cmd()
655 tNFC_STATUS retval = NFC_STATUS_OK; in rw_t3t_send_update_ndef_attribute_cmd()
[all …]
Drw_t2t.cc46 static tNFC_STATUS rw_t2t_send_cmd(uint8_t opcode, uint8_t* p_dat);
49 static void rw_t2t_handle_presence_check_rsp(tNFC_STATUS status);
303 evt_data.status = (tNFC_STATUS)(*(uint8_t*)p_data); in rw_t2t_conn_cback()
348 tNFC_STATUS rw_t2t_send_cmd(uint8_t opcode, uint8_t* p_dat) { in rw_t2t_send_cmd()
349 tNFC_STATUS status = NFC_STATUS_FAILED; in rw_t2t_send_cmd()
573 void rw_t2t_handle_presence_check_rsp(tNFC_STATUS status) { in rw_t2t_handle_presence_check_rsp()
651 tNFC_STATUS rw_t2t_sector_change(uint8_t sector) { in rw_t2t_sector_change()
652 tNFC_STATUS status; in rw_t2t_sector_change()
706 tNFC_STATUS rw_t2t_read(uint16_t block) { in rw_t2t_read()
707 tNFC_STATUS status; in rw_t2t_read()
[all …]
Drw_t1t_ndef.cc44 static tNFC_STATUS rw_t1t_handle_rall_rsp(bool* p_notify, uint8_t* p_data);
45 static tNFC_STATUS rw_t1t_handle_dyn_read_rsp(bool* p_notify, uint8_t* p_data);
46 static tNFC_STATUS rw_t1t_handle_write_rsp(bool* p_notify, uint8_t* p_data);
47 static tNFC_STATUS rw_t1t_handle_read_rsp(bool* p_callback, uint8_t* p_data);
48 static tNFC_STATUS rw_t1t_handle_tlv_detect_rsp(uint8_t* p_data);
49 static tNFC_STATUS rw_t1t_handle_ndef_read_rsp(uint8_t* p_data);
50 static tNFC_STATUS rw_t1t_handle_ndef_write_rsp(uint8_t* p_data);
51 static tNFC_STATUS rw_t1t_handle_ndef_rall_rsp(void);
52 static tNFC_STATUS rw_t1t_ndef_write_first_block(void);
53 static tNFC_STATUS rw_t1t_next_ndef_write_block(void);
[all …]
Drw_t2t_ndef.cc58 static tNFC_STATUS rw_t2t_read_locks(void);
59 static tNFC_STATUS rw_t2t_read_ndef_last_block(void);
64 static tNFC_STATUS rw_t2t_write_ndef_first_block(uint16_t msg_len,
66 static tNFC_STATUS rw_t2t_write_ndef_next_block(uint16_t block,
69 static tNFC_STATUS rw_t2t_read_ndef_next_block(uint16_t block);
70 static tNFC_STATUS rw_t2t_add_terminator_tlv(void);
73 static tNFC_STATUS rw_t2t_set_cc(uint8_t tms);
74 static tNFC_STATUS rw_t2t_set_lock_tlv(uint16_t addr, uint8_t num_dyn_lock_bits,
76 static tNFC_STATUS rw_t2t_format_tag(void);
77 static tNFC_STATUS rw_t2t_soft_lock_tag(void);
[all …]
Drw_i93.cc59 void rw_i93_handle_error(tNFC_STATUS status);
60 tNFC_STATUS rw_i93_send_cmd_get_sys_info(uint8_t* p_uid, uint8_t extra_flag);
61 tNFC_STATUS rw_i93_send_cmd_get_ext_sys_info(uint8_t* p_uid);
693 tNFC_STATUS rw_i93_send_cmd_inventory(uint8_t* p_uid, bool including_afi, in rw_i93_send_cmd_inventory()
755 tNFC_STATUS rw_i93_send_cmd_stay_quiet(uint8_t* p_uid) { in rw_i93_send_cmd_stay_quiet()
806 tNFC_STATUS rw_i93_send_cmd_read_single_block(uint16_t block_number, in rw_i93_send_cmd_read_single_block()
884 tNFC_STATUS rw_i93_send_cmd_write_single_block(uint16_t block_number, in rw_i93_send_cmd_write_single_block()
980 tNFC_STATUS rw_i93_send_cmd_lock_block(uint16_t block_number) { in rw_i93_send_cmd_lock_block()
1066 tNFC_STATUS rw_i93_send_cmd_read_multi_blocks(uint16_t first_block_number, in rw_i93_send_cmd_read_multi_blocks()
1153 tNFC_STATUS rw_i93_send_cmd_write_multi_blocks(uint16_t first_block_number, in rw_i93_send_cmd_write_multi_blocks()
[all …]
Drw_mfc.cc92 static tNFC_STATUS rw_mfc_readBlock(int block);
94 static tNFC_STATUS rw_MfcLocateTlv(uint8_t tlv_type);
99 static void rw_mfc_ntf_tlv_detect_complete(tNFC_STATUS status);
105 static tNFC_STATUS rw_mfc_formatBlock(int block);
108 static tNFC_STATUS rw_mfc_writeBlock(int block);
128 tNFC_STATUS RW_MfcFormatNDef(void) { in RW_MfcFormatNDef()
130 tNFC_STATUS status = NFC_STATUS_OK; in RW_MfcFormatNDef()
163 static tNFC_STATUS rw_mfc_formatBlock(int block) { in rw_mfc_formatBlock()
168 tNFC_STATUS status = NFC_STATUS_OK; in rw_mfc_formatBlock()
322 tNFC_STATUS RW_MfcWriteNDef(uint16_t buf_len, uint8_t* p_buffer) { in RW_MfcWriteNDef()
[all …]
Drw_main.cc172 tNFC_STATUS RW_SendRawFrame(uint8_t* p_raw_data, uint16_t data_len) { in RW_SendRawFrame()
173 tNFC_STATUS status = NFC_STATUS_FAILED; in RW_SendRawFrame()
208 tNFC_STATUS RW_SetActivatedTagType(tNFC_ACTIVATE_DEVT* p_activate_params, in RW_SetActivatedTagType()
210 tNFC_STATUS status = NFC_STATUS_FAILED; in RW_SetActivatedTagType()
Dce_t3t.cc208 tNFC_STATUS nfc_status = NFC_STATUS_OK; in ce_t3t_handle_update_cmd()
841 tNFC_STATUS ce_select_t3t(uint16_t system_code, in ce_select_t3t()
864 tNFC_STATUS CE_T3tSetLocalNDEFMsg(bool read_only, uint32_t size_max, in CE_T3tSetLocalNDEFMsg()
919 tNFC_STATUS CE_T3tSetLocalNDefParams(uint8_t nbr, uint8_t nbw) { in CE_T3tSetLocalNDefParams()
947 tNFC_STATUS CE_T3tSendCheckRsp(uint8_t status1, uint8_t status2, in CE_T3tSendCheckRsp()
950 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendCheckRsp()
1004 tNFC_STATUS CE_T3tSendUpdateRsp(uint8_t status1, uint8_t status2) { in CE_T3tSendUpdateRsp()
1005 tNFC_STATUS retval = NFC_STATUS_OK; in CE_T3tSendUpdateRsp()
/system/nfc/src/fuzzers/llcp/
Dstubs.cc11 tNFC_STATUS NFC_SendData(uint8_t conn_id, NFC_HDR* p_data) { in NFC_SendData()
20 tNFC_STATUS NFC_FlushData(uint8_t) { return NFC_STATUS_OK; } in NFC_FlushData()
55 tNFC_STATUS NFC_ISODEPNakPresCheck() { return NFC_STATUS_OK; }
57 std::string NFC_GetStatusName(tNFC_STATUS status) {
/system/nfc/src/fuzzers/ndef/
Dstubs.cc9 tNFC_STATUS NFC_DiscoveryMap(uint8_t, tNFC_DISCOVER_MAPS*, in NFC_DiscoveryMap()
18 tNFC_STATUS NFC_Enable(tNFC_RESPONSE_CBACK*) { return NFC_STATUS_OK; } in NFC_Enable()
/system/nfc/src/fuzzers/ce/
Dstubs.cc30 tNFC_STATUS NFC_SendData(uint8_t conn_id, NFC_HDR* p_data) { in NFC_SendData()
47 tNFC_STATUS NFC_ISODEPNakPresCheck() { return NFC_STATUS_OK; } in NFC_ISODEPNakPresCheck()
49 std::string NFC_GetStatusName(tNFC_STATUS status) { in NFC_GetStatusName()
/system/nfc/src/fuzzers/rw/
Dstubs.cc27 tNFC_STATUS NFC_SendData(uint8_t conn_id, NFC_HDR* p_data) { in NFC_SendData()
44 tNFC_STATUS NFC_ISODEPNakPresCheck() { return NFC_STATUS_OK; } in NFC_ISODEPNakPresCheck()
46 std::string NFC_GetStatusName(tNFC_STATUS status) { in NFC_GetStatusName()
/system/nfc/src/nfa/include/
Dnfa_rw_int.h342 extern void nfa_rw_handle_sleep_wakeup_rsp(tNFC_STATUS status);
343 extern void nfa_rw_handle_presence_check_rsp(tNFC_STATUS status);
/system/nfc/src/nfa/rw/
Dnfa_rw_act.cc45 static tNFC_STATUS nfa_rw_start_ndef_read(void);
46 static tNFC_STATUS nfa_rw_start_ndef_write(void);
47 static tNFC_STATUS nfa_rw_start_ndef_detection(void);
48 static tNFC_STATUS nfa_rw_config_tag_ro(bool b_hard_lock);
387 void nfa_rw_handle_sleep_wakeup_rsp(tNFC_STATUS status) { in nfa_rw_handle_sleep_wakeup_rsp()
464 void nfa_rw_handle_presence_check_rsp(tNFC_STATUS status) { in nfa_rw_handle_presence_check_rsp()
1535 static tNFC_STATUS nfa_rw_start_ndef_detection(void) { in nfa_rw_start_ndef_detection()
1537 tNFC_STATUS status = NFC_STATUS_FAILED; in nfa_rw_start_ndef_detection()
1572 static tNFC_STATUS nfa_rw_start_ndef_read(void) { in nfa_rw_start_ndef_read()
1574 tNFC_STATUS status = NFC_STATUS_FAILED; in nfa_rw_start_ndef_read()
[all …]

12