Home
last modified time | relevance | path

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

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DByteBufferPerfTest.java54 final ByteOrder byteOrder; field in ByteBufferPerfTest.MyByteOrder
56 MyByteOrder(ByteOrder byteOrder) { in MyByteOrder() argument
57 this.byteOrder = byteOrder; in MyByteOrder()
86 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws IOException { in newBuffer() argument
110 result.order(byteOrder.byteOrder); in newBuffer()
122 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws Exception { in timeByteBuffer_getByte() argument
123 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByte()
136 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws Exception { in timeByteBuffer_getByteArray() argument
137 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeByteBuffer_getByteArray()
151 MyByteOrder byteOrder, boolean aligned, MyBufferType bufferType) throws Exception { in timeByteBuffer_getByte_indexed() argument
[all …]
DByteBufferScalarVersusVectorPerfTest.java109 ByteBufferPerfTest.MyByteOrder byteOrder, in timeManualByteBufferCopy() argument
113 ByteBuffer src = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy()
114 ByteBuffer dst = ByteBufferPerfTest.newBuffer(byteOrder, aligned, bufferType); in timeManualByteBufferCopy()
/frameworks/base/media/java/android/media/
DExifInterface.java746 public static ExifAttribute createUShort(int[] values, ByteOrder byteOrder) { in createUShort() argument
749 buffer.order(byteOrder); in createUShort()
756 public static ExifAttribute createUShort(int value, ByteOrder byteOrder) { in createUShort() argument
757 return createUShort(new int[] {value}, byteOrder); in createUShort()
760 public static ExifAttribute createULong(long[] values, ByteOrder byteOrder) { in createULong() argument
763 buffer.order(byteOrder); in createULong()
770 public static ExifAttribute createULong(long value, ByteOrder byteOrder) { in createULong() argument
771 return createULong(new long[] {value}, byteOrder); in createULong()
774 public static ExifAttribute createSLong(int[] values, ByteOrder byteOrder) { in createSLong() argument
777 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/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/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/av/media/module/extractors/mp4/
DMPEG4Extractor.cpp6397 int32_t byteOrder = 0; in read() local
6399 AMEDIAFORMAT_KEY_PCM_BIG_ENDIAN, &byteOrder); in read()
6401 if (isGetBigEndian && byteOrder == 1) { in read()