Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioTrackNative.java101 public int write(@NonNull short[] shortArray, in write() argument
104 mNativeTrackInJavaObj, shortArray, offsetInSamples, sizeInSamples, writeFlags); in write()
163 private static native int nativeWriteShortArray(long track, @NonNull short[] shortArray, in nativeWriteShortArray() argument
DAudioRecordNative.java94 public int read(@NonNull short[] shortArray, in read() argument
97 mNativeRecordInJavaObj, shortArray, offsetInSamples, sizeInSamples, readFlags); in read()
156 private static native int nativeReadShortArray(long record, @NonNull short[] shortArray, in nativeReadShortArray() argument
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java580 short[] shortArray = mBundle.getShortArray(KEY); in testGetShortArray() local
581 assertEquals(s1, shortArray[0]); in testGetShortArray()
582 assertEquals(s2, shortArray[1]); in testGetShortArray()
584 shortArray = mBundle.getShortArray(KEY); in testGetShortArray()
585 assertEquals(s1, shortArray[0]); in testGetShortArray()
586 assertEquals(s2, shortArray[1]); in testGetShortArray()
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp568 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()
Daudio-record-native.cpp623 jshortArray shortArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) in Java_android_media_cts_AudioRecordNative_nativeReadShortArray() argument
625 return readArray(env, clazz, jrecord, shortArray, offsetInSamples, sizeInSamples, readFlags); in Java_android_media_cts_AudioRecordNative_nativeReadShortArray()