/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
CopyOnWriteArrayListTest.java | 37 list.addAll(Arrays.asList("a", "b", "c", "d", "e")); 54 list.addAll(Arrays.asList("a", "b", "c", "d", "e")); 66 list.addAll(Arrays.asList("a", "b", "c", "d", "e")); 78 list.addAll(Arrays.asList("a", "b", "c", "d", "e")); 81 list.addAll(Arrays.asList("A", "B", "C", "D", "E")); 91 list.addAll(Arrays.asList("a", "b", "c", "d", "e")); 93 list.removeAll(Arrays.asList()); 94 assertEquals(Arrays.asList("a", "b", "c", "d", "e"), list); 96 list.removeAll(Arrays.asList("e")); 97 assertEquals(Arrays.asList("a", "b", "c", "d"), list) [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
ProxySelectorTest.java | 66 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(ftpUri)); 67 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpUri)); 68 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(httpsUri)); 69 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)); 70 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); 79 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("a", 80))), 81 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("b", 80))), 83 assertEquals(Arrays.asList(new Proxy(Proxy.Type.HTTP, createUnresolved("c", 443))), 85 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(otherUri)); 86 assertEquals(Arrays.asList(Proxy.NO_PROXY), proxySelector.select(socketUri)) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
ScalingMatrix.java | 33 "ScalingList4x4=" + (ScalingList4x4 == null ? null : Arrays.asList(ScalingList4x4)) + "\n" + 34 ", ScalingList8x8=" + (ScalingList8x8 == null ? null : Arrays.asList(ScalingList8x8)) + "\n" +
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
GenericExceptionsTest.java | 32 assertEquals(Arrays.<Type>asList(IOException.class), 33 Arrays.asList(method.getGenericExceptionTypes())); 38 assertEquals(Arrays.<Type>asList(IOException.class), 39 Arrays.asList(method.getGenericExceptionTypes())); 44 assertEquals(Arrays.<Type>asList(IOException.class), 45 Arrays.asList(constructor.getGenericExceptionTypes())); 50 assertEquals(Arrays.<Type>asList(IOException.class), 51 Arrays.asList(constructor.getGenericExceptionTypes())); 59 assertEquals(Arrays.<Type>asList(Throwable.class), Arrays.asList(typeVariable.getBounds())) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
BaseViewRuleTest.java | 37 assertEquals("foo", BaseViewRule.join('|', Arrays.asList("foo"))); 39 assertEquals("foo,bar", BaseViewRule.join(',', Arrays.asList("foo", "bar"))); 40 assertEquals("foo|bar", BaseViewRule.join('|', Arrays.asList("foo", "bar")));
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLParametersTest.java | 38 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 52 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 53 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())); 67 assertEquals(Arrays.asList(cipherSuites), Arrays.asList(p.getCipherSuites())); 82 assertEquals(Arrays.asList(protocols), Arrays.asList(p.getProtocols())) [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
LoggingPrintStreamTest.java | 47 assertEquals(Arrays.asList(lines), out.lines); 56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 65 assertEquals(Arrays.asList("4" + o, "2"), out.lines); 70 assertEquals(Arrays.asList("Name: Bob"), out.lines); 72 assertEquals(Arrays.asList("Name: Bob", "Employer: Google"), out.lines); 86 assertEquals(Arrays.asList("4", "2"), out.lines); 91 assertEquals(Arrays.asList("Foo", "Bar"), out.lines); 93 assertEquals(Arrays.asList("Foo", "Bar", "Tee"), out.lines); 98 assertEquals(Arrays.asList("Foo", "Bar"), out.lines); 100 assertEquals(Arrays.asList("Foo", "Bar", "Tee"), out.lines) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
IncludeFinderTest.java | 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-tests/test/com/google/common/collect/ |
LinkedHashMultimapTest.java | 23 import static java.util.Arrays.asList; 120 ASSERT.that(multimap.replaceValues("foo", asList(6, 7))).hasContentsInOrder(5, 3); 208 newLinkedHashSet(asList(2, 3, 4, 7, 8)), 214 multimap.putAll("foo", asList(2, 3, 4)); 215 multimap.putAll("bar", asList(5, 6)); 216 multimap.putAll("foo", asList(7, 8)); 229 Set<Entry<String, Integer>> set = Sets.newLinkedHashSet(asList( 242 multimap.putAll("foo", asList(2, 3)); 243 multimap.putAll("bar", asList(4, 5)); 244 multimap.putAll("foo", asList(6)) [all...] |
ImmutableMultisetTest.java | 19 import static java.util.Arrays.asList; 101 assertEquals(HashMultiset.create(asList("a")), multiset); 106 assertEquals(HashMultiset.create(asList("a", "b")), multiset); 111 assertEquals(HashMultiset.create(asList("a", "b", "c")), multiset); 116 assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset); 121 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e")), 128 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), 136 HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), 149 assertEquals(HashMultiset.create(asList("a")), multiset); 178 assertEquals(HashMultiset.create(asList("a")), multiset) [all...] |
ImmutableSortedMultisetTest.java | 17 import static java.util.Arrays.asList; 108 assertEquals(HashMultiset.create(asList("a")), multiset); 113 assertEquals(HashMultiset.create(asList("a", "b")), multiset); 118 assertEquals(HashMultiset.create(asList("a", "b", "c")), multiset); 123 assertEquals(HashMultiset.create(asList("a", "b", "c", "d")), multiset); 128 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e")), multiset); 133 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f")), multiset); 138 assertEquals(HashMultiset.create(asList("a", "b", "c", "d", "e", "f", "g")), multiset); 150 assertEquals(HashMultiset.create(asList("a")), multiset); 159 return Arrays.<Comparable>asList(input) [all...] |
ListsTest.java | 21 import static java.util.Arrays.asList; 68 = asList(0, 1, 1); 84 = Lists.newLinkedList(asList(1, 2, 3, 4)); 87 = asList("1", "2", "3", "4"); 110 return Lists.asList(elements[0], rest); 113 .named("Lists.asList, 2 parameter") 122 return Lists.asList(elements[0], elements[1], rest); 125 .named("Lists.asList, 3 parameter") 183 Lists.newLinkedList(asList(elements)); 209 return Lists.reverse(asList(reverseElements)) [all...] |
LinkedListMultimapTest.java | 25 import static java.util.Arrays.asList; 87 assertTrue(multimap.replaceValues("foo", Arrays.asList(2, 4)) 89 assertTrue(multimap.replaceValues("bar", Arrays.asList(2, 4)) 185 map.replaceValues("bar", asList(1, 2)); 197 assertEquals(asList(1, 2), foos); 273 entry.setValue(Arrays.<Integer>asList()); 350 multimap.putAll("foo", asList(2, 3)); 351 multimap.putAll("bar", asList(4, 5)); 371 multimap.putAll("foo", asList(2, 3)); 372 multimap.putAll("bar", asList(4, 5)) [all...] |
/external/mockito/src/org/mockito/internal/util/collections/ |
Sets.java | 12 import static java.util.Arrays.asList; 31 return new LinkedHashSet<T>(asList(elements));
|
/frameworks/base/tools/preload/ |
Policy.java | 42 private static final Set<String> SERVICES = new HashSet<String>(Arrays.asList( 62 = new HashSet<String>(Arrays.asList(
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParser_V21.java | 49 Arrays.asList("BEGIN", "END", "LOGO", "PHOTO", "LABEL", "FN", "TITLE", "SOUND", 58 Arrays.asList("DOM", "INTL", "POSTAL", "PARCEL", "HOME", "WORK", 72 Arrays.asList("INLINE", "URL", "CONTENT-ID", "CID"))); 85 Arrays.asList(VCardConstants.PARAM_ENCODING_7BIT,
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
AssetManagerTest.java | 46 files = Arrays.asList(assetManager.list(testPath)); 51 files = Arrays.asList(assetManager.list(testPath)); 55 files = Arrays.asList(assetManager.list(testPath)); 59 files = Arrays.asList(assetManager.list(testPath)); 63 files = Arrays.asList(assetManager.list(testPath)); 67 files = Arrays.asList(assetManager.list(testPath));
|
RadioGroupTest.java | 35 assertEquals(Arrays.asList(BUTTON_ID), listener.onCheckedChangedCheckedIds); 36 assertEquals(Arrays.asList(radioGroup), listener.onCheckedChangedGroups); 48 assertEquals(Arrays.asList(BUTTON_ID, -1), listener.onCheckedChangedCheckedIds); 49 assertEquals(Arrays.asList(radioGroup, radioGroup), listener.onCheckedChangedGroups);
|
/cts/tools/signature-tools/test/signature/converter/util/ |
AbstractTestSourceConverter.java | 33 return convert(Visibility.PROTECTED, new HashSet<CompilationUnit>(Arrays.asList(units))); 36 return convert(visibility, new HashSet<CompilationUnit>(Arrays.asList(units)));
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListToArrayTester.java | 58 assertEquals(message, Arrays.asList(expected), Arrays.asList(actual));
|
/external/junit/src/org/junit/ |
Assume.java | 3 import static java.util.Arrays.asList; 47 assumeThat(asList(objects), Each.each(notNullValue()));
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
ValueCompleterTest.java | 61 Arrays.asList(new String[] { })); 69 Arrays.asList(new String[] { "match_parent", "fill_parent", "wrap_content" })); 77 Arrays.asList(new String[] { "fill_parent", "match_parent", "wrap_content" })); 85 Arrays.asList(new String[] { "50dp", "fill_parent", "match_parent", 94 Arrays.asList(new String[] { "42sp", "42dp" })); 102 Arrays.asList(new String[] { "top", "bottom", "left", "right", "center" })); 110 Arrays.asList(new String[] { 119 Arrays.asList(new String[] {
|
/external/junit/src/org/junit/internal/runners/ |
InitializationError.java | 20 this(Arrays.asList(errors));
|
/external/junit/src/org/junit/runners/model/ |
InitializationError.java | 22 this(Arrays.asList(error));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/res/ |
StringArrayResourceLoaderTest.java | 37 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.items)), hasItems("foo", "bar")); 42 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.greetings)), hasItems("hola", "Hello")); 47 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(android.R.array.emailAddressTypes)), hasItems("Home", "Work", "Other", "Custom")); 48 assertThat(Arrays.asList(stringArrayResourceLoader.getArrayValue(R.array.emailAddressTypes)), hasItems("Doggy", "Catty"));
|