Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_api.cc248 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceUUIDInRec() local
255 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; in SDP_FindServiceUUIDInRec()
256 p_sattr = p_sattr->p_next_attr) { in SDP_FindServiceUUIDInRec()
257 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) { in SDP_FindServiceUUIDInRec()
258 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == Uuid::kNumBytes16) { in SDP_FindServiceUUIDInRec()
259 *p_uuid = Uuid::From16Bit(p_sattr->attr_value.v.u16); in SDP_FindServiceUUIDInRec()
260 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
262 *p_uuid = Uuid::From128BitBE(p_sattr->attr_value.v.array); in SDP_FindServiceUUIDInRec()
263 } else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == in SDP_FindServiceUUIDInRec()
265 *p_uuid = Uuid::From32Bit(p_sattr->attr_value.v.u32); in SDP_FindServiceUUIDInRec()
[all …]
Dsdp_utils.cc74 for (tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in sdpu_find_profile_version() local
75 p_sattr != nullptr; p_sattr = p_sattr->p_next_attr) { in sdpu_find_profile_version()
77 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) != in sdpu_find_profile_version()
80 << loghex(SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type)); in sdpu_find_profile_version()
84 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.cc175 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_create_ops_sdp_record() local
223 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr != NULL; in bta_create_ops_sdp_record()
224 p_sattr = p_sattr->p_next_attr) { in bta_create_ops_sdp_record()
225 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UINT_DESC_TYPE) && in bta_create_ops_sdp_record()
226 (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 1)) { in bta_create_ops_sdp_record()
236 record->ops.supported_formats_list[count] = p_sattr->attr_value.v.u8; in bta_create_ops_sdp_record()
242 __func__, p_sattr->attr_len_type); in bta_create_ops_sdp_record()