Home
last modified time | relevance | path

Searched refs:byteBuffer (Results 1 – 13 of 13) 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()
DEglConfigGLSurfaceView.java89 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(triangleVertices.length * 4); in onSurfaceCreated() local
90 byteBuffer.order(ByteOrder.nativeOrder()); in onSurfaceCreated()
/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.java251 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runCheckAudioBuffer()
254 decoderAudio.checkReturnedAudioBuffer(byteBuffer, bufferIndex); in runCheckAudioBuffer()
310 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runFlush()
505 MediaSync sync, ByteBuffer byteBuffer, int bufferIndex) { in runPlayAV()
613 public AudioBuffer(ByteBuffer byteBuffer, int bufferIndex) { in AudioBuffer() argument
614 mByteBuffer = byteBuffer; in AudioBuffer()
811 public void checkReturnedAudioBuffer(ByteBuffer byteBuffer, int bufferIndex) { in checkReturnedAudioBuffer() argument
814 if (audioBuffer.mByteBuffer != byteBuffer in checkReturnedAudioBuffer()
DDecodeAccuracyTestBase.java1032 private ByteBuffer byteBuffer; field in GLSurfaceViewFactory.GLSurfaceViewThread
1057 byteBuffer = ByteBuffer.allocateDirect(VIEW_WIDTH * VIEW_HEIGHT * 4); in run()
1058 byteBuffer.order(ByteOrder.LITTLE_ENDIAN); in run()
1138 byteBuffer = null; in release()
1213 byteBuffer.clear(); in saveFrame()
1215 GLES20.GL_UNSIGNED_BYTE, byteBuffer); in saveFrame()
1228 return byteBuffer; in getByteBuffer()
1508 final ByteBuffer byteBuffer = glSurfaceViewFactory.getByteBuffer(); in run() local
1510 byteBuffer.rewind(); in run()
1511 bitmap.copyPixelsFromBuffer(byteBuffer); in run()
[all …]
DAudioRecordTest.java213 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(BUFFER_SIZE); in testAudioRecordOP() local
219 mAudioRecord.read(byteBuffer, BUFFER_SIZE); in testAudioRecordOP()
1036 ByteBuffer byteBuffer = in doTest() local
1049 byteBuffer.position(lastPosition); in doTest()
1050 byteBuffer.limit(lastLimit); in doTest()
1051 int ret = blocking ? record.read(byteBuffer, amount) : in doTest()
1052 record.read(byteBuffer, amount, AudioRecord.READ_NON_BLOCKING); in doTest()
1063 assertEquals(lastPosition, byteBuffer.position()); in doTest()
1064 assertEquals(lastLimit, byteBuffer.limit()); in doTest()
DVpxCodecTestBase.java866 ByteBuffer byteBuffer = mCodec.getInputBuffer(index);
867 byteBuffer.put(encFrame);
868 byteBuffer.rewind();
DAdaptivePlaybackTest.java203 public void bytebuffer() { ex(H264(SW), new EarlyEosTest().byteBuffer()); } in bytebuffer()
1555 public Test byteBuffer() {
/cts/tests/tests/telephony/src/android/telephony/cts/
DVisualVoicemailServiceTest.java589 ByteBuffer byteBuffer = ByteBuffer.wrap(message.getUserData()); in onReceive() local
591 messageBody.append(decoder.decode(byteBuffer).toString()); in onReceive()
/cts/tests/tests/graphics/src/android/graphics/cts/
DImageDecoderTest.java149 ByteBuffer byteBuffer = ByteBuffer.allocateDirect(buffer.length); in getAsDirectByteBuffer() local
150 byteBuffer.put(buffer); in getAsDirectByteBuffer()
151 byteBuffer.position(0); in getAsDirectByteBuffer()
152 return byteBuffer; in getAsDirectByteBuffer()
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...