Home
last modified time | relevance | path

Searched refs:uuidBytes (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java240 public static ParcelUuid parseUuidFrom(@Nullable byte[] uuidBytes) { in parseUuidFrom() argument
241 if (uuidBytes == null) { in parseUuidFrom()
244 int length = uuidBytes.length; in parseUuidFrom()
252 ByteBuffer buf = ByteBuffer.wrap(uuidBytes).order(ByteOrder.LITTLE_ENDIAN); in parseUuidFrom()
262 shortUuid = uuidBytes[0] & 0xFF; in parseUuidFrom()
263 shortUuid += (uuidBytes[1] & 0xFF) << 8; in parseUuidFrom()
265 shortUuid = uuidBytes[0] & 0xFF; in parseUuidFrom()
266 shortUuid += (uuidBytes[1] & 0xFF) << 8; in parseUuidFrom()
267 shortUuid += (uuidBytes[2] & 0xFF) << 16; in parseUuidFrom()
268 shortUuid += (uuidBytes[3] & 0xFF) << 24; in parseUuidFrom()
[all …]
/frameworks/base/media/java/android/media/
DMediaCrypto.java47 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()
DMediaDrm.java210 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()
212 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()
213 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()
216 return uuidBytes; in getByteArrayFromUUID()
DMediaPlayer.java5469 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()
5471 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()
5472 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()
5475 return uuidBytes; in getByteArrayFromUUID()
/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java325 byte[] uuidBytes = extractBytes(scanRecord, currentPos, in parseServiceUuid()
327 serviceUuids.add(BluetoothUuid.parseUuidFrom(uuidBytes)); in parseServiceUuid()
340 byte[] uuidBytes = extractBytes(scanRecord, currentPos, uuidLength); in parseServiceSolicitationUuid()
341 serviceSolicitationUuids.add(BluetoothUuid.parseUuidFrom(uuidBytes)); in parseServiceSolicitationUuid()