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.cc73 for (tSDP_DISC_ATTR* p_sattr = p_attr->attr_value.v.p_sub_attr; in sdpu_find_profile_version() local
74 p_sattr != nullptr; p_sattr = p_sattr->p_next_attr) { in sdpu_find_profile_version()
76 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) != in sdpu_find_profile_version()
79 << loghex(SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type)); in sdpu_find_profile_version()
83 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()