Lines Matching refs:uuid
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()
190 { ARRAY_TO_BE_STREAM(tmp, uuid.To128BitBE().data(), UUID_MAX_LENGTH); } in add_sdp_by_uuid()
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()
403 int final_channel = get_reserved_rfc_channel(uuid); in add_rfc_sdp_by_uuid()
411 if (uuid == UUID_OBEX_OBJECT_PUSH) { in add_rfc_sdp_by_uuid()
413 } else if (uuid == UUID_PBAP_PSE) { in add_rfc_sdp_by_uuid()
416 } else if (uuid == UUID_SPP) { in add_rfc_sdp_by_uuid()
418 } else if (uuid == UUID_MAP_MAS) { in add_rfc_sdp_by_uuid()
422 handle = add_sdp_by_uuid(name, uuid, final_channel); in add_rfc_sdp_by_uuid()
438 int get_reserved_rfc_channel(const bluetooth::Uuid& uuid) { in get_reserved_rfc_channel() argument
439 if (uuid == UUID_PBAP_PSE) { in get_reserved_rfc_channel()
441 } else if (uuid == UUID_OBEX_OBJECT_PUSH) { in get_reserved_rfc_channel()
451 int add_rfc_sdp_rec(const char* name, Uuid uuid, const int channel) { in add_rfc_sdp_rec() argument
452 if (uuid.IsEmpty()) { in add_rfc_sdp_rec()
455 uuid = UUID_PBAP_PSE; in add_rfc_sdp_rec()
459 uuid = UUID_OBEX_OBJECT_PUSH; in add_rfc_sdp_rec()
463 uuid = UUID_SPP; in add_rfc_sdp_rec()
468 return add_rfc_sdp_by_uuid(name, uuid, channel); in add_rfc_sdp_rec()