|   /external/guava/guava-tests/test/com/google/common/collect/ | 
| SetOperationsTest.java  | 49                 Sets.<String>newHashSet(), Sets.<String>newHashSet()); 61                 Sets.<String>newHashSet(elements), Sets.newHashSet(elements)); 71                 Sets.<String>newHashSet(), Sets.newHashSet(elements)); 82                 Sets.newHashSet(elements), Sets.<String>newHashSet()); 109                 Sets.newHashSet(elements[0]), 110                 Sets.newHashSet(elements[1], elements[2]))     [all...] | 
| AbstractSetMultimapTest.java  | 65     equalMap.put("foo", Sets.newHashSet(1, nullValue())); 66     equalMap.put(nullKey(), Sets.newHashSet(3)); 72     equalMap.put("foo", Sets.newHashSet(3, nullValue())); 73     equalMap.put(nullKey(), Sets.newHashSet(1)); 113     assertEquals(Sets.newHashSet(1, 3), array[0]); 118         asList(Sets.newHashSet(1, 3), Sets.newHashSet(3)))); 120         asList(Sets.newHashSet(1, 3), Sets.newHashSet(1)))); 161     Set<Map.Entry<String, Integer>> same = Sets.newHashSet(     [all...] | 
| ForwardingObjectTest.java  | 41     final Set<String> delegate = Sets.newHashSet("foo");
  | 
| SetsTest.java  | 21 import static com.google.common.collect.Sets.newHashSet; 121                 ? Sets.newHashSet( 123                 : Sets.newHashSet(elements); 126                 ? Sets.newHashSet( 128                 : Sets.<String>newHashSet(); 138             Set<String> set1 = Sets.newHashSet(elements); 140             Set<String> set2 = Sets.newHashSet(elements); 151             Set<String> set1 = Sets.newHashSet(elements); 153             Set<String> set2 = Sets.newHashSet(samples().e3); 354     HashSet<Integer> set = Sets.newHashSet();     [all...] | 
| LinkedHashMultimapTest.java  | 20 import static com.google.common.collect.Sets.newHashSet; 221         assertEquals(newHashSet(elements), multimap.get("foo")); 249         assertEquals(newHashSet(elements), multimap.entries()); 314         assertEquals(newHashSet(elements), multimap.keySet()); 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)) 353         assertEquals(newHashSet(elements), multimap.asMap().entrySet())     [all...] | 
| 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...] | 
| 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); 453             Sets.newHashSet(expected), copyOf(misleading));
  | 
| FauxveridesTest.java  | 20 import static com.google.common.collect.Sets.newHashSet; 130     Set<MethodSignature> methods = newHashSet(); 138     Set<MethodSignature> publicStaticMethods = newHashSet(); 153     Set<Class<?>> classes = newHashSet();
  | 
| TransformedSetTest.java  | 70     Set<Integer> original = Sets.newHashSet(0, 1, 2, 3); 109       Set<Integer> invertedIntegers = Sets.newHashSet(Iterables.transform(integers,
  | 
|   /packages/providers/ContactsProvider/src/com/android/providers/contacts/ | 
| TransactionContext.java  | 63         if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 70                 mDirtyRawContacts = Sets.newHashSet(); 80             mChangedRawContacts = Sets.newHashSet(); 91         if (mStaleSearchIndexRawContacts == null) mStaleSearchIndexRawContacts = Sets.newHashSet(); 96         if (mStaleSearchIndexContacts == null) mStaleSearchIndexContacts = Sets.newHashSet(); 106         if (mUpdatedRawContacts == null) mUpdatedRawContacts = Sets.newHashSet(); 111         if (mDirtyRawContacts == null) mDirtyRawContacts = Sets.newHashSet(); 116         if (mChangedRawContacts == null) mChangedRawContacts = Sets.newHashSet(); 121         if (mStaleSearchIndexRawContacts == null) mStaleSearchIndexRawContacts = Sets.newHashSet(); 126         if (mStaleSearchIndexContacts == null) mStaleSearchIndexContacts = Sets.newHashSet();     [all...] | 
|   /external/chromium_org/sync/android/javatests/src/org/chromium/sync/notifier/ | 
| InvalidationPreferencesTest.java  | 45         HashSet<ModelType> expectedTypes = CollectionUtil.newHashSet( 48                 CollectionUtil.newHashSet("BOOKMARK", "SESSION", "0!!!INVALID")); 61                 CollectionUtil.newHashSet(ModelType.ALL_TYPES_TYPE)); 90         Set<String> syncTypes = CollectionUtil.newHashSet("BOOKMARK", ModelType.ALL_TYPES_TYPE); 91         Set<ObjectId> objectIds = CollectionUtil.newHashSet(
  | 
| InvalidationServiceTest.java  | 87                         CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)), 89                         CollectionUtil.newHashSet(ModelType.BOOKMARK, ModelType.SESSION)), 103                 CollectionUtil.newHashSet( 110                 CollectionUtil.newHashSet( 119                 CollectionUtil.newHashSet( 121                 CollectionUtil.newHashSet( 124         assertEquals(CollectionUtil.newHashSet(ModelType.BOOKMARK.toObjectId()), regAccumulator); 125         assertEquals(CollectionUtil.newHashSet(ModelType.TYPED_URL.toObjectId()), 155         assertEquals(CollectionUtil.newHashSet( 185         assertEquals(CollectionUtil.newHashSet(     [all...] | 
|   /external/libphonenumber/java/test/com/android/i18n/phonenumbers/geocoding/ | 
| MappingFileProviderTest.java  | 45     mapping.put(1, newHashSet("en")); 46     mapping.put(86, newHashSet("zh", "en", "zh_Hant")); 47     mapping.put(41, newHashSet("de", "fr", "it", "rm")); 48     mapping.put(65, newHashSet("en", "zh_Hans", "ms", "ta")); 53   private static HashSet<String> newHashSet(String... strings) {
  | 
|   /packages/apps/Contacts/tests/src/com/android/contacts/editor/ | 
| ContactEditorUtilsTest.java  | 94         MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType), Sets.newHashSet(types)); 100         MoreAsserts.assertEquals(Sets.newHashSet(TYPE1.accountType, TYPE2EX.accountType), 101                 Sets.newHashSet(types)); 108                 Sets.newHashSet(TYPE1.accountType, TYPE2.accountType, TYPE2EX.accountType), 109                 Sets.newHashSet(types)); 130                 Sets.newHashSet(mAccountTypes.mAccounts), 138                 Sets.newHashSet(mAccountTypes.mAccounts), 146                 Sets.newHashSet(mAccountTypes.mAccounts), 294         Set<T> ret = Sets.newHashSet();     [all...] | 
|   /external/guava/guava-tests/test/com/google/common/cache/ | 
| CacheBuilderFactory.java  | 41   private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null); 42   private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null); 43   private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null); 44   private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null); 45   private Set<DurationSpec> expireAfterAccesses = Sets.newHashSet((DurationSpec) null); 46   private Set<DurationSpec> refreshes = Sets.newHashSet((DurationSpec) null); 47   private Set<Strength> keyStrengths = Sets.newHashSet((Strength) null); 48   private Set<Strength> valueStrengths = Sets.newHashSet((Strength) null);
  | 
|   /frameworks/base/core/java/com/google/android/collect/ | 
| Sets.java  | 45     public static <K> HashSet<K> newHashSet() { 55      * <p>{@code Set<Base> set = Sets.newHashSet(sub1, sub2);} 60      * <p>{@code Set<Base> set = Sets.<Base>newHashSet(sub1, sub2);} 66     public static <E> HashSet<E> newHashSet(E... elements) {
  | 
|   /frameworks/base/test-runner/src/android/test/ | 
| ClassPathPackageInfo.java  | 46         Set<ClassPathPackageInfo> info = Sets.newHashSet(); 54         Set<Class<?>> set = Sets.newHashSet();
  | 
| DatabaseTestUtils.java  | 44         Set<String> schemaSet = Sets.newHashSet();
  | 
|   /external/chromium_org/base/android/java/src/org/chromium/base/ | 
| CollectionUtil.java  | 20     public static <E> HashSet<E> newHashSet(E... elements) {
  | 
|   /frameworks/base/core/tests/coretests/src/android/widget/listview/ | 
| ListInterleaveFocusables.java  | 32     private Set<Integer> mFocusablePositions = Sets.newHashSet(1, 3, 6);
  | 
|   /development/tools/idegen/src/com/android/idegen/ | 
| AggregatedModule.java  | 43     private HashSet<String> directDependencies = Sets.newHashSet(); 115         Set<File> result = Sets.newHashSet();
  | 
| Module.java  | 52     private Set<String> allDependencies = Sets.newHashSet(); // direct + indirect 54     private Set<File> allDependentImlFiles = Sets.newHashSet();
  | 
|   /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/ | 
| UrlUtilities.java  | 24     private static final HashSet<String> ACCEPTED_SCHEMES = CollectionUtil.newHashSet( 30     private static final HashSet<String> DOWNLOADABLE_SCHEMES = CollectionUtil.newHashSet(
  | 
|   /external/guava/guava-tests/test/com/google/common/io/ | 
| CheckCloseSupplier.java  | 38   private final Set<Callback> open = Sets.newHashSet();
  | 
|   /packages/apps/Dialer/src/com/android/dialer/calllog/ | 
| PhoneNumberUtilsWrapper.java  | 32     private static final Set<String> LEGACY_UNKNOWN_NUMBERS = Sets.newHashSet("-1", "-2", "-3");
  |