Searched refs:p_clrcb (Results 1 – 2 of 2) sorted by relevance
/system/bt/bta/gatt/ |
D | bta_gattc_utils.cc | 49 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()
|
D | bta_gattc_act.cc | 1121 bool bta_gattc_process_srvc_chg_ind(uint16_t conn_id, tBTA_GATTC_RCB* p_clrcb, in bta_gattc_process_srvc_chg_ind() argument 1182 if (p_clrcb->p_cback) { in bta_gattc_process_srvc_chg_ind() 1185 (*p_clrcb->p_cback)(BTA_GATTC_SRVC_CHG_EVT, &bta_gattc); in bta_gattc_process_srvc_chg_ind() 1230 tBTA_GATTC_RCB* p_clrcb = bta_gattc_cl_get_regcb(gatt_if); in bta_gattc_process_indicate() local 1231 if (p_clrcb == NULL) { in bta_gattc_process_indicate() 1251 if (bta_gattc_process_srvc_chg_ind(conn_id, p_clrcb, p_srcb, p_clcb, ¬ify, in bta_gattc_process_indicate() 1256 if (bta_gattc_check_notif_registry(p_clrcb, p_srcb, ¬ify)) { in bta_gattc_process_indicate()
|