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.c129 tBTA_GATTC_RCB *p_clrcb = &bta_gattc_cb.cl_rcb[0]; in bta_gattc_cl_get_regcb() local
131 for (i = 0; i < BTA_GATTC_CL_MAX; i ++, p_clrcb ++) in bta_gattc_cl_get_regcb()
133 if (p_clrcb->in_use && in bta_gattc_cl_get_regcb()
134 p_clrcb->client_if == client_if) in bta_gattc_cl_get_regcb()
135 return p_clrcb; in bta_gattc_cl_get_regcb()
490 tBTA_GATTC_RCB *p_clrcb ; in bta_gattc_clear_notif_registration() local
496 if ((p_clrcb = bta_gattc_cl_get_regcb(gatt_if)) != NULL) { in bta_gattc_clear_notif_registration()
498 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration()
499 !bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda)) in bta_gattc_clear_notif_registration()
504 handle = p_clrcb->notif_reg[i].handle; in bta_gattc_clear_notif_registration()
[all …]
Dbta_gattc_act.c1671 tBTA_GATTC_RCB *p_clrcb, in bta_gattc_process_srvc_chg_ind() argument
1734 if (p_clrcb->p_cback != NULL) in bta_gattc_process_srvc_chg_ind()
1736 (* p_clrcb->p_cback)(BTA_GATTC_SRVC_CHG_EVT, (tBTA_GATTC *)p_srcb->server_bda); in bta_gattc_process_srvc_chg_ind()
1785 tBTA_GATTC_RCB *p_clrcb = NULL; in bta_gattc_process_indicate() local
1800 if ((p_clrcb = bta_gattc_cl_get_regcb(gatt_if)) == NULL) in bta_gattc_process_indicate()
1820 …if (!bta_gattc_process_srvc_chg_ind(conn_id, p_clrcb, p_srcb, p_clcb, &notify, &p_data->att_value)) in bta_gattc_process_indicate()
1823 if (bta_gattc_check_notif_registry(p_clrcb, p_srcb, &notify)) in bta_gattc_process_indicate()