Home
last modified time | relevance | path

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

/aosp12/system/bt/bta/gatt/
H A Dbta_gattc_act.cc205 if (!p_clreg) { in bta_gattc_deregister()
228 if (p_clreg->num_clcb == 0) { in bta_gattc_deregister()
252 if (!p_clreg) { in bta_gattc_process_api_open()
300 tBTA_GATTC_RCB* p_clreg = in bta_gattc_process_api_open_cancel() local
303 if (p_clreg && p_clreg->p_cback) { in bta_gattc_process_api_open_cancel()
314 if (!p_clreg || !p_clreg->p_cback) return; in bta_gattc_process_enc_cmpl()
420 tBTA_GATTC_RCB* p_clreg; in bta_gattc_cancel_bk_conn() local
434 if (p_clreg && p_clreg->p_cback) { in bta_gattc_cancel_bk_conn()
583 if (p_clreg->num_clcb == 0 && p_clreg->dereg_pending) { in bta_gattc_close()
1419 if (!p_clreg || !p_clreg->p_cback) { in bta_gattc_phy_update_cback()
[all …]
H A Dbta_gattc_api.cc644 tBTA_GATTC_RCB* p_clreg; in BTA_GATTC_RegisterForNotifications() local
653 p_clreg = bta_gattc_cl_get_regcb(client_if); in BTA_GATTC_RegisterForNotifications()
654 if (p_clreg != NULL) { in BTA_GATTC_RegisterForNotifications()
656 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications()
666 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications()
670 p_clreg->notif_reg[i].in_use = true; in BTA_GATTC_RegisterForNotifications()
671 p_clreg->notif_reg[i].remote_bda = bda; in BTA_GATTC_RegisterForNotifications()
673 p_clreg->notif_reg[i].handle = handle; in BTA_GATTC_RegisterForNotifications()
713 if (p_clreg == NULL) { in BTA_GATTC_DeregisterForNotifications()
720 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_DeregisterForNotifications()
[all …]
H A Dbta_gattc_utils.cc345 bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg, in bta_gattc_check_notif_registry() argument
351 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
352 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry()
353 p_clreg->notif_reg[i].handle == p_notify->handle) { in bta_gattc_check_notif_registry()
498 void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg, tGATT_STATUS status, in bta_gattc_send_open_cback() argument
503 if (p_clreg->p_cback) { in bta_gattc_send_open_cback()
507 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback()
513 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
H A Dbta_gattc_int.h333 extern void bta_gattc_deregister(tBTA_GATTC_RCB* p_clreg);
392 tBTA_GATTC_RCB* p_clreg);
394 extern void bta_gattc_send_open_cback(tBTA_GATTC_RCB* p_clreg,
427 extern bool bta_gattc_check_notif_registry(tBTA_GATTC_RCB* p_clreg,