Searched refs:p_clreg (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/bta/gatt/ |
D | bta_gattc_act.cc | 60 static void bta_gattc_deregister_cmpl(tBTA_GATTC_RCB* p_clreg); 70 static void bta_gattc_init_bk_conn(const tBTA_GATTC_API_OPEN* p_data, tBTA_GATTC_RCB* p_clreg); 208 void bta_gattc_deregister(tBTA_GATTC_RCB* p_clreg) { in bta_gattc_deregister() argument 220 if (bta_gattc_cb.bg_track[i].cif_set.contains(p_clreg->client_if)) { in bta_gattc_deregister() 221 bta_gattc_mark_bg_conn(p_clreg->client_if, bta_gattc_cb.bg_track[i].remote_bda, false); in bta_gattc_deregister() 222 if (!GATT_CancelConnect(p_clreg->client_if, bta_gattc_cb.bg_track[i].remote_bda, false)) { in bta_gattc_deregister() 226 p_clreg->client_if, bta_gattc_cb.bg_track[i].remote_bda, false); in bta_gattc_deregister() 231 if (p_clreg->num_clcb == 0) { in bta_gattc_deregister() 232 bta_gattc_deregister_cmpl(p_clreg); in bta_gattc_deregister() 238 if (!p_clcb->in_use || p_clcb->p_rcb != p_clreg) { in bta_gattc_deregister() [all …]
|
D | bta_gattc_api.cc | 94 tBTA_GATTC_RCB* p_clreg = bta_gattc_cl_get_regcb(client_if); in app_deregister_impl() local 96 if (p_clreg != nullptr) { in app_deregister_impl() 97 bta_gattc_deregister(p_clreg); in app_deregister_impl() 639 tBTA_GATTC_RCB* p_clreg; in BTA_GATTC_RegisterForNotifications() local 648 p_clreg = bta_gattc_cl_get_regcb(client_if); in BTA_GATTC_RegisterForNotifications() 649 if (p_clreg != NULL) { in BTA_GATTC_RegisterForNotifications() 651 if (p_clreg->notif_reg[i].in_use && p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_RegisterForNotifications() 652 p_clreg->notif_reg[i].handle == handle) { in BTA_GATTC_RegisterForNotifications() 660 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications() 661 memset((void*)&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in BTA_GATTC_RegisterForNotifications() [all …]
|
D | bta_gattc_utils.cc | 489 bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg, tBTA_GATTC_SERV* p_srcb, in bta_gattc_check_notif_registry() argument 494 if (p_clreg->notif_reg[i].in_use && p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry() 495 p_clreg->notif_reg[i].handle == p_notify->handle && in bta_gattc_check_notif_registry() 496 !p_clreg->notif_reg[i].app_disconnected) { in bta_gattc_check_notif_registry() 633 void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg, tGATT_STATUS status, in bta_gattc_send_open_cback() argument 638 if (p_clreg->p_cback) { in bta_gattc_send_open_cback() 642 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback() 648 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
|
D | bta_gattc_int.h | 380 void bta_gattc_deregister(tBTA_GATTC_RCB* p_clreg); 414 void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg, tGATT_STATUS status, 453 bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg, tBTA_GATTC_SERV* p_srcb,
|