Home
last modified time | relevance | path

Searched refs:p_app_name (Results 1 – 3 of 3) sorted by relevance

/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() argument
57 if (p_app_name == nullptr) { in NFA_HciRegister()
71 << StringPrintf("Application Name: %s", p_app_name); in NFA_HciRegister()
73 app_name_len = (uint8_t)strlen(p_app_name); in NFA_HciRegister()
77 (p_app_name != nullptr) && (app_name_len <= NFA_MAX_HCI_APP_NAME_LEN) && in NFA_HciRegister()
84 strncpy(p_msg->app_name, p_app_name, NFA_MAX_HCI_APP_NAME_LEN); in NFA_HciRegister()
153 tNFA_STATUS NFA_HciDeregister(char* p_app_name) { in NFA_HciDeregister() argument
158 if (p_app_name == nullptr) { in NFA_HciDeregister()
164 << StringPrintf("Application Name: %s", p_app_name); in NFA_HciDeregister()
165 app_name_len = (uint8_t)strlen(p_app_name); in NFA_HciDeregister()
[all …]
Dnfa_hci_act.cc231 char* p_app_name = p_evt_data->app_info.app_name; in nfa_hci_api_register() local
240 !strncmp(p_app_name, &nfa_hci_cb.cfg.reg_app_names[xx][0], in nfa_hci_api_register()
241 strlen(p_app_name))) { in nfa_hci_api_register()
243 "nfa_hci_api_register (%s) Reusing: %u", p_app_name, xx); in nfa_hci_api_register()
265 strncpy(&nfa_hci_cb.cfg.reg_app_names[xx][0], p_app_name, in nfa_hci_api_register()
269 "nfa_hci_api_register (%s) Allocated: %u", p_app_name, xx); in nfa_hci_api_register()
276 p_app_name); in nfa_hci_api_register()
/system/nfc/src/nfa/include/
Dnfa_hci_api.h312 extern tNFA_STATUS NFA_HciRegister(char* p_app_name, tNFA_HCI_CBACK* p_cback,
352 extern tNFA_STATUS NFA_HciDeregister(char* p_app_name);