Searched refs:p_app_cb (Results 1 – 7 of 7) sorted by relevance
/system/nfc/src/nfc/llcp/ |
D | llcp_api.cc | 365 tLLCP_APP_CB* p_app_cb = { in LLCP_RegisterServer() local 386 p_app_cb = &llcp_cb.server_cb[sap]; in LLCP_RegisterServer() 407 p_app_cb = &llcp_cb.wks_cb[reg_sap]; in LLCP_RegisterServer() 418 p_app_cb = &llcp_cb.server_cb[reg_sap - LLCP_LOWER_BOUND_SDP_SAP]; in LLCP_RegisterServer() 426 memset(p_app_cb, 0x00, sizeof(tLLCP_APP_CB)); in LLCP_RegisterServer() 435 p_app_cb->p_service_name = (char*)GKI_getbuf((uint16_t)(length + 1)); in LLCP_RegisterServer() 436 if (p_app_cb->p_service_name == nullptr) { in LLCP_RegisterServer() 441 strlcpy(p_app_cb->p_service_name, p_service_name.c_str(), length + 1); in LLCP_RegisterServer() 442 p_app_cb->p_service_name[length] = 0; in LLCP_RegisterServer() 444 p_app_cb->p_service_name = nullptr; in LLCP_RegisterServer() [all …]
|
D | llcp_link.cc | 395 tLLCP_APP_CB* p_app_cb; in llcp_link_deactivate() local 405 p_app_cb = llcp_util_get_app_cb(local_sap); in llcp_link_deactivate() 407 if ((p_app_cb) && (p_app_cb->p_app_cback)) { in llcp_link_deactivate() 408 while (p_app_cb->ui_xmit_q.p_first) in llcp_link_deactivate() 409 GKI_freebuf(GKI_dequeue(&p_app_cb->ui_xmit_q)); in llcp_link_deactivate() 411 p_app_cb->is_ui_tx_congested = false; in llcp_link_deactivate() 413 while (p_app_cb->ui_rx_q.p_first) in llcp_link_deactivate() 414 GKI_freebuf(GKI_dequeue(&p_app_cb->ui_rx_q)); in llcp_link_deactivate() 577 tLLCP_APP_CB* p_app_cb; in llcp_link_update_status() local 586 p_app_cb = llcp_util_get_app_cb(sap); in llcp_link_update_status() [all …]
|
D | llcp_main.cc | 123 tLLCP_APP_CB* p_app_cb; in llcp_cleanup() local 128 p_app_cb = llcp_util_get_app_cb(sap); in llcp_cleanup() 130 if ((p_app_cb) && (p_app_cb->p_app_cback)) { in llcp_cleanup()
|
D | llcp_dlc.cc | 175 (*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 …]
|
D | llcp_sdp.cc | 295 tLLCP_APP_CB* p_app_cb; in llcp_sdp_get_sap_by_name() local 298 p_app_cb = llcp_util_get_app_cb(sap); in llcp_sdp_get_sap_by_name() 300 if ((p_app_cb) && (p_app_cb->p_app_cback) && in llcp_sdp_get_sap_by_name() 301 (strlen((char*)p_app_cb->p_service_name) == length) && in llcp_sdp_get_sap_by_name() 302 (!strncmp((char*)p_app_cb->p_service_name, p_name, length))) { in llcp_sdp_get_sap_by_name() 304 if (llcp_cb.p_dta_cback && (!strncmp((char*)p_app_cb->p_service_name, in llcp_sdp_get_sap_by_name()
|
D | llcp_util.cc | 277 tLLCP_APP_CB* p_app_cb, NFC_HDR* p_msg) { in llcp_util_send_ui() argument 287 GKI_enqueue(&p_app_cb->ui_xmit_q, p_msg); in llcp_util_send_ui() 292 if ((p_app_cb->is_ui_tx_congested) || in llcp_util_send_ui() 293 (p_app_cb->ui_xmit_q.count >= llcp_cb.ll_tx_congest_start) || in llcp_util_send_ui() 299 p_app_cb->is_ui_tx_congested = true; in llcp_util_send_ui() 303 p_app_cb->ui_xmit_q.count); in llcp_util_send_ui() 366 p_dlcb->p_app_cb = llcp_util_get_app_cb(reg_sap); in llcp_util_allocate_data_link() 871 tLLCP_APP_CB* p_app_cb = nullptr; in llcp_util_get_app_cb() local 875 p_app_cb = &llcp_cb.wks_cb[local_sap]; in llcp_util_get_app_cb() 879 p_app_cb = &llcp_cb.server_cb[local_sap - LLCP_LOWER_BOUND_SDP_SAP]; in llcp_util_get_app_cb() [all …]
|
/system/nfc/src/nfc/include/ |
D | llcp_int.h | 171 tLLCP_APP_CB* p_app_cb; /* pointer of application registration */ member 317 tLLCP_APP_CB* p_app_cb, NFC_HDR* p_msg);
|