Home
last modified time | relevance | path

Searched refs:byteOrder (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/wifi/java/android/net/wifi/aware/
DTlvBufferUtils.java99 public TlvConstructor setByteOrder(ByteOrder byteOrder) { in setByteOrder() argument
100 mByteOrder = byteOrder; in setByteOrder()
387 public ByteOrder byteOrder = ByteOrder.BIG_ENDIAN; field in TlvBufferUtils.TlvElement
448 return Memory.peekShort(mRefArray, offset, byteOrder); in getShort()
463 return Memory.peekInt(mRefArray, offset, byteOrder); in getInt()
512 public void setByteOrder(ByteOrder byteOrder) { in setByteOrder() argument
513 mByteOrder = byteOrder; in setByteOrder()
606 tlv.byteOrder = mByteOrder; in iterator()
645 ByteOrder byteOrder) { in isValidEndian() argument
664 nextTlvIndex += lengthSize + Memory.peekShort(array, nextTlvIndex, byteOrder); in isValidEndian()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DByteBufferReader.java46 public static long readInteger(ByteBuffer payload, ByteOrder byteOrder, int size) { in readInteger() argument
57 if (byteOrder == ByteOrder.LITTLE_ENDIAN) { in readInteger()
/frameworks/base/media/java/android/media/
DExifInterface.java624 public static ExifAttribute createUShort(int[] values, ByteOrder byteOrder) { in createUShort() argument
627 buffer.order(byteOrder); in createUShort()
634 public static ExifAttribute createUShort(int value, ByteOrder byteOrder) { in createUShort() argument
635 return createUShort(new int[] {value}, byteOrder); in createUShort()
638 public static ExifAttribute createULong(long[] values, ByteOrder byteOrder) { in createULong() argument
641 buffer.order(byteOrder); in createULong()
648 public static ExifAttribute createULong(long value, ByteOrder byteOrder) { in createULong() argument
649 return createULong(new long[] {value}, byteOrder); in createULong()
652 public static ExifAttribute createSLong(int[] values, ByteOrder byteOrder) { in createSLong() argument
655 buffer.order(byteOrder); in createSLong()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dplaybq.cpp45 SLuint32 byteOrder; // desired to use for PCM buffers variable
57 if (byteOrder != nativeByteOrder) { in squeeze()
167 byteOrder = nativeByteOrder; in main()
184 byteOrder = SL_BYTEORDER_BIGENDIAN; in main()
186 byteOrder = SL_BYTEORDER_LITTLEENDIAN; in main()
383 format_pcm.endianness = byteOrder; in main()
/frameworks/base/core/java/android/companion/
DBluetoothLeDeviceFilter.java372 int bytesFrom, int bytesLength, ByteOrder byteOrder) { in setRenameFromBytes() argument
377 mRenameBytesReverseOrder = byteOrder == ByteOrder.LITTLE_ENDIAN; in setRenameFromBytes()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifParser.java738 short byteOrder = mTiffStream.readShort(); in parseTiffHeader() local
739 if (LITTLE_ENDIAN_TAG == byteOrder) { in parseTiffHeader()
741 } else if (BIG_ENDIAN_TAG == byteOrder) { in parseTiffHeader()
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp5856 int32_t byteOrder = 0; in read() local
5858 AMEDIAFORMAT_KEY_PCM_BIG_ENDIAN, &byteOrder); in read()
5860 if (isGetBigEndian && byteOrder == 1) { in read()