Searched refs:sizeInBytes (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/media/audio/jni/ |
D | audio-metadata-native.cpp | 51 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()
|
D | audio-track-native.cpp | 533 const size_t sizeInBytes = sizeInSamples * sizeof(T); in writeToTrack() local 534 ssize_t ret = track->write(data + offsetInSamples, sizeInBytes, isBlocking); in writeToTrack()
|
D | audio-record-native.cpp | 627 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/ |
D | AudioHelper.java | 584 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()
|
D | StreamUtils.java | 272 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/ |
D | AudioMetadataTest.java | 363 private static native ByteBuffer nativeGetByteBuffer(ByteBuffer buffer, int sizeInBytes); in nativeGetByteBuffer() argument
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecTest.java | 2240 audioStream.sizeInBytes(), in testFlacIdentity()
|