/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AtomicBooleanTest.java | 11 import java.util.concurrent.atomic.AtomicBoolean; 31 assertTrue(new AtomicBoolean(true).get()); in testConstructor() 32 assertFalse(new AtomicBoolean(false).get()); in testConstructor() 39 AtomicBoolean ai = new AtomicBoolean(); in testConstructor2() 47 AtomicBoolean ai = new AtomicBoolean(true); in testGetSet() 59 AtomicBoolean ai = new AtomicBoolean(true); in testGetLazySet() 71 AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSet() 87 final AtomicBoolean ai = new AtomicBoolean(true); in testCompareAndSetInMultipleThreads() 104 AtomicBoolean ai = new AtomicBoolean(true); in testWeakCompareAndSet() 117 AtomicBoolean ai = new AtomicBoolean(true); in testGetAndSet() [all …]
|
D | ExecutorCompletionServiceTest.java | 23 import java.util.concurrent.atomic.AtomicBoolean; 162 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForCallable() 193 final AtomicBoolean done = new AtomicBoolean(false); in testNewTaskForRunnable()
|
D | Collection8Test.java | 19 import java.util.concurrent.atomic.AtomicBoolean; 79 final AtomicBoolean done = new AtomicBoolean(false); in testForEachConcurrentStressTest()
|
D | LockSupportTest.java | 15 import java.util.concurrent.atomic.AtomicBoolean; 152 final AtomicBoolean pleasePark = new AtomicBoolean(false); in testParkAfterUnpark() 228 final AtomicBoolean pleasePark = new AtomicBoolean(false); in testParkAfterInterrupt()
|
D | CyclicBarrierTest.java | 17 import java.util.concurrent.atomic.AtomicBoolean; 306 final AtomicBoolean done = new AtomicBoolean(); in testReset_Leakage()
|
D | AbstractExecutorServiceTest.java | 29 import java.util.concurrent.atomic.AtomicBoolean; 69 final AtomicBoolean done = new AtomicBoolean(false); in testExecuteRunnable()
|
D | ForkJoinPoolTest.java | 28 import java.util.concurrent.atomic.AtomicBoolean; 429 final AtomicBoolean done = new AtomicBoolean(false); in testExecuteRunnable()
|
D | JSR166TestCase.java | 54 import java.util.concurrent.atomic.AtomicBoolean; 897 PoolCleaner cleaner(ExecutorService pool, AtomicBoolean flag) { 901 Runnable releaser(final AtomicBoolean flag) {
|
D | ScheduledExecutorSubclassTest.java | 34 import java.util.concurrent.atomic.AtomicBoolean; 249 final AtomicBoolean tryLongerDelay = new AtomicBoolean(false); in testFixedDelaySequence()
|
D | ScheduledExecutorTest.java | 31 import java.util.concurrent.atomic.AtomicBoolean; 193 final AtomicBoolean tryLongerDelay = new AtomicBoolean(false); in testFixedDelaySequence()
|
/libcore/luni/src/test/java/libcore/java/util/function/ |
D | LongPredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 27 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 28 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 29 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean[] invocationState = { in testAnd() 78 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 79 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 80 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 81 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | DoublePredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 86 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 87 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 88 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 89 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | IntPredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 86 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 87 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 88 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 89 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | PredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 86 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 87 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 88 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 89 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
D | BiPredicateTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testAnd() 30 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testAnd() 31 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testAnd() 32 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testAnd() 33 AtomicBoolean[] invocationState = { in testAnd() 89 AtomicBoolean alwaysTrueInvoked = new AtomicBoolean(false); in testOr() 90 AtomicBoolean alwaysTrue2Invoked = new AtomicBoolean(false); in testOr() 91 AtomicBoolean alwaysFalseInvoked = new AtomicBoolean(false); in testOr() 92 AtomicBoolean alwaysFalse2Invoked = new AtomicBoolean(false); in testOr() [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ref/ |
D | FinalizeTest.java | 20 import java.util.concurrent.atomic.AtomicBoolean; 27 AtomicBoolean finalized = new AtomicBoolean(); in testFinalizeIsCalled() 41 AtomicBoolean finalized1 = new AtomicBoolean(); in testInducedFinalization() 42 AtomicBoolean finalized2 = new AtomicBoolean(); in testInducedFinalization() 52 private X createFinalizableObject(final AtomicBoolean finalized) { in createFinalizableObject() 131 AtomicBoolean keepGoing = new AtomicBoolean(true); in testSystemRunFinalizationReturnsEvenIfQueueIsNonEmpty() 138 public void createChainedFinalizer(final AtomicInteger counter, final AtomicBoolean keepGoing) { in createChainedFinalizer()
|
/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicBoolean.java | 20 public class AtomicBoolean implements java.io.Serializable { class 29 (AtomicBoolean.class.getDeclaredField("value")); 42 public AtomicBoolean(boolean initialValue) { in AtomicBoolean() method in AtomicBoolean 49 public AtomicBoolean() { in AtomicBoolean() method in AtomicBoolean
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | AbstractCollectionTest.java | 21 import java.util.concurrent.atomic.AtomicBoolean; 29 final AtomicBoolean finished = new AtomicBoolean(false); in test_toArray()
|
D | LinkedHashMapTest.java | 22 import java.util.concurrent.atomic.AtomicBoolean; 217 final AtomicBoolean removeEldestEntryReturnValue = new AtomicBoolean(false); in test_removeEldestEntry()
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractSelector.java | 34 import java.util.concurrent.atomic.AtomicBoolean; 73 private AtomicBoolean selectorOpen = new AtomicBoolean(true);
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | DistinctOps.java | 33 import java.util.concurrent.atomic.AtomicBoolean; 80 AtomicBoolean seenNull = new AtomicBoolean(false); in makeRef()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | SystemTest.java | 28 import java.util.concurrent.atomic.AtomicBoolean; 127 final AtomicBoolean done = new AtomicBoolean(); in testArrayCopyConcurrentModification()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | TimerTest.java | 26 import java.util.concurrent.atomic.AtomicBoolean; 987 private final AtomicBoolean executedOnTime; 991 private CheckIfExecutedOnTime(AtomicBoolean executedOnTime) { in CheckIfExecutedOnTime() 1018 AtomicBoolean actuallyExecutedOnTime = new AtomicBoolean(); in testOverdueTaskExecutesImmediately()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SelectorTest.java | 31 import java.util.concurrent.atomic.AtomicBoolean; 359 final AtomicBoolean complete = new AtomicBoolean();
|
/libcore/libart/src/main/java/java/lang/ |
D | Daemons.java | 25 import java.util.concurrent.atomic.AtomicBoolean;
|