HomeSort by relevance Sort by last modified time
    Searched refs:Arrays (Results 76 - 100 of 4955) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/junit/src/main/java/org/junit/internal/runners/
InitializationError.java 3 import java.util.Arrays;
27 this(Arrays.asList(errors));
  /external/junit/src/main/java/org/junit/runners/model/
InitializationError.java 3 import java.util.Arrays;
30 this(Arrays.asList(error));
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Dns.java 20 import java.util.Arrays;
39 return Arrays.asList(InetAddress.getAllByName(hostname));
  /external/testng/src/test/java/test/listeners/
ListenerInXmlTest.java 9 import java.util.Arrays;
16 tng.setTestSuites(Arrays.asList(getPathToResource("listener-in-xml.xml")));
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
FakeInputStream.java 20 import java.util.Arrays;
45 Arrays.checkOffsetAndCount(buffer.length, offset, length);
  /tools/loganalysis/src/com/android/loganalysis/item/
ActivityServiceItem.java 18 import java.util.Arrays;
30 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
PageAllocationFailureItem.java 19 import java.util.Arrays;
35 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(ORDER));
  /tools/loganalysis/tests/src/com/android/loganalysis/parser/
ActivityServiceParserTest.java 22 import java.util.Arrays;
34 List<String> inputBlock = Arrays.asList(
DumpsysProcStatsParserTest.java 22 import java.util.Arrays;
34 List<String> inputBlock = Arrays.asList(
TracesParserTest.java 23 import java.util.Arrays;
35 List<String> lines = Arrays.asList(
93 List<String> expectedStack = Arrays.asList(
112 List<String> expectedStack = Arrays.asList(
121 List<String> lines = Arrays.asList(
144 lines = Arrays.asList(
TraceFormatParserTest.java 28 import java.util.Arrays;
53 Arrays.asList("print fmt: \"foo=%llu, bar=%s\", REC->foo, REC->bar");
57 List<String> expectedParameters = Arrays.asList("foo", "bar");
58 List<String> expectedNumericParameters = Arrays.asList("foo");
59 List<String> expectedHexParameters = Arrays.asList();
60 List<String> expectedStringParameters = Arrays.asList("bar");
77 List<String> formatLine = Arrays.asList("print fmt: \"foo\"");
79 List<String> expectedParameters = Arrays.asList();
101 List<String> formatLine = Arrays.asList("");
112 List<String> formatLine = Arrays.asList("foo", "bar")
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
BenchmarkMethods.java 25 import java.util.Arrays;
44 if (Arrays.equals(parameterTypes, MACROBENCHMARK_PARAMS)) {
46 } else if (Arrays.equals(parameterTypes, MICROBENCHMARK_PARAMS)) {
48 } else if (Arrays.equals(parameterTypes, PICOBENCHMARK_PARAMS)) {
73 if (!Arrays.equals(parameterTypes, new Class<?>[] {int.class})
74 && !Arrays.equals(parameterTypes, new Class<?>[] {long.class})) {
  /libcore/ojluni/src/main/java/java/text/
DateFormatSymbols.java 47 import java.util.Arrays;
455 return Arrays.copyOf(eras, eras.length);
463 eras = Arrays.copyOf(newEras, newEras.length);
483 return Arrays.copyOf(months, months.length);
491 months = Arrays.copyOf(newMonths, newMonths.length);
511 return Arrays.copyOf(shortMonths, shortMonths.length);
519 shortMonths = Arrays.copyOf(newShortMonths, newShortMonths.length);
529 return Arrays.copyOf(weekdays, weekdays.length);
539 weekdays = Arrays.copyOf(newWeekdays, newWeekdays.length);
549 return Arrays.copyOf(shortWeekdays, shortWeekdays.length)
    [all...]
  /art/test/1946-list-descriptors/src-art/art/
Test1946.java 59 List<T> f = Arrays.asList(full);
61 msg = Arrays.toString(full) + " is not same as " + Arrays.toString(sub) + ": " + msg;
62 check(Arrays.asList(full).containsAll(Arrays.asList(sub)), msg);
66 msg = Arrays.toString(full) + " does not contain all of " + Arrays.toString(sub) + ": " + msg;
67 check(Arrays.asList(full).containsAll(Arrays.asList(sub)), msg);
102 checkEq(getClassloaderDescriptors(makeClassLoaderFrom(Arrays.asList(TEST_CLASSES, TEST_CLASSES)
    [all...]
  /libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DoublePrimitiveOpsTests.java 28 import java.util.Arrays;
41 double sum = Arrays.asList(1.0, 2.0, 3.0, 4.0, 5.0).stream().mapToDouble(i -> i).reduce(0.0, Double::sum);
62 Arrays.sort(sortedContent);
65 double[] array = Arrays.stream(content).sorted().toArray();
70 double[] array = Arrays.stream(content).parallel().sorted().toArray();
80 Arrays.sort(sortedContent);
83 double[] array = Arrays.stream(content).sorted().sorted().toArray();
88 double[] array = Arrays.stream(content).parallel().sorted().sorted().toArray();
98 Assert.assertTrue(Arrays.equals(expected, actual));
103 Assert.assertTrue(Arrays.equals(expected, actual))
    [all...]
  /packages/services/Car/tests/carservice_unit_test/src/com/android/car/
VmsLayerDependencyTest.java 28 import java.util.Arrays;
71 new HashSet<>(Arrays.asList()));
84 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER, ANOTHER_DEPENDENT_VMS_LAYER)));
97 new HashSet<>(Arrays.asList()));
111 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER, ANOTHER_DEPENDENT_VMS_LAYER)));
116 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER, ANOTHER_DEPENDENT_VMS_LAYER)));
126 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER)));
131 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER)));
140 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER)));
145 new HashSet<>(Arrays.asList(ANOTHER_DEPENDENT_VMS_LAYER)))
    [all...]
VmsLayersAvailabilityTest.java 26 import java.util.Arrays;
41 private static final Set<Integer> PUBLISHERS_1 = new HashSet<>(Arrays.asList(PUBLISHER_ID_1));
42 private static final Set<Integer> PUBLISHERS_2 = new HashSet<>(Arrays.asList(PUBLISHER_ID_2));
44 new HashSet<>(Arrays.asList(PUBLISHER_ID_1, PUBLISHER_ID_2));
47 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_Y)));
50 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_Z)));
53 new VmsLayerDependency(LAYER_Y, new HashSet<VmsLayer>(Arrays.asList(LAYER_Z)));
56 new VmsLayerDependency(LAYER_Y, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
59 new VmsLayerDependency(LAYER_Z, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
65 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)))
    [all...]
SlidingWindowTest.java 20 import java.util.Arrays;
44 final List<Integer> elements = Arrays.asList(3, 4);
51 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
52 final List<Integer> expectedElements = Arrays.asList(6, 7, 8, 9, 10);
59 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
60 final List<Integer> expectedElements = Arrays.asList(6, 7, 8, 9, 10);
69 final List<Integer> elements = Arrays.asList(1, 2, 3, 4, 5, 6, 7, 8, 9, 10);
VmsAvailableLayersTest.java 29 import java.util.Arrays;
59 new HashSet<>(Arrays.asList(PUBLISHER_ID)));
63 new HashSet<>(Arrays.asList(PUBLISHER_ID)));
67 new VmsAvailableLayers(new HashSet<>(Arrays.asList()), SEQUENCE_NUMBER);
80 new HashSet<>(Arrays.asList(
96 new HashSet<>(Arrays.asList()),
101 new HashSet<>(Arrays.asList()),
112 new HashSet<>(Arrays.asList(
119 new HashSet<>(Arrays.asList(
132 new HashSet<>(Arrays.asList(VMS_ASSOCIATED_LAYER))
    [all...]
VmsLayersOfferingTest.java 28 import java.util.Arrays;
69 new HashSet<>(Arrays.asList(DEPENDENT_VMS_LAYER)));
74 new HashSet<>(Arrays.asList(ANOTHER_DEPENDENT_VMS_LAYER)));
78 new VmsLayersOffering(new HashSet<>(Arrays.asList()), PUBLISHER_ID);
90 new HashSet<>(Arrays.asList(
106 new HashSet<>(Arrays.asList()), PUBLISHER_ID);
110 new HashSet<>(Arrays.asList()), PUBLISHER_ID);
120 new HashSet<>(Arrays.asList(VMS_LAYER_DEPENDENCY, ANOTHER_VMS_LAYER_DEPENDENCY)), PUBLISHER_ID);
124 new HashSet<>(Arrays.asList(VMS_LAYER_DEPENDENCY, ANOTHER_VMS_LAYER_DEPENDENCY)), PUBLISHER_ID);
134 new HashSet<>(Arrays.asList(VMS_LAYER_DEPENDENCY)), PUBLISHER_ID)
    [all...]
  /external/mockito/src/test/java/org/mockito/internal/debugging/
WarningsFinderTest.java 15 import java.util.Arrays;
17 import static java.util.Arrays.asList;
32 WarningsFinder finder = new WarningsFinder(asList(unusedStub), Arrays.<InvocationMatcher>asList());
45 WarningsFinder finder = new WarningsFinder(Arrays.<Invocation>asList(), Arrays.<InvocationMatcher>asList(unstubbedInvocation));
59 WarningsFinder finder = new WarningsFinder(Arrays.<Invocation> asList(stub), Arrays.<InvocationMatcher> asList(wrongArg));
  /external/mockito/src/test/java/org/mockito/internal/matchers/
MatchersPrinterTest.java 12 import java.util.Arrays;
24 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1), new Equals(2)), new PrintSettings());
30 String line = printer.getArgumentsBlock((List) Arrays.asList(new Equals(1), new Equals(2)), new PrintSettings());
37 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1L), new Equals(2)), PrintSettings.verboseMatchers(1));
45 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1L), new Equals("x")), PrintSettings.verboseMatchers(1));
53 String line = printer.getArgumentsBlock((List) Arrays.asList(new Equals(1L), new Equals(2)), PrintSettings.verboseMatchers(0, 1));
61 String line = printer.getArgumentsLine((List) Arrays.asList(new Equals(1L), NotNull.NOT_NULL), PrintSettings.verboseMatchers(0));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
IncludeFinderTest.java 18 import java.util.Arrays;
63 finder.setIncluded("bar", Arrays.<String>asList("foo", "baz"), false);
64 finder.setIncluded("baz", Arrays.<String>asList("foo"), false);
65 assertEquals(Arrays.asList("bar", "baz"), finder.getIncludedBy("foo"));
67 assertEquals(Arrays.asList("baz"), finder.getIncludedBy("foo"));
99 assertEquals(Arrays.asList("layout3", "layout4"), includes);
124 assertEquals(Arrays.asList("myfragment"), includes);
  /external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
MultisetsTest.java 26 import java.util.Arrays;
73 HashMultiset.create(Arrays.asList("a", "b", "a"));
80 Iterable<String> toRemove = Arrays.asList("a", "b", "a");
88 HashMultiset.create(Arrays.asList("a", "b", "a"));
94 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"));
96 Arrays.asList("a", "b", "b", "c"));
101 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"));
102 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a"));
108 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a"));
113 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"))
    [all...]
  /external/guava/guava-tests/test/com/google/common/collect/
MultisetsTest.java 28 import java.util.Arrays;
75 HashMultiset.create(Arrays.asList("a", "b", "a"));
82 Iterable<String> toRemove = Arrays.asList("a", "b", "a");
90 HashMultiset.create(Arrays.asList("a", "b", "a"));
96 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"));
98 Arrays.asList("a", "b", "b", "c"));
103 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"));
104 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a"));
110 Multiset<String> ms2 = HashMultiset.create(Arrays.asList("a", "b", "a"));
115 Multiset<String> ms1 = HashMultiset.create(Arrays.asList("a", "b", "a"))
    [all...]

Completed in 1071 milliseconds

1 2 34 5 6 7 8 91011>>