/external/testng/src/test/java/test/thread/ |
SuiteThreadCountTest.java | 18 private Set<String> m_threads= Collections.synchronizedSet(new HashSet<String>());
|
TestThreadCountTest.java | 18 private Set<String> m_threads= Collections.synchronizedSet(new HashSet<String>());
|
/external/guava/guava-tests/test/com/google/common/collect/ |
SynchronizedMapTest.java | 22 import com.google.common.collect.Synchronized.SynchronizedSet; 185 assertTrue(keySet instanceof SynchronizedSet); 186 assertSame(mutex, ((SynchronizedSet<?>) keySet).mutex); 199 assertTrue(entrySet instanceof SynchronizedSet); 200 assertSame(mutex, ((SynchronizedSet<?>) entrySet).mutex);
|
SynchronizedBiMapTest.java | 22 import com.google.common.collect.Synchronized.SynchronizedSet; 147 assertTrue(values instanceof SynchronizedSet); 148 assertSame(mutex, ((SynchronizedSet<?>) values).mutex);
|
BenchmarkHelpers.java | 63 return Collections.synchronizedSet(new HashSet<E>(contents));
|
/external/glide/library/src/main/java/com/bumptech/glide/manager/ |
ActivityFragmentLifecycle.java | 13 Collections.synchronizedSet(Collections.newSetFromMap(new WeakHashMap<LifecycleListener, Boolean>()));
|
/external/testng/src/test/java/test/ant/ |
MultipleThreadTest.java | 21 _threads=Collections.synchronizedSet(new HashSet<Thread>());
|
/libcore/ojluni/src/main/java/java/util/ |
LinkedHashSet.java | 81 * {@link Collections#synchronizedSet Collections.synchronizedSet} 84 * Set s = Collections.synchronizedSet(new LinkedHashSet(...));</pre>
|
HashSet.java | 51 * {@link Collections#synchronizedSet Collections.synchronizedSet} 54 * Set s = Collections.synchronizedSet(new HashSet(...));</pre>
|
EnumSet.java | 57 * the set should be "wrapped" using the {@link Collections#synchronizedSet} 62 * Set<MyEnum> s = Collections.synchronizedSet(EnumSet.noneOf(MyEnum.class));
|
/external/jmdns/src/javax/jmdns/impl/ |
JmmDNSImpl.java | 67 _networkListeners = Collections.synchronizedSet(new HashSet<NetworkTopologyListener>()); 200 final Set<ServiceInfo> result = Collections.synchronizedSet(new HashSet<ServiceInfo>(_knownMDNS.size())); 403 final Set<ServiceInfo> result = Collections.synchronizedSet(new HashSet<ServiceInfo>(_knownMDNS.size() * 5)); 563 _knownAddresses = Collections.synchronizedSet(new HashSet<InetAddress>());
|
ServiceInfoImpl.java | 201 this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); 202 this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); 211 this._ipv4Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet4Address>()); 212 this._ipv6Addresses = Collections.synchronizedSet(new LinkedHashSet<Inet6Address>()); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
Collections2Test.java | 153 * java.util.Collections#synchronizedSet(java.util.Set) 158 Collections.synchronizedSet(null); 159 fail("Assert 0: synchronizedSet(set) must throw NPE"); 561 testSetForEach(Collections.synchronizedSet(set));
|
HashtableTest.java | 307 // "java.util.Collections$SynchronizedSet", s.getClass().getName()); 475 // "java.util.Collections$SynchronizedSet", s.getClass().getName());
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Synchronized.java | 194 return new SynchronizedSet<E>(set, mutex); 197 static class SynchronizedSet<E> 200 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { 231 static class SynchronizedSortedSet<E> extends SynchronizedSet<E> 824 extends SynchronizedSet<Map.Entry<K, Collection<V>>> {
|
/frameworks/base/docs/html/sdk/api_diff/24/changes/ |
java.util.Collections.html | 87 <nobr><code>Set<T></code> <A HREF="../../../../reference/java/util/Collections.html#synchronizedSet(java.util.Set<T>)" target="_top"><code>synchronizedSet</code></A>(<code>Set<T></code>) </nobr>
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
Subject.java | 156 this.principals = Collections.synchronizedSet 158 this.pubCredentials = Collections.synchronizedSet 160 this.privCredentials = Collections.synchronizedSet 209 this.principals = Collections.synchronizedSet(new SecureSet<Principal> 211 this.pubCredentials = Collections.synchronizedSet(new SecureSet<Object> 213 this.privCredentials = Collections.synchronizedSet(new SecureSet<Object> [all...] |
/external/conscrypt/src/main/java/org/conscrypt/ct/ |
CTLogStoreImpl.java | 75 private Set<ByteBuffer> missingLogCache = Collections.synchronizedSet(new HashSet());
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
LruBitmapPool.java | 187 private final Set<Bitmap> bitmaps = Collections.synchronizedSet(new HashSet<Bitmap>());
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
Crawler.java | 43 private final Set<HttpUrl> fetchedUrls = Collections.synchronizedSet(
|
/prebuilts/misc/common/swig/include/2.0.11/gcj/ |
javaprims.i | 250 class Collections$SynchronizedSet;
|
/external/guava/guava/src/com/google/common/collect/ |
Synchronized.java | 210 return new SynchronizedSet<E>(set, mutex); 213 static class SynchronizedSet<E> 216 SynchronizedSet(Set<E> delegate, @Nullable Object mutex) { 247 static class SynchronizedSortedSet<E> extends SynchronizedSet<E> 840 extends SynchronizedSet<Map.Entry<K, Collection<V>>> { [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldCollectionsTest.java | 181 * java.util.Collections#synchronizedSet(java.util.Set) 186 Collections.synchronizedSet(null); 187 fail("Assert 0: synchronizedSet(set) must throw NPE");
|
/frameworks/base/docs/html/training/displaying-bitmaps/ |
manage-memory.jd | 170 Collections.synchronizedSet(new HashSet<SoftReference<Bitmap>>());
|
/frameworks/base/tests/SmokeTest/tests/src/com/android/smoketest/ |
ProcessErrorsTest.java | 55 Collections.synchronizedSet(new LinkedHashSet<ProcessError>());
|