Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_api.cc295 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceUUIDInRec() local
302 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceUUIDInRec()
303 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec()
304 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec()
305 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == Uuid::kNumBytes16) { in SDP_FindServiceUUIDInRec()
306 *p_uuid = Uuid::From16Bit(p_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
307 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
309 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec()
310 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
312 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
[all …]
Dsdp_utils.cc79 for (tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in sdpu_find_profile_version() local
80 p_sattr != nullptr; p_sattr = p_sattr->p_next_attr) { in sdpu_find_profile_version()
82 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) != in sdpu_find_profile_version()
85 << loghex(SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type)); in sdpu_find_profile_version()
89 for (tSDP_DISC_ATTR* p_ssattr = p_sattr->attr_value.v.p_sub_attr; in sdpu_find_profile_version()
/system/bt/bta/sdp/
Dbta_sdp_act.cc192 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_create_ops_sdp_record() local
240 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr != NULL; in bta_create_ops_sdp_record()
241 p_sattr = p_sattr->p_next_attr) { in bta_create_ops_sdp_record()
242 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UINT_DESC_TYPE) && in bta_create_ops_sdp_record()
243 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 1)) { in bta_create_ops_sdp_record()
253 record->ops.supported_formats_list[count] = p_sattr->attr_value.v.u8; in bta_create_ops_sdp_record()
259 __func__, p_sattr->attr_len_type); in bta_create_ops_sdp_record()