Home
last modified time | relevance | path

Searched refs:tNFA_STATUS (Results 1 – 25 of 27) sorted by relevance

12

/system/nfc/src/nfa/include/
Dnfa_rw_api.h78 extern tNFA_STATUS NFA_RwDetectNDef(void);
108 extern tNFA_STATUS NFA_RwReadNDef(void);
131 extern tNFA_STATUS NFA_RwWriteNDef(uint8_t* p_data, uint32_t len);
149 extern tNFA_STATUS NFA_RwPresenceCheck(tNFA_RW_PRES_CHK_OPTION option);
166 extern tNFA_STATUS NFA_RwFormatTag(void);
207 extern tNFA_STATUS NFA_RwLocateTlv(uint8_t tlv_type);
226 extern tNFA_STATUS NFA_RwSetTagReadOnly(bool b_hard_lock);
245 extern tNFA_STATUS NFA_RwT1tRid(void);
264 extern tNFA_STATUS NFA_RwT1tReadAll(void);
283 extern tNFA_STATUS NFA_RwT1tRead(uint8_t block_number, uint8_t index);
[all …]
Dnfa_hci_api.h117 tNFA_STATUS status; /* Status of registration */
125 tNFA_STATUS status; /* Status of deregistration */
130 tNFA_STATUS status;
144 tNFA_STATUS status; /* Status of response to allocate gate request */
150 tNFA_STATUS status; /* Status of response to deallocate gate request */
156 tNFA_STATUS status; /* Status of creating dynamic pipe for the application */
169 tNFA_STATUS status; /* Status of open pipe operation */
175 tNFA_STATUS status; /* Status of close pipe operation */
181 tNFA_STATUS status; /* Status of delete pipe operation */
187 tNFA_STATUS status; /* Status og get host list operation */
[all …]
Dnfa_ee_api.h124 tNFA_STATUS status; /* NFA_STATUS_OK is successful */
131 tNFA_STATUS status; /* NFA_STATUS_OK is successful */
158 tNFA_STATUS status; /* NFA_STATUS_OK is successful */
187 tNFA_STATUS
192 tNFA_STATUS ee_register;
193 tNFA_STATUS deregister;
194 tNFA_STATUS add_aid;
195 tNFA_STATUS remove_aid;
196 tNFA_STATUS add_sc;
197 tNFA_STATUS remove_sc;
[all …]
Dnfa_api.h78 typedef uint8_t tNFA_STATUS; typedef
183 tNFA_STATUS status; /* NFA_STATUS_OK if successful */
190 tNFA_STATUS status; /* NFA_STATUS_OK if successful */
222 tNFA_STATUS status; /* NFA_STATUS_OK if successful */
232 tNFA_STATUS status; /* NFA_STATUS_OK if successful */
238 tNFA_STATUS status; /* NFA_STATUS_OK if successful */
244 tNFA_STATUS status; /* NFA_DM_ENABLE_EVT */
344 tNFA_STATUS status; /* NFA_STATUS_OK if successful */
393 tNFA_STATUS status; /* Status of the ndef detecton */
404 tNFA_STATUS status; /* Status of the tlv detecton */
[all …]
Dnfa_p2p_api.h203 extern tNFA_STATUS NFA_P2pRegisterServer(uint8_t server_sap,
224 extern tNFA_STATUS NFA_P2pRegisterClient(tNFA_P2P_LINK_TYPE link_type,
244 extern tNFA_STATUS NFA_P2pDeregister(tNFA_HANDLE handle);
259 extern tNFA_STATUS NFA_P2pAcceptConn(tNFA_HANDLE conn_handle, uint16_t miu,
275 extern tNFA_STATUS NFA_P2pRejectConn(tNFA_HANDLE conn_handle);
295 extern tNFA_STATUS NFA_P2pDisconnect(tNFA_HANDLE conn_handle, bool flush);
311 extern tNFA_STATUS NFA_P2pConnectByName(tNFA_HANDLE client_handle,
329 extern tNFA_STATUS NFA_P2pConnectBySap(tNFA_HANDLE client_handle, uint8_t dsap,
347 extern tNFA_STATUS NFA_P2pSendUI(tNFA_HANDLE handle, uint8_t dsap,
369 extern tNFA_STATUS NFA_P2pReadUI(tNFA_HANDLE handle, uint32_t max_data_len,
[all …]
Dnfa_ce_api.h78 extern tNFA_STATUS NFA_CeConfigureLocalTag(tNFA_PROTOCOL_MASK protocol_mask,
110 extern tNFA_STATUS NFA_CeConfigureUiccListenTech(
131 extern tNFA_STATUS NFA_CeRegisterFelicaSystemCodeOnDH(
155 extern tNFA_STATUS NFA_CeDeregisterFelicaSystemCodeOnDH(tNFA_HANDLE handle);
179 extern tNFA_STATUS NFA_CeRegisterAidOnDH(uint8_t aid[NFC_MAX_AID_LEN],
202 extern tNFA_STATUS NFA_CeDeregisterAidOnDH(tNFA_HANDLE handle);
230 extern tNFA_STATUS NFA_CeSetIsoDepListenTech(tNFA_TECHNOLOGY_MASK tech_mask);
Dnfa_hci_int.h165 tNFA_STATUS status;
190 tNFA_STATUS status;
200 tNFA_STATUS status;
208 tNFA_STATUS status;
216 tNFA_STATUS status;
224 tNFA_STATUS status;
258 tNFA_STATUS status;
264 tNFA_STATUS status;
443 extern void nfa_hci_startup_complete(tNFA_STATUS status);
508 extern tNFA_STATUS nfa_hciu_send_close_pipe_cmd(uint8_t pipe);
[all …]
Dnfa_dm_int.h555 void nfa_dm_ndef_handle_message(tNFA_STATUS status, uint8_t* p_msg_buf,
559 void nfa_dm_notify_activation_status(tNFA_STATUS status,
570 tNFA_STATUS nfa_rw_send_raw_frame(NFC_HDR* p_data);
647 tNFA_STATUS nfa_dm_check_set_config(uint8_t tlv_list_len, uint8_t* p_tlv_list,
669 tNFA_STATUS nfa_dm_rf_deactivate(tNFA_DEACTIVATE_TYPE deactivate_type);
Dnfa_snep_api.h75 tNFA_STATUS status;
Dnfa_ce_int.h210 tNFA_STATUS nfa_ce_start_listening(void);
/system/nfc/src/nfa/ee/
Dnfa_ee_api.cc54 tNFA_STATUS NFA_EeDiscover(tNFA_EE_CBACK* p_cback) { in NFA_EeDiscover()
56 tNFA_STATUS status = NFA_STATUS_FAILED; in NFA_EeDiscover()
95 tNFA_STATUS NFA_EeGetInfo(uint8_t* p_num_nfcee, tNFA_EE_INFO* p_info) { in NFA_EeGetInfo()
153 tNFA_STATUS NFA_EeRegister(tNFA_EE_CBACK* p_cback) { in NFA_EeRegister()
155 tNFA_STATUS status = NFA_STATUS_FAILED; in NFA_EeRegister()
188 tNFA_STATUS NFA_EeDeregister(tNFA_EE_CBACK* p_cback) { in NFA_EeDeregister()
190 tNFA_STATUS status = NFA_STATUS_INVALID_PARAM; in NFA_EeDeregister()
233 tNFA_STATUS NFA_EeModeSet(tNFA_HANDLE ee_handle, tNFA_EE_MD mode) { in NFA_EeModeSet()
235 tNFA_STATUS status = NFA_STATUS_FAILED; in NFA_EeModeSet()
291 tNFA_STATUS NFA_EeSetDefaultTechRouting( in NFA_EeSetDefaultTechRouting()
[all …]
/system/nfc/src/nfa/rw/
Dnfa_rw_api.cc67 tNFA_STATUS NFA_RwDetectNDef(void) { in NFA_RwDetectNDef()
112 tNFA_STATUS NFA_RwReadNDef(void) { in NFA_RwReadNDef()
151 tNFA_STATUS NFA_RwWriteNDef(uint8_t* p_data, uint32_t len) { in NFA_RwWriteNDef()
189 tNFA_STATUS NFA_RwPresenceCheck(tNFA_RW_PRES_CHK_OPTION option) { in NFA_RwPresenceCheck()
222 tNFA_STATUS NFA_RwFormatTag(void) { in NFA_RwFormatTag()
257 tNFA_STATUS NFA_RwSetTagReadOnly(bool b_hard_lock) { in NFA_RwSetTagReadOnly()
335 tNFA_STATUS NFA_RwLocateTlv(uint8_t tlv_type) { in NFA_RwLocateTlv()
377 tNFA_STATUS NFA_RwT1tRid(void) { in NFA_RwT1tRid()
408 tNFA_STATUS NFA_RwT1tReadAll(void) { in NFA_RwT1tReadAll()
439 tNFA_STATUS NFA_RwT1tRead(uint8_t block_number, uint8_t index) { in NFA_RwT1tRead()
[all …]
Dnfa_rw_main.cc150 tNFA_STATUS nfa_rw_send_raw_frame(NFC_HDR* p_data) { in nfa_rw_send_raw_frame()
/system/nfc/src/nfa/dm/
Dnfa_dm_api.cc98 tNFA_STATUS NFA_Enable(tNFA_DM_CBACK* p_dm_cback, in NFA_Enable()
144 tNFA_STATUS NFA_Disable(bool graceful) { in NFA_Disable()
186 tNFA_STATUS NFA_SetPowerSubStateForScreenState(uint8_t screenState) { in NFA_SetPowerSubStateForScreenState()
242 tNFA_STATUS NFA_SetConfig(tNFA_PMID param_id, uint8_t length, uint8_t* p_data) { in NFA_SetConfig()
279 tNFA_STATUS NFA_GetConfig(uint8_t num_ids, tNFA_PMID* p_param_ids) { in NFA_GetConfig()
338 tNFA_STATUS NFA_RequestExclusiveRfControl(tNFA_TECHNOLOGY_MASK poll_mask, in NFA_RequestExclusiveRfControl()
383 tNFA_STATUS NFA_ReleaseExclusiveRfControl(void) { in NFA_ReleaseExclusiveRfControl()
440 tNFA_STATUS NFA_EnablePolling(tNFA_TECHNOLOGY_MASK poll_mask) { in NFA_EnablePolling()
474 tNFA_STATUS NFA_DisablePolling(void) { in NFA_DisablePolling()
514 tNFA_STATUS NFA_EnableListening(void) { in NFA_EnableListening()
[all …]
Dnfa_dm_discover.cc52 static tNFA_STATUS nfa_dm_set_rf_listen_mode_config(
59 static tNFA_STATUS nfa_dm_disc_notify_activation(tNFC_DISCOVER* p_data);
274 static tNFA_STATUS nfa_dm_set_rf_listen_mode_config( in nfa_dm_set_rf_listen_mode_config()
740 static void nfa_dm_disc_notify_started(tNFA_STATUS status) { in nfa_dm_disc_notify_started()
766 void nfa_dm_disc_conn_event_notify(uint8_t event, tNFA_STATUS status) { in nfa_dm_disc_conn_event_notify()
1183 static tNFA_STATUS nfa_dm_disc_notify_activation(tNFC_DISCOVER* p_data) { in nfa_dm_disc_notify_activation()
2033 tNFA_STATUS status; in nfa_dm_disc_sm_w4_host_select()
2745 tNFA_STATUS nfa_dm_rf_deactivate(tNFA_DEACTIVATE_TYPE deactivate_type) { in nfa_dm_rf_deactivate()
Dnfa_dm_act.cc57 static tNFA_STATUS nfa_dm_start_polling(void);
904 tNFA_STATUS nfa_dm_start_polling(void) { in nfa_dm_start_polling()
905 tNFA_STATUS status; in nfa_dm_start_polling()
1704 void nfa_dm_notify_activation_status(tNFA_STATUS status, in nfa_dm_notify_activation_status()
Dnfa_dm_main.cc214 tNFA_STATUS nfa_dm_check_set_config(uint8_t tlv_list_len, uint8_t* p_tlv_list, in nfa_dm_check_set_config()
Dnfa_dm_ndef.cc369 void nfa_dm_ndef_handle_message(tNFA_STATUS status, uint8_t* p_msg_buf, in nfa_dm_ndef_handle_message()
/system/nfc/src/nfa/ce/
Dnfa_ce_api.cc49 tNFA_STATUS nfa_ce_api_deregister_listen(tNFA_HANDLE handle, in nfa_ce_api_deregister_listen()
119 tNFA_STATUS NFA_CeConfigureLocalTag(tNFA_PROTOCOL_MASK protocol_mask, in NFA_CeConfigureLocalTag()
200 tNFA_STATUS NFA_CeConfigureUiccListenTech(tNFA_HANDLE ee_handle, in NFA_CeConfigureUiccListenTech()
253 tNFA_STATUS NFA_CeRegisterFelicaSystemCodeOnDH(uint16_t system_code, in NFA_CeRegisterFelicaSystemCodeOnDH()
303 tNFA_STATUS NFA_CeDeregisterFelicaSystemCodeOnDH(tNFA_HANDLE handle) { in NFA_CeDeregisterFelicaSystemCodeOnDH()
330 tNFA_STATUS NFA_CeRegisterAidOnDH(uint8_t aid[NFC_MAX_AID_LEN], uint8_t aid_len, in NFA_CeRegisterAidOnDH()
376 tNFA_STATUS NFA_CeDeregisterAidOnDH(tNFA_HANDLE handle) { in NFA_CeDeregisterAidOnDH()
407 tNFA_STATUS NFA_CeSetIsoDepListenTech(tNFA_TECHNOLOGY_MASK tech_mask) { in NFA_CeSetIsoDepListenTech()
Dnfa_ce_act.cc426 tNFA_STATUS nfa_ce_start_listening(void) { in nfa_ce_start_listening()
692 tNFA_STATUS nfa_ce_realloc_scratch_buffer(void) { in nfa_ce_realloc_scratch_buffer()
693 tNFA_STATUS result = NFA_STATUS_OK; in nfa_ce_realloc_scratch_buffer()
/system/nfc/src/nfa/p2p/
Dnfa_p2p_api.cc63 tNFA_STATUS NFA_P2pRegisterServer(uint8_t server_sap, in NFA_P2pRegisterServer()
121 tNFA_STATUS NFA_P2pRegisterClient(tNFA_P2P_LINK_TYPE link_type, in NFA_P2pRegisterClient()
165 tNFA_STATUS NFA_P2pDeregister(tNFA_HANDLE handle) { in NFA_P2pDeregister()
205 tNFA_STATUS NFA_P2pAcceptConn(tNFA_HANDLE handle, uint16_t miu, uint8_t rw) { in NFA_P2pAcceptConn()
258 tNFA_STATUS NFA_P2pRejectConn(tNFA_HANDLE handle) { in NFA_P2pRejectConn()
310 tNFA_STATUS NFA_P2pDisconnect(tNFA_HANDLE handle, bool flush) { in NFA_P2pDisconnect()
360 tNFA_STATUS NFA_P2pConnectByName(tNFA_HANDLE client_handle, in NFA_P2pConnectByName()
418 tNFA_STATUS NFA_P2pConnectBySap(tNFA_HANDLE client_handle, uint8_t dsap, in NFA_P2pConnectBySap()
475 tNFA_STATUS NFA_P2pSendUI(tNFA_HANDLE handle, uint8_t dsap, uint16_t length, in NFA_P2pSendUI()
478 tNFA_STATUS ret_status = NFA_STATUS_FAILED; in NFA_P2pSendUI()
[all …]
/system/nfc/src/nfa/hci/
Dnfa_hci_api.cc52 tNFA_STATUS NFA_HciRegister(char* p_app_name, tNFA_HCI_CBACK* p_cback, in NFA_HciRegister()
111 tNFA_STATUS NFA_HciGetGateAndPipeList(tNFA_HANDLE hci_handle) { in NFA_HciGetGateAndPipeList()
153 tNFA_STATUS NFA_HciDeregister(char* p_app_name) { in NFA_HciDeregister()
215 tNFA_STATUS NFA_HciAllocGate(tNFA_HANDLE hci_handle, uint8_t gate) { in NFA_HciAllocGate()
262 tNFA_STATUS NFA_HciDeallocGate(tNFA_HANDLE hci_handle, uint8_t gate) { in NFA_HciDeallocGate()
309 tNFA_STATUS NFA_HciGetHostList(tNFA_HANDLE hci_handle) { in NFA_HciGetHostList()
355 tNFA_STATUS NFA_HciCreatePipe(tNFA_HANDLE hci_handle, uint8_t source_gate_id, in NFA_HciCreatePipe()
422 tNFA_STATUS NFA_HciOpenPipe(tNFA_HANDLE hci_handle, uint8_t pipe) { in NFA_HciOpenPipe()
472 tNFA_STATUS NFA_HciGetRegistry(tNFA_HANDLE hci_handle, uint8_t pipe, in NFA_HciGetRegistry()
522 tNFA_STATUS NFA_HciSendCommand(tNFA_HANDLE hci_handle, uint8_t pipe, in NFA_HciSendCommand()
[all …]
Dnfa_hci_utils.cc301 tNFA_STATUS nfa_hciu_send_msg(uint8_t pipe_id, uint8_t type, in nfa_hciu_send_msg()
308 tNFA_STATUS status = NFA_STATUS_OK; in nfa_hciu_send_msg()
901 tNFA_STATUS nfa_hciu_send_create_pipe_cmd(uint8_t source_gate, in nfa_hciu_send_create_pipe_cmd()
904 tNFA_STATUS status; in nfa_hciu_send_create_pipe_cmd()
931 tNFA_STATUS nfa_hciu_send_delete_pipe_cmd(uint8_t pipe) { in nfa_hciu_send_delete_pipe_cmd()
932 tNFA_STATUS status; in nfa_hciu_send_delete_pipe_cmd()
961 tNFA_STATUS nfa_hciu_send_clear_all_pipe_cmd(void) { in nfa_hciu_send_clear_all_pipe_cmd()
962 tNFA_STATUS status; in nfa_hciu_send_clear_all_pipe_cmd()
984 tNFA_STATUS nfa_hciu_send_open_pipe_cmd(uint8_t pipe) { in nfa_hciu_send_open_pipe_cmd()
985 tNFA_STATUS status; in nfa_hciu_send_open_pipe_cmd()
[all …]
Dnfa_hci_main.cc69 static void nfa_hci_handle_nv_read(uint8_t block, tNFA_STATUS status);
510 void nfa_hci_startup_complete(tNFA_STATUS status) { in nfa_hci_startup_complete()
582 tNFA_STATUS status = NFA_STATUS_FAILED; in nfa_hci_startup()
872 void nfa_hci_handle_nv_read(uint8_t block, tNFA_STATUS status) { in nfa_hci_handle_nv_read()
Dnfa_hci_act.cc696 tNFA_STATUS status = NFA_STATUS_FAILED; in nfa_hci_api_get_reg_value()
745 tNFA_STATUS status = NFA_STATUS_FAILED; in nfa_hci_api_set_reg_value()
860 tNFA_STATUS status = NFA_STATUS_FAILED; in nfa_hci_api_send_cmd()
916 tNFA_STATUS status = NFA_STATUS_FAILED; in nfa_hci_api_send_rsp()
966 tNFA_STATUS status = NFA_STATUS_FAILED; in nfa_hci_api_send_event()
1322 tNFA_STATUS status; in nfa_hci_handle_admin_gate_rsp()
1940 tNFA_STATUS status = NFA_STATUS_OK; in nfa_hci_handle_generic_gate_rsp()

12