Lines Matching refs:name
100 static bool create_base_record(const uint32_t sdp_handle, const char* name, in create_base_record() argument
103 channel, name, with_obex); in create_base_record()
130 if (name[0] != '\0') { in create_base_record()
133 (uint32_t)strlen(name), (uint8_t*)name)) in create_base_record()
144 sdp_handle, channel, name, with_obex); in create_base_record()
151 stage, channel, name, with_obex); in create_base_record()
158 static int add_sdp_by_uuid(const char* name, const Uuid& uuid, in add_sdp_by_uuid() argument
161 uuid.ToString().c_str(), channel, name); in add_sdp_by_uuid()
167 channel, name); in add_sdp_by_uuid()
183 if (!create_base_record(handle, name, channel, false /* with_obex */)) in add_sdp_by_uuid()
199 __func__, name, handle); in add_sdp_by_uuid()
205 __func__, stage, name); in add_sdp_by_uuid()
211 static int add_pbap_sdp(const char* name, const int channel) { in add_pbap_sdp() argument
212 APPL_TRACE_DEBUG("add_pbap_sdp: scn %d, service_name %s", channel, name); in add_pbap_sdp()
219 name); in add_pbap_sdp()
227 if (!create_base_record(handle, name, channel, true /* with_obex */)) in add_pbap_sdp()
251 name, handle); in add_pbap_sdp()
260 stage, name); in add_pbap_sdp()
265 static int add_ops_sdp(const char* name, const int channel) { in add_ops_sdp() argument
266 APPL_TRACE_DEBUG("add_ops_sdp: scn %d, service_name %s", channel, name); in add_ops_sdp()
273 name); in add_ops_sdp()
288 if (!create_base_record(handle, name, channel, true /* with_obex */)) in add_ops_sdp()
324 name, handle); in add_ops_sdp()
333 stage, name); in add_ops_sdp()
339 static int add_spp_sdp(const char* name, const int channel) { in add_spp_sdp() argument
340 APPL_TRACE_DEBUG("add_spp_sdp: scn %d, service_name %s", channel, name); in add_spp_sdp()
347 name); in add_spp_sdp()
355 if (!create_base_record(handle, name, channel, false /* with_obex */)) in add_spp_sdp()
369 name, handle); in add_spp_sdp()
378 stage, name); in add_spp_sdp()
386 static int add_rfc_sdp_by_uuid(const char* name, const Uuid& uuid, in add_rfc_sdp_by_uuid() argument
389 uuid.ToString().c_str(), name, channel); in add_rfc_sdp_by_uuid()
412 handle = add_ops_sdp(name, final_channel); in add_rfc_sdp_by_uuid()
415 handle = add_pbap_sdp(name, final_channel); in add_rfc_sdp_by_uuid()
417 handle = add_spp_sdp(name, final_channel); in add_rfc_sdp_by_uuid()
422 handle = add_sdp_by_uuid(name, uuid, final_channel); in add_rfc_sdp_by_uuid()
451 int add_rfc_sdp_rec(const char* name, Uuid uuid, const int channel) { in add_rfc_sdp_rec() argument
468 return add_rfc_sdp_by_uuid(name, uuid, channel); in add_rfc_sdp_rec()