Home
last modified time | relevance | path

Searched refs:p_clrcb (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/gatt/
Dbta_gattc_utils.cc49 tBTA_GATTC_RCB* p_clrcb = &bta_gattc_cb.cl_rcb[0]; in bta_gattc_cl_get_regcb() local
51 for (i = 0; i < BTA_GATTC_CL_MAX; i++, p_clrcb++) { in bta_gattc_cl_get_regcb()
52 if (p_clrcb->in_use && p_clrcb->client_if == client_if) return p_clrcb; in bta_gattc_cl_get_regcb()
370 tBTA_GATTC_RCB* p_clrcb; in bta_gattc_clear_notif_registration() local
376 p_clrcb = bta_gattc_cl_get_regcb(gatt_if); in bta_gattc_clear_notif_registration()
377 if (p_clrcb != NULL) { in bta_gattc_clear_notif_registration()
379 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration()
380 p_clrcb->notif_reg[i].remote_bda == remote_bda) { in bta_gattc_clear_notif_registration()
384 handle = p_clrcb->notif_reg[i].handle; in bta_gattc_clear_notif_registration()
386 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration()
Dbta_gattc_act.cc1119 bool bta_gattc_process_srvc_chg_ind(uint16_t conn_id, tBTA_GATTC_RCB* p_clrcb, in bta_gattc_process_srvc_chg_ind() argument
1180 if (p_clrcb->p_cback) { in bta_gattc_process_srvc_chg_ind()
1183 (*p_clrcb->p_cback)(BTA_GATTC_SRVC_CHG_EVT, &bta_gattc); in bta_gattc_process_srvc_chg_ind()
1228 tBTA_GATTC_RCB* p_clrcb = bta_gattc_cl_get_regcb(gatt_if); in bta_gattc_process_indicate() local
1229 if (p_clrcb == NULL) { in bta_gattc_process_indicate()
1249 if (bta_gattc_process_srvc_chg_ind(conn_id, p_clrcb, p_srcb, p_clcb, &notify, in bta_gattc_process_indicate()
1254 if (bta_gattc_check_notif_registry(p_clrcb, p_srcb, &notify)) { in bta_gattc_process_indicate()