Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17b9e1ab authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "sdp: Use complete Uuids for comparisons"

parents 5d8f7626 63f736fe
Loading
Loading
Loading
Loading
+15 −5
Original line number Diff line number Diff line
@@ -27,11 +27,21 @@

using bluetooth::Uuid;

static const Uuid UUID_OBEX_OBJECT_PUSH = Uuid::From16Bit(0x1105);
static const Uuid UUID_PBAP_PSE = Uuid::From16Bit(0x112F);
static const Uuid UUID_MAP_MAS = Uuid::From16Bit(0x1132);
static const Uuid UUID_MAP_MNS = Uuid::From16Bit(0x1133);
static const Uuid UUID_SAP = Uuid::From16Bit(0x112D);
static const Uuid UUID_OBEX_OBJECT_PUSH = Uuid::From128BitBE(
    Uuid::UUID128Bit{{0x00, 0x00, 0x11, 0x05, 0x00, 0x00, 0x10, 0x00, 0x80,
                      0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb}});
static const Uuid UUID_PBAP_PSE = Uuid::From128BitBE(
    Uuid::UUID128Bit{{0x00, 0x00, 0x11, 0x2F, 0x00, 0x00, 0x10, 0x00, 0x80,
                      0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb}});
static const Uuid UUID_MAP_MAS = Uuid::From128BitBE(
    Uuid::UUID128Bit{{0x00, 0x00, 0x11, 0x32, 0x00, 0x00, 0x10, 0x00, 0x80,
                      0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb}});
static const Uuid UUID_MAP_MNS = Uuid::From128BitBE(
    Uuid::UUID128Bit{{0x00, 0x00, 0x11, 0x33, 0x00, 0x00, 0x10, 0x00, 0x80,
                      0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb}});
static const Uuid UUID_SAP = Uuid::From128BitBE(
    Uuid::UUID128Bit{{0x00, 0x00, 0x11, 0x2D, 0x00, 0x00, 0x10, 0x00, 0x80,
                      0x00, 0x00, 0x80, 0x5f, 0x9b, 0x34, 0xfb}});

namespace android {
static jmethodID method_sdpRecordFoundCallback;