Home
last modified time | relevance | path

Searched refs:srvc_cb (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/gatt/
Dbta_gatts_utils.c70 if (!p_cb->srvc_cb[i].in_use) in bta_gatts_alloc_srvc_cb()
72 p_cb->srvc_cb[i].in_use = TRUE; in bta_gatts_alloc_srvc_cb()
73 p_cb->srvc_cb[i].rcb_idx = rcb_idx; in bta_gatts_alloc_srvc_cb()
138 if (p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_srvc_id()
139 p_cb->srvc_cb[i].service_id == service_id) in bta_gatts_find_srvc_cb_by_srvc_id()
142 return &p_cb->srvc_cb[i]; in bta_gatts_find_srvc_cb_by_srvc_id()
164 p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
165 p_cb->srvc_cb[i + 1].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
166 attr_id >= p_cb->srvc_cb[i].service_id && in bta_gatts_find_srvc_cb_by_attr_id()
167 attr_id < p_cb->srvc_cb[i + 1].service_id) || in bta_gatts_find_srvc_cb_by_attr_id()
[all …]
Dbta_gatts_act.c354 memcpy(&p_cb->srvc_cb[srvc_idx].service_uuid, in bta_gatts_create_srvc()
356 p_cb->srvc_cb[srvc_idx].service_id = service_id; in bta_gatts_create_srvc()
357 p_cb->srvc_cb[srvc_idx].inst_num = p_msg->api_create_svc.inst; in bta_gatts_create_srvc()
358 p_cb->srvc_cb[srvc_idx].idx = srvc_idx; in bta_gatts_create_srvc()
368 memset(&p_cb->srvc_cb[srvc_idx], 0, sizeof(tBTA_GATTS_SRVC_CB)); in bta_gatts_create_srvc()
Dbta_gatts_int.h207 tBTA_GATTS_SRVC_CB srvc_cb[BTA_GATTS_MAX_SRVC_NUM]; member