Searched refs:arrayLength (Results 1 – 6 of 6) sorted by relevance
/cts/tests/simplecpu/src/android/simplecpu/cts/ |
D | SimpleCpuTest.java | 96 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/media/src/android/media/cts/ |
D | RatingTest.java | 217 final int arrayLength = 5; 218 Rating[] ratingArrayInitializedWithNulls = Rating.CREATOR.newArray(arrayLength); 220 assertEquals(arrayLength, ratingArrayInitializedWithNulls.length);
|
D | MediaControllerTest.java | 524 final int arrayLength = 5; in testPlaybackInfoCreatorNewArray() local 526 = MediaController.PlaybackInfo.CREATOR.newArray(arrayLength); in testPlaybackInfoCreatorNewArray() 528 assertEquals(arrayLength, playbackInfoArrayInitializedWithNulls.length); in testPlaybackInfoCreatorNewArray()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | SpannableStringBuilderTest.java | 669 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/ |
D | PrintAttributesTest.java | 314 int arrayLength = array.length; 315 for (int i = 0; i < arrayLength; i++) {
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2106 int arrayLength = Array.getLength(array); in convertPrimitiveArrayToObjectArray() local 2107 if (arrayLength == 0) { in convertPrimitiveArrayToObjectArray() 2112 final T[] result = (T[]) Array.newInstance(wrapperClass, arrayLength); in convertPrimitiveArrayToObjectArray() 2113 for (int i = 0; i < arrayLength; i++) { in convertPrimitiveArrayToObjectArray()
|