Home
last modified time | relevance | path

Searched refs:arrayLength (Results 1 – 4 of 4) sorted by relevance

/cts/tests/simplecpu/src/android/simplecpu/cts/
DSimpleCpuTest.java96 private void doTestSort(int numberRepeat, int arrayLength) { in doTestSort() argument
100 result[i] = CpuNative.runSort(arrayLength, numberRepeatInEachCall); in doTestSort()
104 report.addValue("array_length", arrayLength, ResultType.NEUTRAL, ResultUnit.NONE); in doTestSort()
/cts/tests/tests/text/src/android/text/cts/
DSpannableStringBuilderTest.java668 final int arrayLength = 5; in testGetSpans_returnsInInsertionOrder_priorityAndRegular() local
670 final SubscriptSpan[] regularSpans = new SubscriptSpan[arrayLength]; in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
671 final SubscriptSpan[] prioritySpans = new SubscriptSpan[arrayLength]; in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
672 for (int i = 0; i < arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
681 for (int i = 1; i <= arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
691 assertEquals(arrayLength * 2, spans.length); in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
694 for (int i = 0; i < arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
699 for (int i = 0; i < arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
700 assertSame(regularSpans[i], spans[i + arrayLength]); in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
/cts/tests/tests/print/src/android/print/cts/
DPrintAttributesTest.java312 int arrayLength = array.length;
313 for (int i = 0; i < arrayLength; i++) {
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1412 int arrayLength = Array.getLength(array); in convertPrimitiveArrayToObjectArray() local
1413 if (arrayLength == 0) { in convertPrimitiveArrayToObjectArray()
1418 final T[] result = (T[]) Array.newInstance(wrapperClass, arrayLength); in convertPrimitiveArrayToObjectArray()
1419 for (int i = 0; i < arrayLength; i++) { in convertPrimitiveArrayToObjectArray()