Searched refs:uuidBytes (Results 1 – 4 of 4) sorted by relevance
242 public static ParcelUuid parseUuidFrom(byte[] uuidBytes) { in parseUuidFrom() argument243 if (uuidBytes == null) { in parseUuidFrom()246 int length = uuidBytes.length; in parseUuidFrom()254 ByteBuffer buf = ByteBuffer.wrap(uuidBytes).order(ByteOrder.LITTLE_ENDIAN); in parseUuidFrom()264 shortUuid = uuidBytes[0] & 0xFF; in parseUuidFrom()265 shortUuid += (uuidBytes[1] & 0xFF) << 8; in parseUuidFrom()267 shortUuid = uuidBytes[0] & 0xFF ; in parseUuidFrom()268 shortUuid += (uuidBytes[1] & 0xFF) << 8; in parseUuidFrom()269 shortUuid += (uuidBytes[2] & 0xFF) << 16; in parseUuidFrom()270 shortUuid += (uuidBytes[3] & 0xFF) << 24; in parseUuidFrom()
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()
182 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()184 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()185 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()188 return uuidBytes; in getByteArrayFromUUID()
280 byte[] uuidBytes = extractBytes(scanRecord, currentPos, in parseServiceUuid()282 serviceUuids.add(BluetoothUuid.parseUuidFrom(uuidBytes)); in parseServiceUuid()