Searched refs:p_clreg (Results 1 – 5 of 5) sorted by relevance
/system/bt/bta/gatt/ |
D | bta_gattc_act.cc | 61 static void bta_gattc_deregister_cmpl(tBTA_GATTC_RCB* p_clreg); 235 void bta_gattc_deregister(tBTA_GATTC_RCB* p_clreg) { in bta_gattc_deregister() argument 239 if (p_clreg != NULL) { in bta_gattc_deregister() 244 (1 << (p_clreg->client_if - 1))) { in bta_gattc_deregister() 245 bta_gattc_mark_bg_conn(p_clreg->client_if, in bta_gattc_deregister() 247 GATT_CancelConnect(p_clreg->client_if, in bta_gattc_deregister() 253 if (p_clreg->num_clcb > 0) { in bta_gattc_deregister() 257 (bta_gattc_cb.clcb[i].p_rcb == p_clreg)) { in bta_gattc_deregister() 258 p_clreg->dereg_pending = true; in bta_gattc_deregister() 266 bta_gattc_deregister_cmpl(p_clreg); in bta_gattc_deregister() [all …]
|
D | bta_gattc_api.cc | 636 tBTA_GATTC_RCB* p_clreg; in BTA_GATTC_RegisterForNotifications() local 645 p_clreg = bta_gattc_cl_get_regcb(client_if); in BTA_GATTC_RegisterForNotifications() 646 if (p_clreg != NULL) { in BTA_GATTC_RegisterForNotifications() 648 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications() 649 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_RegisterForNotifications() 650 p_clreg->notif_reg[i].handle == handle) { in BTA_GATTC_RegisterForNotifications() 658 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications() 659 memset((void*)&p_clreg->notif_reg[i], 0, in BTA_GATTC_RegisterForNotifications() 662 p_clreg->notif_reg[i].in_use = true; in BTA_GATTC_RegisterForNotifications() 663 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); in BTA_GATTC_RegisterForNotifications() [all …]
|
D | bta_gattc_utils.cc | 414 bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg, in bta_gattc_check_notif_registry() argument 420 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry() 421 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 && in bta_gattc_check_notif_registry() 422 p_clreg->notif_reg[i].handle == p_notify->handle) { in bta_gattc_check_notif_registry() 577 void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg, tBTA_GATT_STATUS status, in bta_gattc_send_open_cback() argument 582 if (p_clreg->p_cback) { in bta_gattc_send_open_cback() 586 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback() 592 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
|
D | bta_gattc_main.cc | 364 tBTA_GATTC_RCB* p_clreg; in bta_gattc_hdl_event() local 380 p_clreg = bta_gattc_cl_get_regcb( in bta_gattc_hdl_event() 382 bta_gattc_deregister(p_clreg); in bta_gattc_hdl_event()
|
D | bta_gattc_int.h | 372 extern void bta_gattc_deregister(tBTA_GATTC_RCB* p_clreg); 419 tBTA_GATTC_RCB* p_clreg); 421 extern void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg, 453 extern bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg,
|