Home
last modified time | relevance | path

Searched refs:dataBuffer (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/opengl/src/android/opengl/cts/
DCompressedTextureLoader.java182 ByteBuffer dataBuffer; in createFromUncompressedETC1() local
183 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in createFromUncompressedETC1()
184 bitmap.copyPixelsToBuffer(dataBuffer); in createFromUncompressedETC1()
185 dataBuffer.position(0); in createFromUncompressedETC1()
188 ETC1Util.ETC1Texture compressed = compressTexture(dataBuffer, in createFromUncompressedETC1()
201 ByteBuffer dataBuffer; in read() local
202 dataBuffer = ByteBuffer.allocateDirect(dataSize).order(ByteOrder.nativeOrder()); in read()
211 dataBuffer.put(ioBuffer, 0, chunkSize); in read()
214 dataBuffer.position(0); in read()
215 return dataBuffer; in read()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DUtils.java100 byte[] dataBuffer = new byte[1024]; in obtainFile()
103 fOutput.write(dataBuffer, 0, (int) offset); in obtainFile()
105 while ((readLength = is.read(dataBuffer)) != -1) { in obtainFile()
106 fOutput.write(dataBuffer, 0, readLength); in obtainFile()
DTypefaceTest.java287 byte[] dataBuffer = new byte[1024]; in obtainPath()
289 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath()
290 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
DBitmapRegionDecoderTest.java875 byte[] dataBuffer = new byte[1024]; in obtainPath()
877 while ((readLength = is.read(dataBuffer)) != -1) { in obtainPath()
878 fOutput.write(dataBuffer, 0, readLength); in obtainPath()
/cts/tests/tests/media/audio/jni/
DAudioRecorder_jni.cpp88 float* dataBuffer = nativeRecorder->GetRecordBuffer(); in Java_android_media_audio_cts_AudioRecorder_GetBufferData() local
89 if (dataBuffer != 0) { in Java_android_media_audio_cts_AudioRecorder_GetBufferData()
90 jEnv->SetFloatArrayRegion(j_data, 0, nativeRecorder->GetNumBufferSamples(), dataBuffer); in Java_android_media_audio_cts_AudioRecorder_GetBufferData()