Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/bluetooth/
DBluetoothUuid.java242 public static ParcelUuid parseUuidFrom(byte[] uuidBytes) { in parseUuidFrom() argument
243 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()
[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.java183 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()
185 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()
186 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()
189 return uuidBytes; in getByteArrayFromUUID()
DMediaPlayer.java5115 byte[] uuidBytes = new byte[16]; in getByteArrayFromUUID()
5117 uuidBytes[i] = (byte)(msb >>> (8 * (7 - i))); in getByteArrayFromUUID()
5118 uuidBytes[8 + i] = (byte)(lsb >>> (8 * (7 - i))); in getByteArrayFromUUID()
5121 return uuidBytes; in getByteArrayFromUUID()
/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java288 byte[] uuidBytes = extractBytes(scanRecord, currentPos, in parseServiceUuid()
290 serviceUuids.add(BluetoothUuid.parseUuidFrom(uuidBytes)); in parseServiceUuid()