Lines Matching refs:uuid
145 static int add_sdp_by_uuid(const char* name, const Uuid& uuid, in add_sdp_by_uuid() argument
148 uuid.ToString().c_str(), channel, name); in add_sdp_by_uuid()
177 { ARRAY_TO_BE_STREAM(tmp, uuid.To128BitBE().data(), UUID_MAX_LENGTH); } in add_sdp_by_uuid()
190 tBTA_CUSTOM_UUID curr = {uuid, handle}; in add_sdp_by_uuid()
380 static int add_rfc_sdp_by_uuid(const char* name, const Uuid& uuid, in add_rfc_sdp_by_uuid() argument
383 uuid.ToString().c_str(), name, channel); in add_rfc_sdp_by_uuid()
397 int final_channel = get_reserved_rfc_channel(uuid); in add_rfc_sdp_by_uuid()
405 if (uuid == UUID_OBEX_OBJECT_PUSH) { in add_rfc_sdp_by_uuid()
407 } else if (uuid == UUID_PBAP_PSE) { in add_rfc_sdp_by_uuid()
410 } else if (uuid == UUID_SPP) { in add_rfc_sdp_by_uuid()
412 } else if (uuid == UUID_MAP_MAS) { in add_rfc_sdp_by_uuid()
416 handle = add_sdp_by_uuid(name, uuid, final_channel); in add_rfc_sdp_by_uuid()
432 int get_reserved_rfc_channel(const bluetooth::Uuid& uuid) { in get_reserved_rfc_channel() argument
433 if (uuid == UUID_PBAP_PSE) { in get_reserved_rfc_channel()
435 } else if (uuid == UUID_OBEX_OBJECT_PUSH) { in get_reserved_rfc_channel()
445 int add_rfc_sdp_rec(const char* name, Uuid uuid, const int channel) { in add_rfc_sdp_rec() argument
446 if (uuid.IsEmpty()) { in add_rfc_sdp_rec()
449 uuid = UUID_PBAP_PSE; in add_rfc_sdp_rec()
453 uuid = UUID_OBEX_OBJECT_PUSH; in add_rfc_sdp_rec()
457 uuid = UUID_SPP; in add_rfc_sdp_rec()
462 return add_rfc_sdp_by_uuid(name, uuid, channel); in add_rfc_sdp_rec()