Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_api.cc255 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceUUIDInRec() local
262 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceUUIDInRec()
263 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec()
264 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec()
265 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == Uuid::kNumBytes16) { in SDP_FindServiceUUIDInRec()
266 *p_uuid = Uuid::From16Bit(p_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
267 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
269 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec()
270 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
272 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
[all …]
Dsdp_utils.cc96 for (tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in sdpu_find_profile_version() local
97 p_sattr != nullptr; p_sattr = p_sattr->p_next_attr) { in sdpu_find_profile_version()
99 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) != in sdpu_find_profile_version()
102 SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type)); in sdpu_find_profile_version()
106 for (tSDP_DISC_ATTR* p_ssattr = p_sattr->attr_value.v.p_sub_attr; in sdpu_find_profile_version()
/packages/modules/Bluetooth/system/bta/sdp/
Dbta_sdp_act.cc286 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_create_ops_sdp_record() local
352 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr != NULL; in bta_create_ops_sdp_record()
353 p_sattr = p_sattr->p_next_attr) { in bta_create_ops_sdp_record()
354 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UINT_DESC_TYPE) && in bta_create_ops_sdp_record()
355 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) >= 1)) { in bta_create_ops_sdp_record()
364 record->ops.supported_formats_list[count] = p_sattr->attr_value.v.u8; in bta_create_ops_sdp_record()
370 p_sattr->attr_len_type); in bta_create_ops_sdp_record()