Home
last modified time | relevance | path

Searched refs:toByteBuffer (Results 1 – 4 of 4) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DStructTest.java87 final ByteBuffer buf = toByteBuffer(hexString); in doParsingMessageTest()
125 assertArrayEquals(toByteBuffer(HDR_EMPTY).array(), in verifyHeaderParsing()
163 assertArrayEquals(toByteBuffer(HDR_EMPTY).array(), in testClassWithDefaultConstructor()
182 final ByteBuffer buf = toByteBuffer(HDR_EMPTY); in testInvalidClass_NotSubClass()
200 final ByteBuffer buf = toByteBuffer(HDR_EMPTY); in testInvalidClass_MissingAnnotationField()
234 assertArrayEquals(toByteBuffer(NETWORK_ORDER_MSG).array(), in testNetworkOrder()
275 assertArrayEquals(toByteBuffer(UNSIGNED_DATA).array(), in testUnsignedData()
286 () -> Struct.parse(U64DataMessage.class, toByteBuffer("ffffffffffffffff"))); in testInvalidType_U64WithLongPrimitive()
315 assertArrayEquals(toByteBuffer(SMALL_VALUE_BIGINTEGER).array(), in testBigIntegerSmallValueOrZero()
347 assertArrayEquals(toByteBuffer(SIGNED_DATA).array(), in testSignedPositiveData()
[all …]
/frameworks/base/apex/media/framework/java/android/media/
DMediaParser.java1654 mediaFormat.setByteBuffer("chunk-index-int-sizes", toByteBuffer(chunkIndex.sizes)); in seekMap()
1656 "chunk-index-long-offsets", toByteBuffer(chunkIndex.offsets)); in seekMap()
1658 "chunk-index-long-us-durations", toByteBuffer(chunkIndex.durationsUs)); in seekMap()
1660 "chunk-index-long-us-times", toByteBuffer(chunkIndex.timesUs)); in seekMap()
2067 private static ByteBuffer toByteBuffer(long[] longArray) { in toByteBuffer() method in MediaParser
2076 private static ByteBuffer toByteBuffer(int[] intArray) { in toByteBuffer() method in MediaParser
/frameworks/base/media/java/android/media/
DAudioMetadata.java880 public static ByteBuffer toByteBuffer(BaseMap data, ByteOrder order) { in toByteBuffer() method
/frameworks/base/opengl/java/android/opengl/
DGLLogWrapper.java930 private ByteBuffer toByteBuffer(int byteCount, Buffer input) { in toByteBuffer() method in GLLogWrapper
1030 ByteBuffer byteBuffer = toByteBuffer(count, indices); in toCharIndices()
1043 ByteBuffer byteBuffer = toByteBuffer(count * 2, indices); in toCharIndices()
3937 mTempByteBuffer = mPointer == null ? null : toByteBuffer(-1, mPointer); in bindByteBuffer()