Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java250 public static ParcelUuid parseUuidFrom(byte[] uuidBytes) { in parseUuidFrom() argument
251 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 …]
/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.java190 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()
DMediaPlayer2Impl.java4327 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()
DMediaPlayer.java5482 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()
/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java289 byte[] uuidBytes = extractBytes(scanRecord, currentPos, in parseServiceUuid()
291 serviceUuids.add(BluetoothUuid.parseUuidFrom(uuidBytes)); in parseServiceUuid()