/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
ClientParser.java | 23 import com.google.common.collect.ImmutableList; 41 this(ImmutableList.of(structure));
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableList.java | 43 * ImmutableList} contains its own private data and will <i>never</i> change. 44 * {@code ImmutableList} is convenient for {@code public static final} lists 63 public abstract class ImmutableList<E> extends ImmutableCollection<E> 66 private static final ImmutableList<Object> EMPTY = 76 public static <E> ImmutableList<E> of() { 77 return (ImmutableList<E>) EMPTY; 88 public static <E> ImmutableList<E> of(E element) { 97 public static <E> ImmutableList<E> of(E e1, E e2) { 106 public static <E> ImmutableList<E> of(E e1, E e2, E e3) { 115 public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
EqualsTester.java | 26 import com.google.common.collect.ImmutableList; 97 equalityGroups.add(ImmutableList.copyOf(equalityGroup));
|
EquivalenceTester.java | 26 import com.google.common.collect.ImmutableList; 90 items.addAll(ImmutableList.copyOf(group));
|
RelationshipTester.java | 23 import com.google.common.collect.ImmutableList; 56 private final List<ImmutableList<T>> groups = Lists.newArrayList(); 68 groups.add(ImmutableList.copyOf(group)); 74 ImmutableList<T> group = groups.get(groupNumber); 86 ImmutableList<T> unrelatedGroup = groups.get(unrelatedGroupNumber);
|
/external/turbine/javatests/com/google/turbine/binder/ |
BinderErrorTest.java | 23 import com.google.common.collect.ImmutableList; 39 private static final ImmutableList<Path> BOOTCLASSPATH = 40 ImmutableList.of(Paths.get(System.getProperty("java.home")).resolve("lib/rt.jar")); 355 Binder.bind(ImmutableList.of(parseLines(source)), Collections.emptyList(), BOOTCLASSPATH)
|
ClassPathBinderTest.java | 24 import com.google.common.collect.ImmutableList; 57 private static final ImmutableList<Path> BOOTCLASSPATH = 58 ImmutableList.of(Paths.get(System.getProperty("java.home")).resolve("lib/rt.jar")); 63 ClassPathBinder.bind(ImmutableList.of(), BOOTCLASSPATH, tliBuilder); 66 Scope javaLang = tli.lookupPackage(ImmutableList.of("java", "lang")); 80 ClassPathBinder.bind(ImmutableList.of(), BOOTCLASSPATH, TopLevelIndex.builder()); 152 ClassPathBinder.bind(ImmutableList.of(lib), ImmutableList.of(bcp), TopLevelIndex.builder()); 166 ClassPathBinder.bind(ImmutableList.of(lib), ImmutableList.of(), TopLevelIndex.builder()) [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheLoaderTest.java | 19 import com.google.common.collect.ImmutableList; 83 baseLoader.loadAll(ImmutableList.of(new Object())); 94 asyncReloader.loadAll(ImmutableList.of(new Object()));
|
AbstractCacheTest.java | 21 import com.google.common.collect.ImmutableList; 63 cache.getAllPresent(ImmutableList.of(new Object()))); 78 cache.getAllPresent(ImmutableList.of(cachedKey, new Object()))); 95 List<Integer> toInvalidate = ImmutableList.of(1, 2, 3, 4);
|
/external/guice/core/src/com/google/inject/spi/ |
Message.java | 22 import com.google.common.collect.ImmutableList; 53 this.sources = ImmutableList.copyOf(sources); 62 this(ImmutableList.of(), message, cause); 66 this(ImmutableList.of(source), message, null); 70 this(ImmutableList.of(), message, null); 136 return new Message(ImmutableList.copyOf(sourcesAsStrings), message, cause);
|
/external/guice/core/test/com/google/inject/ |
TypeListenerTest.java | 26 import com.google.common.collect.ImmutableList; 126 assertEquals(ImmutableList.of(), injectees); 129 assertEquals(ImmutableList.of(a1), injectees); 132 assertEquals(ImmutableList.of(a1, a2), injectees); 135 assertEquals(ImmutableList.of(a1, a2, b1), injectees); 138 assertEquals(ImmutableList.of(a1, a2, b1), injectees); 141 assertEquals(ImmutableList.of(a1, a2, b1, a3, a4), injectees);
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableList.java | 34 * GWT emulated version of {@link ImmutableList}. 40 public abstract class ImmutableList<E> extends ImmutableCollection<E> 42 static final ImmutableList<Object> EMPTY = 45 ImmutableList() {} 49 public static <E> ImmutableList<E> of() { 50 return (ImmutableList<E>) EMPTY; 53 public static <E> ImmutableList<E> of(E element) { 57 public static <E> ImmutableList<E> of(E e1, E e2) { 59 ImmutableList.<E>nullCheckedList(e1, e2)); 62 public static <E> ImmutableList<E> of(E e1, E e2, E e3) [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowShortcutManagerTest.java | 11 import com.google.common.collect.ImmutableList; 34 ImmutableList.of(createShortcut("id1"), createShortcut("id2"))); 41 ImmutableList.of(createShortcut("id1"), createShortcut("id1"))); 52 shortcutManager.addDynamicShortcuts(ImmutableList.of(shortcut1)); 54 shortcutManager.addDynamicShortcuts(ImmutableList.of(shortcut2)); 66 shortcutManager.addDynamicShortcuts(ImmutableList.of(shortcut1)); 68 shortcutManager.addDynamicShortcuts(ImmutableList.of(shortcut2)); 76 ImmutableList.of(createShortcut("id1"), createShortcut("id2"))); 88 ImmutableList.of(shortcut1, shortcut2)); 91 shortcutManager.removeDynamicShortcuts(ImmutableList.of("id1")) [all...] |
ShadowNotificationManagerTest.java | 17 import com.google.common.collect.ImmutableList; 74 notificationManager.createNotificationChannels(ImmutableList.of(channel1, channel2));
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/host/ |
CoverageMeasurementForwarderTest.java | 29 import com.google.common.collect.ImmutableList; 102 mForwarder.setCoverageMeasurements(ImmutableList.of(ARTIFACT_NAME1)); 110 mForwarder.setCoverageMeasurements(ImmutableList.of(ARTIFACT_NAME1, ARTIFACT_NAME2)); 119 mForwarder.setCoverageMeasurements(ImmutableList.of(NONEXISTANT_ARTIFACT));
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableListTest.java | 35 * Unit test for {@link ImmutableList}. 46 List<String> list = ImmutableList.of(); 51 List<String> list = ImmutableList.of("a"); 56 List<String> list = ImmutableList.of("a", "b"); 61 List<String> list = ImmutableList.of("a", "b", "c"); 66 List<String> list = ImmutableList.of("a", "b", "c", "d"); 71 List<String> list = ImmutableList.of("a", "b", "c", "d", "e"); 76 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f"); 81 List<String> list = ImmutableList.of("a", "b", "c", "d", "e", "f", "g"); 86 List<String> list = ImmutableList.of [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableListTest.java | 60 * Unit test for {@link ImmutableList}. 73 .named("ImmutableList") 79 .named("ImmutableList, built with Builder.add") 85 .named("ImmutableList, built with Builder.addAll") 91 .named("ImmutableList, reversed") 98 .named("ImmutableList, head subList") 105 .named("ImmutableList, tail subList") 112 .named("ImmutableList, middle subList") 120 .named("ImmutableList, unhashable values") 129 List<String> list = ImmutableList.of() [all...] |
BenchmarkHelpers.java | 94 ImmutableList {
|
/external/guava/guava-tests/test/com/google/common/base/ |
ConverterTest.java | 22 import com.google.common.collect.ImmutableList; 57 private static final ImmutableList<String> STRINGS = ImmutableList.of("123", "456"); 58 private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L); 65 assertEquals(LONGS, ImmutableList.copyOf(convertedValues)); 71 assertEquals(ImmutableList.of(789L, 123L), ImmutableList.copyOf(convertedValues)); 76 assertEquals(ImmutableList.of("123"), mutableList); 86 assertEquals(STRINGS, ImmutableList.copyOf(convertedValues)) [all...] |
/external/guava/guava-tests/test/com/google/common/io/ |
ResourcesTest.java | 23 import com.google.common.collect.ImmutableList; 72 assertEquals(ImmutableList.of(I18N),
|
/external/guice/core/src/com/google/inject/internal/ |
SingletonScope.java | 4 import com.google.common.collect.ImmutableList; 213 throw new ProvisionException(ImmutableList.of(
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/model/typesystem/ |
ArrayTypeTest.java | 28 import com.google.common.collect.ImmutableList; 59 ImmutableList.of(new ResolvedTypeVariable(tpA)), typeSolver)); 62 ImmutableList.of(new ReferenceTypeImpl(new ReflectionClassDeclaration(String.class, typeSolver), typeSolver)), typeSolver)); 142 ImmutableList.of(OBJECT), typeSolver)); 144 assertEquals(ImmutableList.of(OBJECT), 152 ImmutableList.of(OBJECT), typeSolver),
|
/external/llvm/include/llvm/ADT/ |
ImmutableList.h | 1 //==--- ImmutableList.h - Immutable (functional) list interface --*- C++ -*-==// 10 // This file defines the ImmutableList class. 54 /// ImmutableList - This class represents an immutable (functional) list. 57 /// This interface matches ImmutableSet and ImmutableMap. ImmutableList 63 class ImmutableList { 75 ImmutableList(const ImmutableListImpl<T>* x = nullptr) : X(x) {} 85 iterator(ImmutableList l) : L(l.getInternalPointer()) {} 91 ImmutableList getList() const { return L; } 118 bool isEqual(const ImmutableList& L) const { return X == L.X; } 120 bool operator==(const ImmutableList& L) const { return isEqual(L); [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
ImmutableList.h | 1 //==--- ImmutableList.h - Immutable (functional) list interface --*- C++ -*-==// 10 // This file defines the ImmutableList class. 55 /// ImmutableList - This class represents an immutable (functional) list. 58 /// This interface matches ImmutableSet and ImmutableMap. ImmutableList 64 class ImmutableList { 76 ImmutableList(const ImmutableListImpl<T>* x = 0) : X(x) {} 86 iterator(ImmutableList l) : L(l.getInternalPointer()) {} 92 ImmutableList getList() const { return L; } 119 bool isEqual(const ImmutableList& L) const { return X == L.X; } 121 bool operator==(const ImmutableList& L) const { return isEqual(L); [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/ |
WifiNetworkScoreCacheTest.java | 35 import com.google.common.collect.ImmutableList; 95 mScoreCache.updateScores(ImmutableList.of(mValidScoredNetwork)); 139 mScoreCache.updateScores(ImmutableList.of(network2)); 159 mScoreCache.updateScores(ImmutableList.of(noCurve)); 186 mScoreCache.updateScores(ImmutableList.of(network)); 215 mScoreCache.updateScores(ImmutableList.of(network1)); 216 mScoreCache.updateScores(ImmutableList.of(network2)); 219 mScoreCache.updateScores(ImmutableList.of(network3));
|