Home
last modified time | relevance | path

Searched refs:synchronizedSet (Results 1 – 19 of 19) sorted by relevance

/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java156 this.principals = Collections.synchronizedSet in Subject()
158 this.pubCredentials = Collections.synchronizedSet in Subject()
160 this.privCredentials = Collections.synchronizedSet in Subject()
209 this.principals = Collections.synchronizedSet(new SecureSet<Principal> in Subject()
211 this.pubCredentials = Collections.synchronizedSet(new SecureSet<Object> in Subject()
213 this.privCredentials = Collections.synchronizedSet(new SecureSet<Object> in Subject()
978 principals = Collections.synchronizedSet(new SecureSet<Principal>
983 principals = Collections.synchronizedSet
989 this.pubCredentials = Collections.synchronizedSet
991 this.privCredentials = Collections.synchronizedSet
/libcore/ojluni/src/test/java/util/Collections/
DWrappedNull.java128 Set c = Collections.synchronizedSet(null); in main()
187 s = Collections.synchronizedSet(Collections.EMPTY_SET); in main()
DEqualsTest.java52 Set s = Collections.synchronizedSet(new HashSet()); in main()
DRacingCollections.java69 import static java.util.Collections.synchronizedSet;
332 frob(synchronizedSet(x), y); in realMain()
333 frob(x, synchronizedSet(y)); in realMain()
DWrappers.java93 cases.add(new Object[] { Collections.synchronizedSet(seedSet) }); in collectionCases()
DSyncSubMutexes.java184 instances.add(new Object[] {Collections.synchronizedSet(new TreeSet<>(BASE_COLLECTION))}); in makeSets()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollections2Test.java158 Collections.synchronizedSet(null); in test_synchronizedSetLjava_util_Set()
561 testSetForEach(Collections.synchronizedSet(set)); in test_Set_forEach()
DCollectionsTest.java1488 Set synchSet = Collections.synchronizedSet(smallSet); in test_synchronizedSetLjava_util_Set()
1519 Set mySet = Collections.synchronizedSet(smallSet); in test_synchronizedSetLjava_util_Set()
1527 new Support_SetTest("", Collections.synchronizedSet(smallSet)) in test_synchronizedSetLjava_util_Set()
1531 mySet = Collections.synchronizedSet(smallSet); in test_synchronizedSetLjava_util_Set()
1600 Set synchSet = Collections.synchronizedSet(smallSet); in test_synchronizedSortedSetLjava_util_SortedSet()
/libcore/ojluni/src/test/java/lang/StackWalker/
DMultiThreadStackWalk.java110 unexpected = Collections.synchronizedSet(new TreeSet<>()); in Env()
/libcore/ojluni/src/main/java/java/util/
DProperties.java1350 return Collections.synchronizedSet(map.keySet(), this); in keySet()
1360 return Collections.synchronizedSet(new EntrySet(map.entrySet()), this); in entrySet()
DHashtable.java664 keySet = Collections.synchronizedSet(new KeySet(), this); in keySet()
704 entrySet = Collections.synchronizedSet(new EntrySet(), this); in entrySet()
DCollections.java2466 public static <T> Set<T> synchronizedSet(Set<T> s) {
2470 static <T> Set<T> synchronizedSet(Set<T> s, Object mutex) {
/libcore/ojluni/annotations/flagged_api/java/util/
DCollections.annotated.java101 public static <T> java.util.Set<T> synchronizedSet(java.util.Set<T> s) { throw new RuntimeException… in synchronizedSet() method in Collections
/libcore/luni/src/test/java/libcore/java/util/
DOldCollectionsTest.java186 Collections.synchronizedSet(null); in test_synchronizedSetLjava_util_Set()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollections.annotated.java94 …l public static <T> java.util.Set<@libcore.util.NullFromTypeParam T> synchronizedSet(@libcore.util… in synchronizedSet() method in Collections
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DSerializationStressTest3.java941 Object col = Collections.synchronizedSet(SET); in test_18_101_writeObject()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCollections.java198 public static <T> java.util.Set<T> synchronizedSet(java.util.Set<T> s) { in synchronizedSet() method in Collections
202 static <T> java.util.Set<T> synchronizedSet(java.util.Set<T> s, java.lang.Object mutex) { in synchronizedSet() method in Collections
/libcore/ojluni/src/test/java/util/Collection/
DMOAT.java99 testCollection(Collections.synchronizedSet(new HashSet<Integer>())); in realMain()
/libcore/api/
Dcurrent.txt13670 method @NonNull public static <T> java.util.Set<T> synchronizedSet(@NonNull java.util.Set<T>);