Home
last modified time | relevance | path

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

/system/bt/stack/sdp/
Dsdp_api.c339 tSDP_DISC_ATTR *p_attr, *p_sattr, *p_extra_sattr; in SDP_FindServiceUUIDInRec() local
348 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; p_sattr = p_sattr->p_next_attr) in SDP_FindServiceUUIDInRec()
350 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) in SDP_FindServiceUUIDInRec()
352 if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_16) in SDP_FindServiceUUIDInRec()
355 p_uuid->uu.uuid16 = p_sattr->attr_value.v.u16; in SDP_FindServiceUUIDInRec()
357 else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_128) in SDP_FindServiceUUIDInRec()
361 p_uuid->uu.uuid128[i] = p_sattr->attr_value.v.array[LEN_UUID_128-i-1]; in SDP_FindServiceUUIDInRec()
363 else if (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == LEN_UUID_32) in SDP_FindServiceUUIDInRec()
366 p_uuid->uu.uuid32 = p_sattr->attr_value.v.u32; in SDP_FindServiceUUIDInRec()
378 if (SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == DATA_ELE_SEQ_DESC_TYPE) in SDP_FindServiceUUIDInRec()
[all …]
/system/bt/bta/hl/
Dbta_hl_sdp.c41 tSDP_DISC_ATTR *p_sattr; in bta_hl_fill_sup_feature_list() local
56 …for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr && (item_cnt < 4) ; p_sattr = p_sattr->p_n… in bta_hl_fill_sup_feature_list()
64 p_list->list_elem[list_cnt].mdep_id = p_sattr->attr_value.v.u8; in bta_hl_fill_sup_feature_list()
67 p_list->list_elem[list_cnt].data_type = p_sattr->attr_value.v.u16; in bta_hl_fill_sup_feature_list()
70 … p_list->list_elem[list_cnt].mdep_role = (tBTA_HL_MDEP_ROLE) p_sattr->attr_value.v.u8; in bta_hl_fill_sup_feature_list()
73 … p_list->list_elem[list_cnt].p_mdep_desp = (char *) p_sattr->attr_value.v.array; in bta_hl_fill_sup_feature_list()
583 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_hl_find_sink_or_src_srv_class_in_db() local
608 … for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr; p_sattr = p_sattr->p_next_attr) in bta_hl_find_sink_or_src_srv_class_in_db()
610 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UUID_DESC_TYPE) in bta_hl_find_sink_or_src_srv_class_in_db()
611 && (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 2) in bta_hl_find_sink_or_src_srv_class_in_db()
[all …]
/system/bt/bta/sdp/
Dbta_sdp_act.c234 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_create_ops_sdp_record() local
279 for (p_sattr = p_attr->attr_value.v.p_sub_attr; in bta_create_ops_sdp_record()
280 p_sattr != NULL; p_sattr = p_sattr->p_next_attr) in bta_create_ops_sdp_record()
282 if ((SDP_DISC_ATTR_TYPE(p_sattr->attr_len_type) == UINT_DESC_TYPE) in bta_create_ops_sdp_record()
283 && (SDP_DISC_ATTR_LEN(p_sattr->attr_len_type) == 1)) in bta_create_ops_sdp_record()
292 record->ops.supported_formats_list[count] = p_sattr->attr_value.v.u8; in bta_create_ops_sdp_record()
297 p_sattr->attr_len_type); in bta_create_ops_sdp_record()