Home
last modified time | relevance | path

Searched refs:p_clreg (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_act.cc66 static void bta_gattc_deregister_cmpl(tBTA_GATTC_RCB* p_clreg);
80 tBTA_GATTC_RCB* p_clreg);
225 void bta_gattc_deregister(tBTA_GATTC_RCB* p_clreg) { in bta_gattc_deregister() argument
236 if (bta_gattc_cb.bg_track[i].cif_mask & ((tBTA_GATTC_CIF_MASK)1 << (p_clreg->client_if - 1))) { in bta_gattc_deregister()
237 bta_gattc_mark_bg_conn(p_clreg->client_if, in bta_gattc_deregister()
239 if (!GATT_CancelConnect(p_clreg->client_if, in bta_gattc_deregister()
244 p_clreg->client_if, bta_gattc_cb.bg_track[i].remote_bda, false); in bta_gattc_deregister()
249 if (p_clreg->num_clcb == 0) { in bta_gattc_deregister()
250 bta_gattc_deregister_cmpl(p_clreg); in bta_gattc_deregister()
256 if (!bta_gattc_cb.clcb[i].in_use || (bta_gattc_cb.clcb[i].p_rcb != p_clreg)) in bta_gattc_deregister()
[all …]
Dbta_gattc_api.cc98 tBTA_GATTC_RCB* p_clreg = bta_gattc_cl_get_regcb(client_if); in app_deregister_impl() local
100 if (p_clreg != nullptr) { in app_deregister_impl()
101 bta_gattc_deregister(p_clreg); in app_deregister_impl()
673 tBTA_GATTC_RCB* p_clreg; in BTA_GATTC_RegisterForNotifications() local
682 p_clreg = bta_gattc_cl_get_regcb(client_if); in BTA_GATTC_RegisterForNotifications()
683 if (p_clreg != NULL) { in BTA_GATTC_RegisterForNotifications()
685 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications()
686 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_RegisterForNotifications()
687 p_clreg->notif_reg[i].handle == handle) { in BTA_GATTC_RegisterForNotifications()
695 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications()
[all …]
Dbta_gattc_utils.cc479 bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg, in bta_gattc_check_notif_registry() argument
485 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
486 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry()
487 p_clreg->notif_reg[i].handle == p_notify->handle && in bta_gattc_check_notif_registry()
488 !p_clreg->notif_reg[i].app_disconnected) { in bta_gattc_check_notif_registry()
632 void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg, tGATT_STATUS status, in bta_gattc_send_open_cback() argument
637 if (p_clreg->p_cback) { in bta_gattc_send_open_cback()
641 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback()
647 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
Dbta_gattc_int.h372 void bta_gattc_deregister(tBTA_GATTC_RCB* p_clreg);
418 void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg, tGATT_STATUS status,
462 bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg,