Home
last modified time | relevance | path

Searched refs:offsetInSamples (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackNative.java97 int offsetInSamples, int sizeInSamples, @WriteFlags int writeFlags) { in write() argument
99 mNativeTrackInJavaObj, byteArray, offsetInSamples, sizeInSamples, writeFlags); in write()
103 int offsetInSamples, int sizeInSamples, @WriteFlags int writeFlags) { in write() argument
105 mNativeTrackInJavaObj, shortArray, offsetInSamples, sizeInSamples, writeFlags); in write()
109 int offsetInSamples, int sizeInSamples, @WriteFlags int writeFlags) { in write() argument
111 mNativeTrackInJavaObj, floatArray, offsetInSamples, sizeInSamples, writeFlags); in write()
163 int offsetInSamples, int sizeInSamples, @WriteFlags int writeFlags); in nativeWriteByteArray() argument
165 int offsetInSamples, int sizeInSamples, @WriteFlags int writeFlags); in nativeWriteShortArray() argument
167 int offsetInSamples, int sizeInSamples, @WriteFlags int writeFlags); in nativeWriteFloatArray() argument
DAudioRecordNative.java95 int offsetInSamples, int sizeInSamples, @ReadFlags int readFlags) { in read() argument
97 mNativeRecordInJavaObj, byteArray, offsetInSamples, sizeInSamples, readFlags); in read()
101 int offsetInSamples, int sizeInSamples, @ReadFlags int readFlags) { in read() argument
103 mNativeRecordInJavaObj, shortArray, offsetInSamples, sizeInSamples, readFlags); in read()
107 int offsetInSamples, int sizeInSamples, @ReadFlags int readFlags) { in read() argument
109 mNativeRecordInJavaObj, floatArray, offsetInSamples, sizeInSamples, readFlags); in read()
161 int offsetInSamples, int sizeInSamples, @ReadFlags int readFlags); in nativeReadByteArray() argument
163 int offsetInSamples, int sizeInSamples, @ReadFlags int readFlags); in nativeReadShortArray() argument
165 int offsetInSamples, int sizeInSamples, @ReadFlags int readFlags); in nativeReadFloatArray() argument
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp525 jint offsetInSamples, jint sizeInSamples, jint writeFlags) in writeToTrack() argument
534 ssize_t ret = track->write(data + offsetInSamples, sizeInBytes, isBlocking); in writeToTrack()
540 T javaAudioData, jint offsetInSamples, jint sizeInSamples, jint writeFlags) in writeArray() argument
552 jint ret = writeToTrack(jtrack, cAudioData, offsetInSamples, sizeInSamples, writeFlags); in writeArray()
559 jbyteArray byteArray, jint offsetInSamples, jint sizeInSamples, jint writeFlags) in Java_android_media_cts_AudioTrackNative_nativeWriteByteArray() argument
562 byteArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_cts_AudioTrackNative_nativeWriteByteArray()
563 return writeArray(env, clazz, jtrack, byteArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_cts_AudioTrackNative_nativeWriteByteArray()
568 jshortArray shortArray, jint offsetInSamples, jint sizeInSamples, jint writeFlags) in Java_android_media_cts_AudioTrackNative_nativeWriteShortArray() argument
571 shortArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_cts_AudioTrackNative_nativeWriteShortArray()
572 return writeArray(env, clazz, jtrack, shortArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_cts_AudioTrackNative_nativeWriteShortArray()
[all …]
Daudio-record-native.cpp619 jint offsetInSamples, jint sizeInSamples, jint readFlags) in readFromRecord() argument
628 ssize_t ret = record->read(data + offsetInSamples, sizeInBytes, isBlocking == JNI_TRUE); in readFromRecord()
634 T javaAudioData, jint offsetInSamples, jint sizeInSamples, jint readFlags) in readArray() argument
646 jint ret = readFromRecord(jrecord, cAudioData, offsetInSamples, sizeInSamples, readFlags); in readArray()
653 jbyteArray byteArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) in Java_android_media_cts_AudioRecordNative_nativeReadByteArray() argument
655 return readArray(env, clazz, jrecord, byteArray, offsetInSamples, sizeInSamples, readFlags); in Java_android_media_cts_AudioRecordNative_nativeReadByteArray()
660 jshortArray shortArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) in Java_android_media_cts_AudioRecordNative_nativeReadShortArray() argument
662 return readArray(env, clazz, jrecord, shortArray, offsetInSamples, sizeInSamples, readFlags); in Java_android_media_cts_AudioRecordNative_nativeReadShortArray()
667 jfloatArray floatArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) in Java_android_media_cts_AudioRecordNative_nativeReadFloatArray() argument
669 return readArray(env, clazz, jrecord, floatArray, offsetInSamples, sizeInSamples, readFlags); in Java_android_media_cts_AudioRecordNative_nativeReadFloatArray()