Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DSignatureTest.java91 int[] intArray = new int[1]; in testSignatureToCharsExistingArrayCorrectlySized() local
95 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsExistingArrayCorrectlySized()
105 assertEquals(intArray[0], SIGNATURE_BYTE_ARRAY.length); in testSignatureToCharsExistingArrayCorrectlySized()
110 int[] intArray = new int[1]; in testSignatureToCharsExistingArrayTooSmall() local
113 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsExistingArrayTooSmall()
123 assertEquals(intArray[0], SIGNATURE_BYTE_ARRAY.length); in testSignatureToCharsExistingArrayTooSmall()
128 int[] intArray = null; in testSignatureToCharsNullArrays() local
131 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsNullArrays()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java406 int[] intArray = mBundle.getIntArray(KEY); in testGetIntArray() local
407 assertEquals(1006, intArray[0]); in testGetIntArray()
408 assertEquals(1007, intArray[1]); in testGetIntArray()
410 intArray = mBundle.getIntArray(KEY); in testGetIntArray()
411 assertEquals(1006, intArray[0]); in testGetIntArray()
412 assertEquals(1007, intArray[1]); in testGetIntArray()
DParcelTest.java494 int[] intArray = {111, 11, 1, 0, -1, -11, -111}; in testReadValue() local
495 int[] intArray2 = new int[intArray.length]; in testReadValue()
497 p.writeValue(intArray); in testReadValue()
502 assertEquals(intArray[i], intArray2[i]); in testReadValue()
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecBlockModelTest.java501 private static byte[] convert(int[] intArray) { in convert() argument
502 byte[] byteArray = new byte[intArray.length]; in convert()
503 for (int i = 0; i < intArray.length; ++i) { in convert()
504 byteArray[i] = (byte)intArray[i]; in convert()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java756 final int[] intArray = { 1, 2, 3 }; in testRepeatSimpleUnion() local
757 SimpleUnion origin = SimpleUnion.b(intArray); in testRepeatSimpleUnion()
760 Assert.assertArrayEquals(intArray, ret.getB()); in testRepeatSimpleUnion()