Home
last modified time | relevance | path

Searched refs:p_app_cback (Results 1 – 9 of 9) sorted by relevance

/system/nfc/src/nfc/llcp/
Dllcp_api.cc362 tLLCP_APP_CBACK* p_app_cback) { in LLCP_RegisterServer() argument
373 if (!p_app_cback) { in LLCP_RegisterServer()
385 if (llcp_cb.server_cb[sap].p_app_cback == nullptr) { in LLCP_RegisterServer()
403 } else if (llcp_cb.wks_cb[reg_sap].p_app_cback) { in LLCP_RegisterServer()
414 .p_app_cback) { in LLCP_RegisterServer()
446 p_app_cb->p_app_cback = p_app_cback; in LLCP_RegisterServer()
477 uint8_t LLCP_RegisterClient(uint8_t link_type, tLLCP_APP_CBACK* p_app_cback) { in LLCP_RegisterClient() argument
485 if (!p_app_cback) { in LLCP_RegisterClient()
496 if (llcp_cb.client_cb[sap].p_app_cback == nullptr) { in LLCP_RegisterClient()
509 p_app_cb->p_app_cback = p_app_cback; in LLCP_RegisterClient()
[all …]
Dllcp_dlc.cc175 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_idle()
236 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_w4_remote_resp()
251 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_w4_remote_resp()
267 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_w4_remote_resp()
325 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_w4_local_resp()
355 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_w4_local_resp()
424 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_connected()
473 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_connected()
483 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_connected()
522 (*p_dlcb->p_app_cb->p_app_cback)(&data); in llcp_dlsm_w4_remote_dm()
[all …]
Dllcp_link.cc407 if ((p_app_cb) && (p_app_cb->p_app_cback)) { in llcp_link_deactivate()
588 if ((p_app_cb) && (p_app_cb->p_app_cback)) { in llcp_link_update_status()
590 p_app_cb->p_app_cback(&data); in llcp_link_update_status()
634 if ((p_app_cb) && (p_app_cb->p_app_cback) && in llcp_link_check_congestion()
645 p_app_cb->p_app_cback(&data); in llcp_link_check_congestion()
667 (*llcp_cb.dlcb[idx].p_app_cb->p_app_cback)(&data); in llcp_link_check_congestion()
724 if ((p_app_cb) && (p_app_cb->p_app_cback) && in llcp_link_check_uncongested()
736 p_app_cb->p_app_cback(&data); in llcp_link_check_uncongested()
750 if ((p_app_cb) && (p_app_cb->p_app_cback) && in llcp_link_check_uncongested()
785 (*llcp_cb.dlcb[idx].p_app_cb->p_app_cback)(&data); in llcp_link_check_uncongested()
[all …]
Dllcp_main.cc130 if ((p_app_cb) && (p_app_cb->p_app_cback)) { in llcp_cleanup()
Dllcp_sdp.cc300 if ((p_app_cb) && (p_app_cb->p_app_cback) && in llcp_sdp_get_sap_by_name()
/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc237 (nfa_hci_cb.p_app_cback[app_inx] == nullptr))) { in nfa_hciu_alloc_gate()
1076 if (nfa_hci_cb.p_app_cback[app_inx] != nullptr) { in nfa_hciu_send_to_app()
1077 nfa_hci_cb.p_app_cback[app_inx](event, p_evt); in nfa_hciu_send_to_app()
1102 if (nfa_hci_cb.p_app_cback[app_inx] != nullptr) in nfa_hciu_send_to_all_apps()
1103 nfa_hci_cb.p_app_cback[app_inx](event, p_evt); in nfa_hciu_send_to_all_apps()
1122 if ((nfa_hci_cb.p_app_cback[app_inx] != nullptr) && in nfa_hciu_send_to_apps_handling_connectivity_evts()
1125 nfa_hci_cb.p_app_cback[app_inx](event, p_evt); in nfa_hciu_send_to_apps_handling_connectivity_evts()
Dnfa_hci_act.cc286 nfa_hci_cb.p_app_cback[xx] = p_cback; in nfa_hci_api_register()
334 p_cback = nfa_hci_cb.p_app_cback[xx]; in nfa_hci_api_deregister()
338 p_cback = nfa_hci_cb.p_app_cback[nfa_hci_cb.app_in_use & NFA_HANDLE_MASK]; in nfa_hci_api_deregister()
351 nfa_hci_cb.p_app_cback[nfa_hci_cb.app_in_use & NFA_HANDLE_MASK] = nullptr; in nfa_hci_api_deregister()
369 nfa_hci_cb.p_app_cback[nfa_hci_cb.app_in_use & NFA_HANDLE_MASK] = nullptr; in nfa_hci_api_deregister()
580 (nfa_hci_cb.p_app_cback[app_inx] != nullptr))) { in nfa_hci_api_get_host_list()
/system/nfc/src/nfc/include/
Dllcp_int.h112 tLLCP_APP_CBACK* p_app_cback; /* application's callback pointer */ member
/system/nfc/src/nfa/include/
Dnfa_hci_int.h407 tNFA_HCI_CBACK* p_app_cback[NFA_HCI_MAX_APP_CB]; /* Callback functions member