Searched refs:uuidBytes (Results 1 – 6 of 6) sorted by relevance
250 public static ParcelUuid parseUuidFrom(byte[] uuidBytes) { in parseUuidFrom() argument251 if (uuidBytes == null) { in parseUuidFrom()254 int length = uuidBytes.length; in parseUuidFrom()262 ByteBuffer buf = ByteBuffer.wrap(uuidBytes).order(ByteOrder.LITTLE_ENDIAN); in parseUuidFrom()272 shortUuid = uuidBytes[0] & 0xFF; in parseUuidFrom()273 shortUuid += (uuidBytes[1] & 0xFF) << 8; in parseUuidFrom()275 shortUuid = uuidBytes[0] & 0xFF; in parseUuidFrom()276 shortUuid += (uuidBytes[1] & 0xFF) << 8; in parseUuidFrom()277 shortUuid += (uuidBytes[2] & 0xFF) << 16; in parseUuidFrom()278 shortUuid += (uuidBytes[3] & 0xFF) << 24; in parseUuidFrom()[all …]
47 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()49 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()50 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()53 return uuidBytes; in getByteArrayFromUUID()
190 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()192 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()193 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()196 return uuidBytes; in getByteArrayFromUUID()
4327 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()4329 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()4330 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()4333 return uuidBytes; in getByteArrayFromUUID()
5482 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()5484 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()5485 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()5488 return uuidBytes; in getByteArrayFromUUID()
289 byte[] uuidBytes = extractBytes(scanRecord, currentPos, in parseServiceUuid()291 serviceUuids.add(BluetoothUuid.parseUuidFrom(uuidBytes)); in parseServiceUuid()