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

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

Completed in 180 milliseconds