Lines Matching refs:elem
300 tGATT_SRV_LIST_ELEM& elem = *rit; in GATTS_AddService() local
301 elem.gatt_if = gatt_if; in GATTS_AddService()
302 elem.s_hdl = list.asgn_range.s_handle; in GATTS_AddService()
303 elem.e_hdl = list.asgn_range.e_handle; in GATTS_AddService()
304 elem.p_db = &list.svc_db; in GATTS_AddService()
305 elem.is_primary = list.asgn_range.is_primary; in GATTS_AddService()
307 elem.app_uuid = list.asgn_range.app_uuid128; in GATTS_AddService()
308 elem.type = list.asgn_range.is_primary ? GATT_UUID_PRI_SERVICE in GATTS_AddService()
311 if (elem.type == GATT_UUID_PRI_SERVICE) { in GATTS_AddService()
312 Uuid* p_uuid = gatts_get_service_uuid(elem.p_db); in GATTS_AddService()
313 elem.sdp_handle = gatt_add_sdp_record(*p_uuid, elem.s_hdl, elem.e_hdl); in GATTS_AddService()
315 elem.sdp_handle = 0; in GATTS_AddService()
320 VLOG(1) << __func__ << ": allocated el s_hdl=" << loghex(elem.s_hdl) in GATTS_AddService()
321 << ", e_hdl=" << loghex(elem.e_hdl) << ", type=" << loghex(elem.type) in GATTS_AddService()
322 << ", sdp_hdl=" << loghex(elem.sdp_handle); in GATTS_AddService()