Lines Matching full:uuid
21 // Opaque wrapper around a Bluetooth UUID. Instances of UUID represent the
25 // constructed using a string representing 16, 32, or 128 bit UUID formats.
36 // Single argument constructor. |uuid| can be a 16, 32, or 128 bit UUID
45 // 16 and 32 bit UUIDs will be internally converted to a 128 bit UUID using
46 // the base UUID defined in the Bluetooth specification, hence custom UUIDs
47 // should be provided in the 128-bit format. If |uuid| is in an unsupported
50 explicit BluetoothUUID(const std::string& uuid);
55 explicit BluetoothUUID(GUID uuid);
61 // UUID by definition and the string accessors will return an empty string.
66 // The canonical UUID string format is device::BluetoothUUID.value().
67 static GUID GetCanonicalValueAsGUID(base::StringPiece uuid);
70 // Returns true, if the UUID is in a valid canonical format.
73 // Returns the representation format of the UUID. This reflects the format
77 // Returns the value of the UUID as a string. The representation format is
91 // Permit sufficient comparison to allow a UUID to be used as a key in a
93 bool operator<(const BluetoothUUID& uuid) const;
96 bool operator==(const BluetoothUUID& uuid) const;
97 bool operator!=(const BluetoothUUID& uuid) const;
100 // String representation of the UUID that was used during construction. For
108 // The 128-bit string representation of the UUID.
114 PrintTo(const BluetoothUUID& uuid, std::ostream* out);
117 size_t operator()(const device::BluetoothUUID& uuid) const { in operator()
118 return std::hash<std::string>()(uuid.canonical_value()); in operator()