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.java669 final int arrayLength = 5; in testGetSpans_returnsInInsertionOrder_priorityAndRegular() local
671 final SubscriptSpan[] regularSpans = new SubscriptSpan[arrayLength]; in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
672 final SubscriptSpan[] prioritySpans = new SubscriptSpan[arrayLength]; in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
673 for (int i = 0; i < arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
682 for (int i = 1; i <= arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
692 assertEquals(arrayLength * 2, spans.length); in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
695 for (int i = 0; i < arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
700 for (int i = 0; i < arrayLength; i++) { in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
701 assertSame(regularSpans[i], spans[i + arrayLength]); in testGetSpans_returnsInInsertionOrder_priorityAndRegular()
/cts/tests/tests/print/src/android/print/cts/
DPrintAttributesTest.java314 int arrayLength = array.length;
315 for (int i = 0; i < arrayLength; i++) {
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1529 int arrayLength = Array.getLength(array); in convertPrimitiveArrayToObjectArray() local
1530 if (arrayLength == 0) { in convertPrimitiveArrayToObjectArray()
1535 final T[] result = (T[]) Array.newInstance(wrapperClass, arrayLength); in convertPrimitiveArrayToObjectArray()
1536 for (int i = 0; i < arrayLength; i++) { in convertPrimitiveArrayToObjectArray()