Lines Matching refs:elem
276 tGATT_SRV_LIST_ELEM& elem = *rit; in GATTS_AddService() local
277 elem.gatt_if = gatt_if; in GATTS_AddService()
278 elem.s_hdl = list.asgn_range.s_handle; in GATTS_AddService()
279 elem.e_hdl = list.asgn_range.e_handle; in GATTS_AddService()
280 elem.p_db = &list.svc_db; in GATTS_AddService()
281 elem.is_primary = list.asgn_range.is_primary; in GATTS_AddService()
283 elem.app_uuid = list.asgn_range.app_uuid128; in GATTS_AddService()
284 elem.type = list.asgn_range.is_primary ? GATT_UUID_PRI_SERVICE in GATTS_AddService()
287 if (elem.type == GATT_UUID_PRI_SERVICE) { in GATTS_AddService()
288 Uuid* p_uuid = gatts_get_service_uuid(elem.p_db); in GATTS_AddService()
289 elem.sdp_handle = gatt_add_sdp_record(*p_uuid, elem.s_hdl, elem.e_hdl); in GATTS_AddService()
291 elem.sdp_handle = 0; in GATTS_AddService()
296 VLOG(1) << __func__ << ": allocated el s_hdl=" << loghex(elem.s_hdl) in GATTS_AddService()
297 << ", e_hdl=" << loghex(elem.e_hdl) << ", type=" << loghex(elem.type) in GATTS_AddService()
298 << ", sdp_hdl=" << loghex(elem.sdp_handle); in GATTS_AddService()