Home
last modified time | relevance | path

Searched refs:byteOrder (Results 1 – 8 of 8) 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/services/net/java/android/net/netlink/
DStructNlAttr.java102 public StructNlAttr(ByteOrder byteOrder) { in StructNlAttr() argument
103 mByteOrder = byteOrder; in StructNlAttr()
/frameworks/base/core/java/android/companion/
DBluetoothLeDeviceFilter.java370 int bytesFrom, int bytesLength, ByteOrder byteOrder) { in setRenameFromBytes() argument
375 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.cpp5778 int32_t byteOrder; in read() local
5780 AMEDIAFORMAT_KEY_PCM_BIG_ENDIAN, &byteOrder); in read()
5782 if (byteOrder == 1) { in read()