Home
last modified time | relevance | path

Searched refs:byteBuffer (Results 1 – 11 of 11) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DRendererTwoShaderTest.java56 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleCoords.length * 4); in initShapes() local
57 byteBuffer.order(ByteOrder.nativeOrder()); in initShapes()
58 floatBuffer = byteBuffer.asFloatBuffer(); in initShapes()
DRendererOneShaderTest.java80 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleCoords.length * 4); in initShapes() local
81 byteBuffer.order(ByteOrder.nativeOrder()); in initShapes()
82 floatBuffer = byteBuffer.asFloatBuffer(); in initShapes()
DRendererThreeShaderTest.java83 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleCoords.length * 4); in initShapes() local
84 byteBuffer.order(ByteOrder.nativeOrder()); in initShapes()
85 floatBuffer = byteBuffer.asFloatBuffer(); in initShapes()
/cts/tests/vr/src/android/vr/cts/
DRendererBasicTest.java115 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleCoords.length * 4); in initShapes() local
116 byteBuffer.order(ByteOrder.nativeOrder()); in initShapes()
117 floatBuffer = byteBuffer.asFloatBuffer(); in initShapes()
/cts/tests/tests/media/src/android/media/cts/
DMediaSyncTest.java248 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runCheckAudioBuffer()
251 decoderAudio.checkReturnedAudioBuffer(byteBuffer, bufferIndex); in runCheckAudioBuffer()
307 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runFlush()
502 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runPlayAV()
610 public AudioBuffer(ByteBuffer byteBuffer, int bufferIndex) { in AudioBuffer() argument
611 mByteBuffer = byteBuffer; in AudioBuffer()
808 public void checkReturnedAudioBuffer(ByteBuffer byteBuffer, int bufferIndex) { in checkReturnedAudioBuffer() argument
811 if (audioBuffer.mByteBuffer != byteBuffer in checkReturnedAudioBuffer()
DAudioRecordTest.java196 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE); in testAudioRecordOP() local
202 mAudioRecord.read(byteBuffer, BUFFER_SIZE); in testAudioRecordOP()
846 ByteBuffer byteBuffer = in doTest() local
859 byteBuffer.position(lastPosition); in doTest()
860 byteBuffer.limit(lastLimit); in doTest()
861 int ret = blocking ? record.read(byteBuffer, amount) : in doTest()
862 record.read(byteBuffer, amount, AudioRecord.READ_NON_BLOCKING); in doTest()
873 assertEquals(lastPosition, byteBuffer.position()); in doTest()
874 assertEquals(lastLimit, byteBuffer.limit()); in doTest()
DDecodeAccuracyTestBase.java815 private ByteBuffer byteBuffer; field in GLSurfaceViewFactory.GLSurfaceViewThread
838 byteBuffer = ByteBuffer.allocateDirect(VIEW_WIDTH * VIEW_HEIGHT * 4); in run()
839 byteBuffer.order(ByteOrder.LITTLE_ENDIAN); in run()
992 byteBuffer.clear(); in saveFrame()
994 GLES20.GL_UNSIGNED_BYTE, byteBuffer); in saveFrame()
1007 return byteBuffer; in getByteBuffer()
1251 ByteBuffer byteBuffer = glSurfaceViewFactory.getByteBuffer(); in run() local
1253 byteBuffer.rewind(); in run()
1254 bitmap.copyPixelsFromBuffer(byteBuffer); in run()
DVp8CodecTestBase.java856 ByteBuffer byteBuffer = mCodec.getInputBuffer(index);
857 byteBuffer.put(encFrame);
858 byteBuffer.rewind();
DAdaptivePlaybackTest.java207 public void bytebuffer() { ex(H264(SW), new EarlyEosTest().byteBuffer()); } in bytebuffer()
1613 public Test byteBuffer() {
/cts/tests/tests/graphics/src/android/opengl/cts/
DEglConfigGLSurfaceView.java89 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4); in onSurfaceCreated() local
90 byteBuffer.order(ByteOrder.nativeOrder()); in onSurfaceCreated()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex27063 private final java.nio.ByteBuffer byteBuffer
27374 private final java.nio.ByteBuffer byteBuffer
27569 private final java.nio.ByteBuffer byteBuffer
27845 private final java.nio.ByteBuffer byteBuffer
28057 private final java.nio.ByteBuffer byteBuffer
29424 private final java.nio.ByteBuffer byteBuffer