Searched refs:byteArray (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackNative.java | 90 public int write(@NonNull byte[] byteArray, in write() argument 93 mNativeTrackInJavaObj, byteArray, offsetInSamples, sizeInSamples, writeFlags); in write() 150 private static native int nativeWriteByteArray(long track, @NonNull byte[] byteArray, in nativeWriteByteArray() argument
|
D | AudioRecordNative.java | 83 public int read(@NonNull byte[] byteArray, in read() argument 86 mNativeRecordInJavaObj, byteArray, offsetInSamples, sizeInSamples, readFlags); in read() 143 private static native int nativeReadByteArray(long record, @NonNull byte[] byteArray, in nativeReadByteArray() argument
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 199 byte[] byteArray = mBundle.getByteArray(KEY); in testGetByteArray() 200 assertNotNull(byteArray); in testGetByteArray() 201 assertEquals(3, byteArray.length); in testGetByteArray() 202 assertEquals(1, byteArray[0]); in testGetByteArray() 203 assertEquals(2, byteArray[1]); in testGetByteArray() 204 assertEquals(3, byteArray[2]); in testGetByteArray() 206 byteArray = mBundle.getByteArray(KEY); in testGetByteArray() 207 assertNotNull(byteArray); in testGetByteArray() 208 assertEquals(3, byteArray.length); in testGetByteArray() 209 assertEquals(1, byteArray[0]); in testGetByteArray() [all …]
|
D | ParcelTest.java | 409 byte[] byteArray = {Byte.MAX_VALUE, (byte) 111, (byte) 11, (byte) 1, (byte) 0, in testReadValue() 411 byte[] byteArray2 = new byte[byteArray.length]; in testReadValue() 413 p.writeValue(byteArray); in testReadValue() 416 for (int i = 0; i < byteArray.length; i++) { in testReadValue() 417 assertEquals(byteArray[i], byteArray2[i]); in testReadValue()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-track-native.cpp | 556 jbyteArray byteArray, jint offsetInSamples, jint sizeInSamples, jint writeFlags) in Java_android_media_cts_AudioTrackNative_nativeWriteByteArray() argument 559 byteArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_cts_AudioTrackNative_nativeWriteByteArray() 560 return writeArray(env, clazz, jtrack, byteArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_cts_AudioTrackNative_nativeWriteByteArray()
|
D | audio-record-native.cpp | 614 jbyteArray byteArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) in Java_android_media_cts_AudioRecordNative_nativeReadByteArray() argument 616 return readArray(env, clazz, jrecord, byteArray, offsetInSamples, sizeInSamples, readFlags); in Java_android_media_cts_AudioRecordNative_nativeReadByteArray()
|