/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | ByteBufferTest.java | 70 private static final byte[] byteArray = {0, 63, 127, 127, 15}; field in ByteBufferTest 100 ByteBuffer texelData = ByteBuffer.wrap(byteArray); in testArrayBackedTexImage2d() 115 ByteBuffer bufferData = ByteBuffer.wrap(byteArray); in testArrayBackedBufferData() 131 ByteBuffer texelData = ByteBuffer.wrap(byteArray); in testArraybackedFBTextureReadPixels() 132 ByteBuffer readBuffer = ByteBuffer.allocate(byteArray.length); in testArraybackedFBTextureReadPixels()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/ |
D | DeviceTest.java | 67 byte[] byteArray = null; in getByteArrayFromRawRes() 71 byteArray = new byte[1024]; in getByteArrayFromRawRes() 72 int nRead = inStream.read(byteArray, 0, byteArray.length); in getByteArrayFromRawRes() 74 outStream.write(byteArray, 0, nRead); in getByteArrayFromRawRes() 76 return byteArray; in getByteArrayFromRawRes()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackNative.java | 93 public int write(@NonNull byte[] byteArray, in write() argument 96 mNativeTrackInJavaObj, byteArray, offsetInSamples, sizeInSamples, writeFlags); in write() 159 private static native int nativeWriteByteArray(long track, @NonNull byte[] byteArray, in nativeWriteByteArray() argument
|
D | AudioRecordNative.java | 91 public int read(@NonNull byte[] byteArray, in read() argument 94 mNativeRecordInJavaObj, byteArray, offsetInSamples, sizeInSamples, readFlags); in read() 157 private static native int nativeReadByteArray(long record, @NonNull byte[] byteArray, in nativeReadByteArray() argument
|
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/ |
D | CodecDecoderDrmTest.java | 100 byte[] byteArray = new byte[intArray.length]; in convert() 102 byteArray[i] = (byte) intArray[i]; in convert() 104 return byteArray; in convert()
|
D | MediaDrmCodecBlockModelTest.java | 100 byte[] byteArray = new byte[intArray.length]; in convert() 102 byteArray[i] = (byte)intArray[i]; in convert() 104 return byteArray; in convert()
|
D | MediaDrmCodecCryptoAsyncTest.java | 124 byte[] byteArray = new byte[intArray.length]; in convert() 126 byteArray[i] = (byte)intArray[i]; in convert() 128 return byteArray; in convert()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVXCheckTestActivity.java | 398 byte[] byteArray; 400 byteArray = new byte[rawStream.available()]; 401 rawStream.read(byteArray); 404 byteArray = "Unable to load license text.".getBytes(); 406 final String licenseText = new String(byteArray);
|
/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/os/src/android/os/cts/ |
D | BundleTest.java | 245 byte[] byteArray = mBundle.getByteArray(KEY1); in testGetByteArray() 246 assertNotNull(byteArray); in testGetByteArray() 247 assertEquals(3, byteArray.length); in testGetByteArray() 248 assertEquals(1, byteArray[0]); in testGetByteArray() 249 assertEquals(2, byteArray[1]); in testGetByteArray() 250 assertEquals(3, byteArray[2]); in testGetByteArray() 252 byteArray = mBundle.getByteArray(KEY1); in testGetByteArray() 253 assertNotNull(byteArray); in testGetByteArray() 254 assertEquals(3, byteArray.length); in testGetByteArray() 255 assertEquals(1, byteArray[0]); in testGetByteArray() [all …]
|
D | ParcelTest.java | 577 byte[] byteArray = {Byte.MAX_VALUE, (byte) 111, (byte) 11, (byte) 1, (byte) 0, in testReadValue() 579 byte[] byteArray2 = new byte[byteArray.length]; in testReadValue() 581 p.writeValue(byteArray); in testReadValue() 584 for (int i = 0; i < byteArray.length; i++) { in testReadValue() 585 assertEquals(byteArray[i], byteArray2[i]); in testReadValue()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecBlockModelHelper.java | 320 byte[] byteArray = new byte[intArray.length]; in convert() 322 byteArray[i] = (byte)intArray[i]; in convert() 324 return byteArray; in convert()
|
/cts/tests/tests/media/audio/jni/ |
D | audio-track-native.cpp | 559 jbyteArray byteArray, jint offsetInSamples, jint sizeInSamples, jint writeFlags) in Java_android_media_audio_cts_AudioTrackNative_nativeWriteByteArray() argument 562 byteArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_audio_cts_AudioTrackNative_nativeWriteByteArray() 563 return writeArray(env, clazz, jtrack, byteArray, offsetInSamples, sizeInSamples, writeFlags); in Java_android_media_audio_cts_AudioTrackNative_nativeWriteByteArray()
|
D | audio-record-native.cpp | 653 jbyteArray byteArray, jint offsetInSamples, jint sizeInSamples, jint readFlags) in Java_android_media_audio_cts_AudioRecordNative_nativeReadByteArray() argument 655 return readArray(env, clazz, jrecord, byteArray, offsetInSamples, sizeInSamples, readFlags); in Java_android_media_audio_cts_AudioRecordNative_nativeReadByteArray()
|
/cts/tests/tests/media/drmframework/jni/ |
D | native-mediadrm-jni.cpp | 120 JNIEnv* env, jbyteArray const &byteArray) { in jbyteArrayToVector() argument 122 env->GetByteArrayElements(byteArray, /*is_copy*/NULL)); in jbyteArrayToVector() 124 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()
|