• Home
  • Raw
  • Download

Lines Matching refs:p_attr

53   tSDP_DISC_ATTR* p_attr;  in bta_create_mns_sdp_record()  local
64 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_MAP_SUPPORTED_FEATURES); in bta_create_mns_sdp_record()
65 if (p_attr != NULL) { in bta_create_mns_sdp_record()
66 record->mns.supported_features = p_attr->attr_value.v.u32; in bta_create_mns_sdp_record()
69 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_mns_sdp_record()
70 if (p_attr != NULL) { in bta_create_mns_sdp_record()
72 SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in bta_create_mns_sdp_record()
73 record->mns.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_mns_sdp_record()
85 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_GOEP_L2CAP_PSM); in bta_create_mns_sdp_record()
86 if (p_attr != NULL) { in bta_create_mns_sdp_record()
87 record->mns.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_mns_sdp_record()
93 tSDP_DISC_ATTR* p_attr; in bta_create_mas_sdp_record() local
107 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_MAS_INSTANCE_ID); in bta_create_mas_sdp_record()
108 if (p_attr != NULL) { in bta_create_mas_sdp_record()
109 record->mas.mas_instance_id = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record()
112 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_MSG_TYPE); in bta_create_mas_sdp_record()
113 if (p_attr != NULL) { in bta_create_mas_sdp_record()
114 record->mas.supported_message_types = p_attr->attr_value.v.u8; in bta_create_mas_sdp_record()
117 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_MAP_SUPPORTED_FEATURES); in bta_create_mas_sdp_record()
118 if (p_attr != NULL) { in bta_create_mas_sdp_record()
119 record->mas.supported_features = p_attr->attr_value.v.u32; in bta_create_mas_sdp_record()
122 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_mas_sdp_record()
123 if (p_attr != NULL) { in bta_create_mas_sdp_record()
125 SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in bta_create_mas_sdp_record()
126 record->mas.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_mas_sdp_record()
138 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_GOEP_L2CAP_PSM); in bta_create_mas_sdp_record()
139 if (p_attr != NULL) { in bta_create_mas_sdp_record()
140 record->mas.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_mas_sdp_record()
146 tSDP_DISC_ATTR* p_attr; in bta_create_pse_sdp_record() local
159 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_REPOSITORIES); in bta_create_pse_sdp_record()
160 if (p_attr != NULL) { in bta_create_pse_sdp_record()
161 record->pse.supported_repositories = p_attr->attr_value.v.u8; in bta_create_pse_sdp_record()
163 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_PBAP_SUPPORTED_FEATURES); in bta_create_pse_sdp_record()
164 if (p_attr != NULL) { in bta_create_pse_sdp_record()
165 record->pse.supported_features = p_attr->attr_value.v.u32; in bta_create_pse_sdp_record()
168 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_pse_sdp_record()
169 if (p_attr != NULL) { in bta_create_pse_sdp_record()
171 SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in bta_create_pse_sdp_record()
172 record->pse.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_pse_sdp_record()
184 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_GOEP_L2CAP_PSM); in bta_create_pse_sdp_record()
185 if (p_attr != NULL) { in bta_create_pse_sdp_record()
186 record->pse.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_pse_sdp_record()
192 tSDP_DISC_ATTR *p_attr, *p_sattr; in bta_create_ops_sdp_record() local
204 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_ops_sdp_record()
205 if (p_attr != NULL) { in bta_create_ops_sdp_record()
207 SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in bta_create_ops_sdp_record()
208 record->ops.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_ops_sdp_record()
220 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_GOEP_L2CAP_PSM); in bta_create_ops_sdp_record()
221 if (p_attr != NULL) { in bta_create_ops_sdp_record()
222 record->ops.hdr.l2cap_psm = p_attr->attr_value.v.u16; in bta_create_ops_sdp_record()
224 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_FORMATS_LIST); in bta_create_ops_sdp_record()
225 if (p_attr != NULL) { in bta_create_ops_sdp_record()
227 if (SDP_DISC_ATTR_TYPE(p_attr->attr_len_type) != DATA_ELE_SEQ_DESC_TYPE) { in bta_create_ops_sdp_record()
232 __func__, p_attr->attr_len_type); in bta_create_ops_sdp_record()
237 SDP_DISC_ATTR_LEN(p_attr->attr_len_type) / 2; in bta_create_ops_sdp_record()
240 for (p_sattr = p_attr->attr_value.v.p_sub_attr; p_sattr != NULL; in bta_create_ops_sdp_record()
277 tSDP_DISC_ATTR* p_attr; in bta_create_sap_sdp_record() local
288 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_sap_sdp_record()
289 if (p_attr != NULL) { in bta_create_sap_sdp_record()
291 SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in bta_create_sap_sdp_record()
292 record->sap.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_sap_sdp_record()
306 tSDP_DISC_ATTR* p_attr; in bta_create_raw_sdp_record() local
317 p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME); in bta_create_raw_sdp_record()
318 if (p_attr != NULL) { in bta_create_raw_sdp_record()
320 SDP_DISC_ATTR_LEN(p_attr->attr_len_type); in bta_create_raw_sdp_record()
321 record->pse.hdr.service_name = (char*)p_attr->attr_value.v.array; in bta_create_raw_sdp_record()