HomeSort by relevance Sort by last modified time
    Searched refs:HashSet (Results 1 - 25 of 1877) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
HashSetTest.java 24 import java.util.HashSet;
41 HashSet hs;
46 * java.util.HashSet#HashSet()
49 // Test for method java.util.HashSet()
50 HashSet hs2 = new HashSet();
51 assertEquals("Created incorrect HashSet", 0, hs2.size());
55 * java.util.HashSet#HashSet(int
    [all...]
  /cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/
UniqueModuleCountUtil.java 20 import java.util.HashSet;
36 HashSet<String> uniqueNames = new HashSet<>();
  /developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/cardstream/
CardStreamState.java 20 import java.util.HashSet;
28 protected HashSet<String> dismissibleCards;
31 protected CardStreamState(Card[] visible, Card[] hidden, HashSet<String> dismissible, String shownTag) {
  /development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
CardStreamState.java 20 import java.util.HashSet;
28 protected HashSet<String> dismissibleCards;
31 protected CardStreamState(Card[] visible, Card[] hidden, HashSet<String> dismissible, String shownTag) {
  /external/testng/src/main/java/org/testng/collections/
Sets.java 4 import java.util.HashSet;
13 return new HashSet<>();
17 return new HashSet<>(c);
  /dalvik/dexgen/src/com/android/dexgen/dex/code/
CatchBuilder.java 21 import java.util.HashSet;
47 public HashSet<Type> getCatchTypes();
  /dalvik/dx/src/com/android/dx/dex/code/
CatchBuilder.java 20 import java.util.HashSet;
46 public HashSet<Type> getCatchTypes();
  /external/jcommander/src/main/java/com/beust/jcommander/internal/
Sets.java 21 import java.util.HashSet;
28 return new HashSet<K>();
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
MemoryCacheManager.java 21 import java.util.HashSet;
28 private final HashSet<MemoryCache> mMemoryCaches = new HashSet<MemoryCache>();
67 final HashSet<MemoryCache> shallowCopy;
69 shallowCopy = (HashSet<MemoryCache>) mMemoryCaches.clone();
  /packages/services/Car/tests/carservice_unit_test/src/com/android/car/
VmsLayersAvailabilityTest.java 26 import java.util.HashSet;
37 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_Y)));
40 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_Z)));
43 new VmsLayerDependency(LAYER_Y, new HashSet<VmsLayer>(Arrays.asList(LAYER_Z)));
46 new VmsLayerDependency(LAYER_Y, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
49 new VmsLayerDependency(LAYER_Z, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
55 new VmsLayerDependency(LAYER_X, new HashSet<VmsLayer>(Arrays.asList(LAYER_X)));
63 mOfferings = new HashSet<>();
68 Set<VmsLayer> expectedAvailableLayers = new HashSet<>();
81 Set<VmsLayer> expectedAvailableLayers = new HashSet<>();
    [all...]
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/
SetExtensions.cs 45 public static bool add<T>( this HashSet<T> set, T item )
51 public static void addAll<T>( this HashSet<T> set, IEnumerable<T> items )
59 public static void clear<T>( this HashSet<T> set )
65 public static bool contains<T>( this HashSet<T> set, T value )
71 public static bool remove<T>( this HashSet<T> set, T item )
77 public static int size<T>( this HashSet<T> set )
83 public static T[] toArray<T>( this HashSet<T> set )
  /frameworks/base/tools/preload/
Policy.java 18 import java.util.HashSet;
42 private static final Set<String> SERVICES = new HashSet<String>(Arrays.asList(
62 = new HashSet<String>(Arrays.asList(
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ListSuggestionCursorNoDuplicates.java 21 import java.util.HashSet;
32 private final HashSet<String> mSuggestionKeys;
36 mSuggestionKeys = new HashSet<String>();
  /external/libmojo/base/android/java/src/org/chromium/base/
CollectionUtil.java 9 import java.util.HashSet;
21 public static <E> HashSet<E> newHashSet(E... elements) {
22 HashSet<E> set = new HashSet<E>(elements.length);
  /packages/apps/StorageManager/tests/unit/src/com/android/storagemanager/deletionhelper/
PackageDeletionTaskTest.java 30 import java.util.HashSet;
39 mDeletedApps = new HashSet<String>();
44 runTask(new HashSet<String>(), false);
49 HashSet<String> appsToDelete = new HashSet<String>();
56 HashSet<String> appsToDelete = new HashSet<String>();
64 HashSet<String> appsToDelete = new HashSet<String>();
70 private void runTask(HashSet<String> appsToDelete, boolean shouldFail)
    [all...]
  /external/apache-http/src/org/apache/http/impl/client/
RedirectLocations.java 35 import java.util.HashSet;
52 this.uris = new HashSet<URI>();
  /external/testng/src/test/java/test/testng285/
BugBase.java 6 import java.util.HashSet;
15 m_threadIds = new HashSet<>();
  /libcore/ojluni/src/test/java/nio/file/attribute/
AclEntryEmptySetTest.java 50 Set<AclEntryFlag> flags = new HashSet<>();
53 Set<AclEntryPermission> perms = new HashSet<>();
  /tools/loganalysis/src/com/android/loganalysis/item/
ActivityServiceItem.java 19 import java.util.HashSet;
30 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(
PageAllocationFailureItem.java 20 import java.util.HashSet;
35 private static final Set<String> ATTRIBUTES = new HashSet<String>(Arrays.asList(ORDER));
  /frameworks/base/core/java/com/google/android/collect/
Sets.java 23 import java.util.HashSet;
35 * Creates an empty {@code HashSet} instance.
43 * @return a newly-created, initially-empty {@code HashSet}
45 public static <K> HashSet<K> newHashSet() {
46 return new HashSet<K>();
50 * Creates a {@code HashSet} instance containing the given elements.
63 * @return a newly-created {@code HashSet} containing those elements (minus
66 public static <E> HashSet<E> newHashSet(E... elements) {
68 HashSet<E> set = new HashSet<E>(capacity)
    [all...]
  /libcore/luni/src/test/java/com/android/org/bouncycastle/jce/provider/
CertBlacklistTest.java 32 import java.util.HashSet;
157 // convert the results to a hashset of strings
158 Set<String> results = new HashSet<String>();
170 // convert the results to a hashset of strings
171 Set<String> results = new HashSet<String>();
207 private void writeBlacklist(HashSet<String> values) throws IOException {
236 HashSet<String> bl = new HashSet<String>();
250 writeBlacklist(new HashSet<String>());
263 HashSet<String> testBlackList = new HashSet<String>()
    [all...]
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
WifiCertManagerTest.java 37 import java.util.HashSet;
112 final HashSet<String> expected1 = new HashSet<>();
118 final HashSet<String> expected2 = new HashSet<>();
123 new HashSet<>(Arrays.asList(certManager.listClientCertsForCurrentUser())));
128 new HashSet<>(Arrays.asList(certManager.listClientCertsForCurrentUser())));
132 new HashSet<>(Arrays.asList(certManager.listClientCertsForCurrentUser())));
137 new HashSet<>(Arrays.asList(certManager2.listClientCertsForCurrentUser())));
141 new HashSet<>(Arrays.asList(certManager2.listClientCertsForCurrentUser())))
    [all...]
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/userrestrictions/
SecondaryProfileOwnerUserRestrictionsTest.java 21 import java.util.HashSet;
83 assertRestrictions(new HashSet<>(Arrays.asList(DO_GLOBAL_RESTRICTIONS)));
91 final HashSet<String> expected = new HashSet<>();
108 assertRestrictions(new HashSet<>(Arrays.asList(ALLOWED)));
115 final HashSet<String> expected = new HashSet<>(
  /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
PasspointEventHandlerTest.java 36 import java.util.HashSet;
70 HashSet<Integer> expAnqpIds =
71 new HashSet<>(Arrays.asList(Constants.getANQPElementID(
73 HashSet<Integer> expHs20Subtypes = new HashSet<>();
93 HashSet<Integer> expAnqpIds = new HashSet<>();
94 HashSet<Integer> expHs20Subtypes =
95 new HashSet<>(Arrays.asList(Constants.getHS20ElementID(
117 HashSet<Integer> expAnqpIds
    [all...]

Completed in 1165 milliseconds

1 2 3 4 5 6 7 8 91011>>