Searched defs:uuidBytes (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
H A DBluetoothUuid.java234 * Parse UUID from bytes. The {@code uuidBytes} can represent a 16-bit, 32-bit or 128-bit UUID,
238 * @param uuidBytes Byte representation of uuid.
240 * @throws IllegalArgumentException If the {@code uuidBytes} cannot be parsed.
242 public static ParcelUuid parseUuidFrom(byte[] uuidBytes) { argument
243 if (uuidBytes == null) {
244 throw new IllegalArgumentException("uuidBytes cannot be null");
246 int length = uuidBytes.length;
249 throw new IllegalArgumentException("uuidBytes length invalid - " + length);
254 ByteBuffer buf = ByteBuffer.wrap(uuidBytes).order(ByteOrder.LITTLE_ENDIAN);
264 shortUuid = uuidBytes[
[all...]

Completed in 355 milliseconds