Home
last modified time | relevance | path

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

/cts/tests/tests/media/audio/jni/
Daudio-metadata-native.cpp51 JNIEnv *env, jclass /*clazz*/, jobject javaByteBuffer, jint sizeInBytes) in Java_android_media_audio_cts_AudioMetadataTest_nativeGetByteBuffer() argument
62 audio_utils::metadata::ByteString(bytes, bytes + sizeInBytes)); in Java_android_media_audio_cts_AudioMetadataTest_nativeGetByteBuffer()
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()
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java584 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument
588 int samples = super.read(audioData, offsetInBytes, sizeInBytes); in read()
598 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes, int readMode) { in read() argument
602 int samples = super.read(audioData, offsetInBytes, sizeInBytes, readMode); in read()
654 public int read(ByteBuffer audioBuffer, int sizeInBytes) { in read() argument
655 int bytes = super.read(audioBuffer, sizeInBytes); in read()
670 public int read(ByteBuffer audioBuffer, int sizeInBytes, int readMode) { in read() argument
671 int bytes = super.read(audioBuffer, sizeInBytes, readMode); in read()
DStreamUtils.java272 final int sizeInBytes = samples * sampleSize; in PcmAudioBufferStream() local
273 mBuffer = ByteBuffer.allocate(sizeInBytes); in PcmAudioBufferStream()
289 mBuffer.limit(sizeInBytes); in PcmAudioBufferStream()
298 public int sizeInBytes() { in sizeInBytes() method in StreamUtils.PcmAudioBufferStream
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioMetadataTest.java363 private static native ByteBuffer nativeGetByteBuffer(ByteBuffer buffer, int sizeInBytes); in nativeGetByteBuffer() argument
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java2240 audioStream.sizeInBytes(), in testFlacIdentity()