HomeSort by relevance Sort by last modified time
    Searched refs:asList (Results 276 - 300 of 655) sorted by null

<<11121314151617181920>>

  /external/android-mock/tests/com/google/android/testing/mocking/
AndroidFrameworkMockGeneratorTest.java 94 expectedNames.addAll(Arrays.asList(new String[] {
105 new ArrayList<String>(Arrays.asList(new String[] {
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
TreeSetTest.java 57 TreeSet myTreeSet = new TreeSet(Arrays.asList(objArray));
220 Set as = new HashSet(Arrays.asList(objArray));
Collections2Test.java 251 List<String> strings = Arrays.asList(new String[] { "1", "2", "3", "1", "1" });
265 List<Object> objects = Arrays.asList(new Object[] { new Integer(1), null, null,
331 assertTrue(l.equals(Arrays.asList(new Object[] { new Integer(1),
  /external/doclava/src/com/google/doclava/
ClearPage.java 224 public static ArrayList<String> DROIDDOC_VALID_CONTENT_TYPES = new ArrayList<String>(Arrays.asList(".txt", ".css",
229 public static ArrayList<String> DROIDDOC_EXCEPTED_CONTENT_TYPES = new ArrayList<String>(Arrays.asList(""));
  /external/guava/guava-tests/test/com/google/common/collect/
ImmutableSetTest.java 178 ImmutableList<String> list = set.asList();
185 ImmutableList<String> list = set.asList();
SetsTest.java 92 = Arrays.<Integer>asList();
95 = Arrays.asList(0, 1, 1);
106 = Arrays.asList(8, 6, 7, 5, 3, 0, 9);
122 Arrays.asList(elements).subList(0, size - 1))
127 Arrays.asList(elements).subList(1, size))
187 unfiltered.addAll(Arrays.asList(elements));
360 verifySetContents(set, Arrays.asList(0, 1));
452 Arrays.asList(new Derived("foo"), new Derived("bar"));
460 Arrays.asList(new LegacyComparable("foo"), new LegacyComparable("bar"));
    [all...]
SetOperationsTest.java 20 import static java.util.Arrays.asList;
95 Sets.newLinkedHashSet(asList(elements)),
97 asList(elements[1], elements[0], elements[2])));
TreeMultisetTest.java 69 = TreeMultiset.create(Arrays.asList("foo", "bar", "foo"));
186 assertTrue(subset.removeAll(Arrays.asList("a", "c")));
206 assertTrue(subset.retainAll(Arrays.asList("a", "c")));
  /frameworks/base/core/java/android/widget/
ArrayAdapter.java 128 init(context, resource, 0, Arrays.asList(objects));
141 init(context, resource, textViewResourceId, Arrays.asList(objects));
  /frameworks/base/core/java/com/android/internal/notification/
DemoContactNotificationScorer.java 56 private static final List<String> RELEVANT_KEYS_LIST = Arrays.asList(
70 return Arrays.asList(charSequence.toString());
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
SamplingProfiler.java 418 Set<Thread> n = new HashSet<Thread>(Arrays.asList(newThreads));
419 Set<Thread> o = new HashSet<Thread>(Arrays.asList(oldThreads));
  /libcore/luni/src/test/java/libcore/java/lang/
ThrowableTest.java 345 assertEquals(Arrays.asList(throwable.getSuppressed()), Arrays.asList(expectedSuppressed));
  /libcore/luni/src/test/java/tests/api/javax/net/ssl/
SSLServerSocketTest.java 231 Arrays.asList(sss.getSupportedCipherSuites()),
232 Arrays.asList(res));
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactLocaleUtilsTest.java 274 assertEquals(new HashSet<String>(Arrays.asList(expectedKeys)), allKeys);
282 final List<String> expectedLabelList = Arrays.asList(expectedLabels);
SearchIndexManagerTest.java 74 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.CHINA)) {
90 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.CHINA)) {
110 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) {
126 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) {
150 if (!Arrays.asList(Collator.getAvailableLocales()).contains(Locale.KOREA)) {
  /libcore/luni/src/test/java/libcore/java/sql/
OldResultSetGetterTests.java 69 static List<String> colNames = Arrays.asList("BoolVal", "IntVal", "LongVal",
76 static List<String> values = Arrays.asList("1", "-1", "22", "2", "33",
608 List<Integer> input = Arrays.asList(1, -1, 22, 2, 33,3, 1, 2);
629 List<String> inputS = Arrays.asList("BoolVal", "IntVal", "LongVal",
632 List<Integer> input = Arrays.asList(1, -1, 22, 2, 33, 3, 1, 2);
698 * List<String> types = Arrays.asList("BOOLEAN", "INT", "LONG",
705 List<String> types = Arrays.asList("VARCHAR", "INTEGER", "INTEGER",
861 List<String> texts = Arrays.asList("Test text message tiny",
874 texts = Arrays.asList("1", "-1", "22", "2", "33",
982 // Arrays.asList("12:35:45", "2007-10-09 14:28:02.0"
    [all...]
  /external/guava/guava-tests/test/com/google/common/cache/
PopulatedCachesTest.java 20 import static java.util.Arrays.asList;
200 ASSERT.that(asList(keys.toArray())).hasContentsAnyOrder(expectedArray);
201 ASSERT.that(asList(keys.toArray(new Object[(int) cache.size()])))
228 ASSERT.that(asList(values.toArray())).hasContentsAnyOrder(expectedArray);
229 ASSERT.that(asList(values.toArray(new Object[(int) cache.size()])))
  /external/guava/guava-tests/test/com/google/common/math/
DoubleMathTest.java 34 import static java.util.Arrays.asList;
338 for (int exp : asList(-1022, -50, -1, 0, 1, 2, 3, 4, 100, 1022, 1023)) {
339 for (RoundingMode mode : asList(HALF_EVEN, HALF_UP, HALF_DOWN)) {
356 asList(0.0, -0.0, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) {
452 Arrays.asList(Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN)) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapbMessageMmsEmail.java 449 from = new ArrayList<Rfc822Token>(Arrays.asList(tokens));
453 to = new ArrayList<Rfc822Token>(Arrays.asList(tokens));
457 cc = new ArrayList<Rfc822Token>(Arrays.asList(tokens));
461 bcc = new ArrayList<Rfc822Token>(Arrays.asList(tokens));
465 replyTo = new ArrayList<Rfc822Token>(Arrays.asList(tokens));
  /frameworks/base/core/tests/coretests/src/android/net/
UriTest.java 278 assertEquals(Arrays.asList("b", "b2"), uri.getQueryParameters("a"));
282 assertEquals(Arrays.asList("b", "b2"), uri.getQueryParameters("a"));
738 assertEquals(Arrays.asList(""),
740 assertEquals(Arrays.asList(""),
742 assertEquals(Arrays.asList(""),
744 assertEquals(Arrays.asList("a", "", ""),
746 assertEquals(Arrays.asList("a", "", ""),
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
GeneratedMessageTest.java 352 builder.addAllRepeatedInt32(Arrays.asList(1, 2, 3, 4));
353 builder.addAllRepeatedForeignEnum(Arrays.asList(ForeignEnum.FOREIGN_BAZ));
357 builder.addAllRepeatedForeignMessage(Arrays.asList(foreignMessage));
360 assertEquals(message.getRepeatedInt32List(), Arrays.asList(1, 2, 3, 4));
362 Arrays.asList(ForeignEnum.FOREIGN_BAZ));
374 Arrays.asList(foreignMessage, (ForeignMessage) null));
382 Arrays.asList(ForeignEnum.FOREIGN_BAZ, null));
389 builder.addAllRepeatedString(Arrays.asList("one", null));
396 builder.addAllRepeatedBytes(Arrays.asList(TestUtil.toBytes("one"), null));
    [all...]
  /external/guava/guava/src/com/google/common/base/
Joiner.java 135 return appendTo(appendable, Arrays.asList(parts));
194 return appendTo(builder, Arrays.asList(parts));
245 return join(Arrays.asList(parts));
  /external/guava/guava/src/com/google/common/collect/
ImmutableMultiset.java 50 // TODO(user): write an efficient asList() implementation
147 return copyOf(Arrays.asList(elements));
161 return copyOf(Arrays.asList(elements));
168 * example, {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3))} yields
199 return copyOf(Arrays.asList(elements));
232 * {@code ImmutableMultiset.copyOf(Arrays.asList(2, 3, 1, 3).iterator())}
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
AbstractIteratorTester.java 426 return Arrays.asList(copy);
614 return Arrays.asList(hasNext, next, remove);
664 return Arrays.asList(
  /libcore/crypto/src/main/java/org/conscrypt/
TrustManagerImpl.java 229 wholeChain.addAll(Arrays.asList(newChain));
261 CertPath certPath = factory.generateCertPath(Arrays.asList(newChain));
410 = Collections.unmodifiableSet(new HashSet<String>(Arrays.asList(EKU_OID)));

Completed in 271 milliseconds

<<11121314151617181920>>