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.java102 public int write(@NonNull short[] shortArray, in write() argument
105 mNativeTrackInJavaObj, shortArray, offsetInSamples, sizeInSamples, writeFlags); in write()
164 private static native int nativeWriteShortArray(long track, @NonNull short[] shortArray, in nativeWriteShortArray() argument
DAudioRecordNative.java100 public int read(@NonNull short[] shortArray, in read() argument
103 mNativeRecordInJavaObj, shortArray, offsetInSamples, sizeInSamples, readFlags); in read()
162 private static native int nativeReadShortArray(long record, @NonNull short[] shortArray, in nativeReadShortArray() argument
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java583 short[] shortArray = mBundle.getShortArray(KEY); in testGetShortArray() local
584 assertEquals(s1, shortArray[0]); in testGetShortArray()
585 assertEquals(s2, shortArray[1]); in testGetShortArray()
587 shortArray = mBundle.getShortArray(KEY); in testGetShortArray()
588 assertEquals(s1, shortArray[0]); in testGetShortArray()
589 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.cpp660 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()