/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
ThreadingTest.java | 26 import com.google.android.collect.Sets; 84 final Set<String> seenFiles = Sets.newHashSet();
|
/external/guava/guava-tests/test/com/google/common/collect/ |
TreeMultimapNaturalTest.java | 20 import static com.google.common.collect.Sets.newHashSet; 156 assertEquals(Sets.newHashSet(1, 3), fooSet); 158 assertEquals(Sets.newHashSet(), missingSet); 161 assertEquals(Sets.newHashSet(0, 1, 3), fooSet); 164 assertEquals(Sets.newHashSet(2), multimap.get("missing")); 170 assertEquals(Sets.newHashSet(3, 7), fooSet); 172 assertEquals(Sets.newHashSet(), missingSet); 175 assertEquals(Sets.newHashSet(3, 6, 7), fooSet); 178 assertEquals(Sets.newHashSet(9), multimap.get("missing")); 184 assertEquals(Sets.newHashSet(3), fooSet) [all...] |
MapMakerTest.java | 119 Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); 169 assertEquals(expectedKeys, Sets.union(map.keySet(), removalNotifications.keySet())); 170 assertTrue(Sets.intersection(map.keySet(), removalNotifications.keySet()).isEmpty());
|
AbstractImmutableSetTest.java | 74 assertEquals(Sets.newHashSet("a", "b"), set); 79 assertEquals(Sets.newHashSet("a", "b", "c"), set); 84 assertEquals(Sets.newHashSet("a", "b", "c", "d"), set); 89 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e"), set); 94 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f"), set); 99 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g"), set); 104 assertEquals(Sets.newHashSet("a", "b", "c", "d", "e", "f", "g", "h"), set); 350 "Modifying the builder should not have changed any already built sets", 453 Sets.newHashSet(expected), copyOf(misleading));
|
LinkedHashMultimapTest.java | 20 import static com.google.common.collect.Sets.newHashSet; 21 import static com.google.common.collect.Sets.newLinkedHashSet; 229 Set<Entry<String, Integer>> set = Sets.newLinkedHashSet(asList( 324 (Collection<Integer>) Sets.newHashSet(2, 3, 6)), 326 (Collection<Integer>) Sets.newHashSet(4, 5, 10, 11)), 328 (Collection<Integer>) Sets.newHashSet(7, 8)), 330 (Collection<Integer>) Sets.newHashSet(9)), 332 (Collection<Integer>) Sets.newHashSet(12, 13, 14))
|
TreeMultimapExplicitTest.java | 189 assertEquals(Sets.newHashSet(null, "tree"), keySet.headSet("yahoo")); 190 assertEquals(Sets.newHashSet("google"), keySet.tailSet("yahoo")); 191 assertEquals(Sets.newHashSet("tree"), keySet.subSet("ask", "yahoo"));
|
/development/tools/idegen/src/com/android/idegen/ |
Module.java | 21 import com.google.common.collect.Sets; 48 private Set<String> allDependencies = Sets.newHashSet(); // direct + indirect 49 private Set<File> allDependentImlFiles = Sets.newHashSet();
|
DirectorySearch.java | 21 import com.google.common.collect.Sets; 34 private static final HashSet<String> SOURCE_DIRS = Sets.newHashSet();
|
ModuleCache.java | 21 import com.google.common.collect.Sets; 74 Set<Module> modules = Sets.newHashSet();
|
ModuleIndexes.java | 21 import com.google.common.collect.Sets; 83 moduleNames = Sets.newHashSet();
|
/frameworks/base/core/java/android/net/ |
InterfaceConfiguration.java | 22 import com.google.android.collect.Sets; 34 private HashSet<String> mFlags = Sets.newHashSet();
|
NetworkPolicyManager.java | 32 import com.google.android.collect.Sets; 248 systemSignature = Sets.newHashSet( 257 final HashSet<Signature> packageSignature = Sets.newHashSet(
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
EvenMoreAsserts.java | 22 import com.google.android.collect.Sets; 110 Set<Object> set = Sets.newHashSet();
|
ContactsDatabaseHelperTest.java | 22 import com.google.android.collect.Sets; 64 final Set<Long> ids = Sets.newHashSet();
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
HashMultimap.java | 109 return Sets.<V>newHashSetWithExpectedSize(expectedValuesPerKey);
|
ImmutableSet.java | 29 * GWT emulated version of {@link ImmutableSet}. For the unsorted sets, they 32 * empty, singleton and regular sets respectively. For the sorted sets, it's 133 Set<E> delegate = Sets.newLinkedHashSet(); 157 Set<E> set = Sets.newLinkedHashSet(); 174 return Sets.equalsImpl(this, obj);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
SimpleTimeLimiter.java | 24 import com.google.common.collect.Sets; 169 Set<Method> set = Sets.newHashSet();
|
/external/mockito/src/org/mockito/internal/configuration/ |
InjectingAnnotationEngine.java | 17 import static org.mockito.internal.util.collections.Sets.newMockSafeHashSet;
|
/external/mockito/src/org/mockito/internal/configuration/injection/ |
MockInjection.java | 15 import static org.mockito.internal.util.collections.Sets.newMockSafeHashSet;
|
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/ |
MockScanner.java | 16 import static org.mockito.internal.util.collections.Sets.newMockSafeHashSet;
|
/frameworks/base/test-runner/src/android/test/ |
ClassPathPackageInfoSource.java | 21 import com.google.android.collect.Sets; 78 Set<Class<?>> topLevelClasses = Sets.newHashSet(); 104 * add them to the respective sets. Searches the package on the whole class 152 * add them to the respective sets. Searches the package in a class directory. 174 * add them to the respective sets. Searches the package in a single jar file. 204 * add them to the respective sets. Searches the package in a single apk file. 250 entryNames = Sets.newHashSet();
|
RenamingDelegatingContext.java | 19 import com.google.android.collect.Sets; 47 private Set<String> mDatabaseNames = Sets.newHashSet(); 48 private Set<String> mFileNames = Sets.newHashSet();
|
/packages/apps/Contacts/src/com/android/contacts/interactions/ |
ContactDeletionInteraction.java | 41 import com.google.common.collect.Sets; 148 /** Sets the TestLoaderManager that is used to wrap the actual LoaderManager in tests. */ 230 HashSet<Long> readOnlyRawContacts = Sets.newHashSet(); 231 HashSet<Long> writableRawContacts = Sets.newHashSet();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/configuration/ |
LocaleManagerTest.java | 19 import com.google.common.collect.Sets; 48 assertTrue(Sets.difference(languageToCountry.keySet(), 82 assertTrue(Sets.difference(languageToCountry.keySet(),
|
/external/guava/guava/src/com/google/common/collect/ |
HashMultimap.java | 114 return Sets.<V>newHashSetWithExpectedSize(expectedValuesPerKey);
|