/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackNative.java | 96 public int write(@NonNull byte[] byteArray, in write() argument 99 mNativeTrackInJavaObj, byteArray, offsetInSamples, sizeInSamples, writeFlags); in write() 162 private static native int nativeWriteByteArray(long track, @NonNull byte[] byteArray, in nativeWriteByteArray() argument
|
D | AudioRecordNative.java | 94 public int read(@NonNull byte[] byteArray, in read() argument 97 mNativeRecordInJavaObj, byteArray, offsetInSamples, sizeInSamples, readFlags); in read() 160 private static native int nativeReadByteArray(long record, @NonNull byte[] byteArray, in nativeReadByteArray() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckTestActivity.java | 386 byte[] byteArray; 388 byteArray = new byte[rawStream.available()]; 389 rawStream.read(byteArray); 392 byteArray = "Unable to load license text.".getBytes(); 394 final String licenseText = new String(byteArray);
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 202 byte[] byteArray = mBundle.getByteArray(KEY); in testGetByteArray() 203 assertNotNull(byteArray); in testGetByteArray() 204 assertEquals(3, byteArray.length); in testGetByteArray() 205 assertEquals(1, byteArray[0]); in testGetByteArray() 206 assertEquals(2, byteArray[1]); in testGetByteArray() 207 assertEquals(3, byteArray[2]); in testGetByteArray() 209 byteArray = mBundle.getByteArray(KEY); in testGetByteArray() 210 assertNotNull(byteArray); in testGetByteArray() 211 assertEquals(3, byteArray.length); in testGetByteArray() 212 assertEquals(1, byteArray[0]); in testGetByteArray() [all …]
|
D | ParcelTest.java | 423 byte[] byteArray = {Byte.MAX_VALUE, (byte) 111, (byte) 11, (byte) 1, (byte) 0, in testReadValue() 425 byte[] byteArray2 = new byte[byteArray.length]; in testReadValue() 427 p.writeValue(byteArray); in testReadValue() 430 for (int i = 0; i < byteArray.length; i++) { in testReadValue() 431 assertEquals(byteArray[i], byteArray2[i]); in testReadValue()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | FileParser.java | 178 public static int getIntLittleEndian(byte[] byteArray, int start) { in getIntLittleEndian() argument 182 answer = (answer << 8) | (byteArray[i] & 0xff); in getIntLittleEndian()
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-track-native.cpp | 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()
|
D | audio-record-native.cpp | 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()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 115 JNIEnv* env, jbyteArray const &byteArray) { in jbyteArrayToVector() argument 117 env->GetByteArrayElements(byteArray, /*is_copy*/NULL)); in jbyteArrayToVector() 119 for (jsize i = 0; i < env->GetArrayLength(byteArray); ++i) { in jbyteArrayToVector()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 179 byte[] byteArray = bytes.toByteArray(); in testCreateFromIncomplete() 180 target.write(byteArray, 0, byteArray.length / 2); in testCreateFromIncomplete()
|