Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java457 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument
461 int samples = super.read(audioData, offsetInBytes, sizeInBytes); in read()
470 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes, int readMode) { in read() argument
474 int samples = super.read(audioData, offsetInBytes, sizeInBytes, readMode); in read()
525 public int read(ByteBuffer audioBuffer, int sizeInBytes) { in read() argument
526 int bytes = super.read(audioBuffer, sizeInBytes); in read()
542 public int read(ByteBuffer audioBuffer, int sizeInBytes, int readMode) { in read() argument
543 int bytes = super.read(audioBuffer, sizeInBytes, readMode); in read()
DMediaCodecTest.java2256 final int sizeInBytes = samples * sampleSize; in PcmAudioBufferStream() local
2257 mBuffer = ByteBuffer.allocate(sizeInBytes); in PcmAudioBufferStream()
2273 mBuffer.limit(sizeInBytes); in PcmAudioBufferStream()
2282 public int sizeInBytes() { in sizeInBytes() method in MediaCodecTest.PcmAudioBufferStream
2366 audioStream.sizeInBytes(), in testFlacIdentity()
DMediaExtractorTest.java689 audioStream.sizeInBytes(), in testFlacIdentity()
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp533 const size_t sizeInBytes = sizeInSamples * sizeof(T); in writeToTrack() local
534 ssize_t ret = track->write(data + offsetInSamples, sizeInBytes, isBlocking); in writeToTrack()
Daudio-record-native.cpp627 const size_t sizeInBytes = sizeInSamples * sizeof(T); in readFromRecord() local
628 ssize_t ret = record->read(data + offsetInSamples, sizeInBytes, isBlocking == JNI_TRUE); in readFromRecord()