Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/pm/cts/
DSignatureTest.java108 int[] intArray = new int[1]; in testSignatureToCharsExistingArrayCorrectlySized() local
112 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsExistingArrayCorrectlySized()
122 assertEquals(intArray[0], SIGNATURE_BYTE_ARRAY.length); in testSignatureToCharsExistingArrayCorrectlySized()
128 int[] intArray = new int[1]; in testSignatureToCharsExistingArrayTooSmall() local
131 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsExistingArrayTooSmall()
141 assertEquals(intArray[0], SIGNATURE_BYTE_ARRAY.length); in testSignatureToCharsExistingArrayTooSmall()
147 int[] intArray = null; in testSignatureToCharsNullArrays() local
150 char[] charArray = signature.toChars(existingCharArray, intArray); in testSignatureToCharsNullArrays()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DCodecDecoderDrmTest.java99 static byte[] convert(int[] intArray) { in convert() argument
100 byte[] byteArray = new byte[intArray.length]; in convert()
101 for (int i = 0; i < intArray.length; ++i) { in convert()
102 byteArray[i] = (byte) intArray[i]; in convert()
DMediaDrmCodecBlockModelTest.java99 private static byte[] convert(int[] intArray) { in convert() argument
100 byte[] byteArray = new byte[intArray.length]; in convert()
101 for (int i = 0; i < intArray.length; ++i) { in convert()
102 byteArray[i] = (byte)intArray[i]; in convert()
DMediaDrmCodecCryptoAsyncTest.java123 private static byte[] convert(int[] intArray) { in convert() argument
124 byte[] byteArray = new byte[intArray.length]; in convert()
125 for (int i = 0; i < intArray.length; ++i) { in convert()
126 byteArray[i] = (byte)intArray[i]; in convert()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecBlockModelHelper.java319 private static byte[] convert(int[] intArray) { in convert() argument
320 byte[] byteArray = new byte[intArray.length]; in convert()
321 for (int i = 0; i < intArray.length; ++i) { in convert()
322 byteArray[i] = (byte)intArray[i]; in convert()
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java470 int[] intArray = mBundle.getIntArray(KEY1); in testGetIntArray() local
471 assertEquals(1006, intArray[0]); in testGetIntArray()
472 assertEquals(1007, intArray[1]); in testGetIntArray()
474 intArray = mBundle.getIntArray(KEY1); in testGetIntArray()
475 assertEquals(1006, intArray[0]); in testGetIntArray()
476 assertEquals(1007, intArray[1]); in testGetIntArray()
DParcelTest.java649 int[] intArray = {111, 11, 1, 0, -1, -11, -111}; in testReadValue() local
650 int[] intArray2 = new int[intArray.length]; in testReadValue()
652 p.writeValue(intArray); in testReadValue()
657 assertEquals(intArray[i], intArray2[i]); in testReadValue()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java858 final int[] intArray = { 1, 2, 3 }; in testRepeatSimpleUnion() local
859 SimpleUnion origin = SimpleUnion.b(intArray); in testRepeatSimpleUnion()
862 Assert.assertArrayEquals(intArray, ret.getB()); in testRepeatSimpleUnion()