Searched refs:intArray (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | SignatureTest.java | 108 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/ |
D | CodecDecoderDrmTest.java | 99 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()
|
D | MediaDrmCodecBlockModelTest.java | 99 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()
|
D | MediaDrmCodecCryptoAsyncTest.java | 123 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/ |
D | MediaCodecBlockModelHelper.java | 319 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/ |
D | BundleTest.java | 470 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()
|
D | ParcelTest.java | 649 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/ |
D | JavaClientTest.java | 858 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()
|