/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CountDownLatchTest.java | 45 l.countDown(); in testGetCount() 55 l.countDown(); in testCountDown() 57 l.countDown(); in testCountDown() 71 pleaseCountDown.countDown(); in testAwait() 78 l.countDown(); in testAwait() 81 l.countDown(); in testAwait() 96 pleaseCountDown.countDown(); in testTimedAwait() 103 l.countDown(); in testTimedAwait() 106 l.countDown(); in testTimedAwait() 126 pleaseInterrupt.countDown(); in testAwait_Interruptible() [all …]
|
D | ExchangerTest.java | 80 threadStarted.countDown(); in testExchange_InterruptedException() 97 threadStarted.countDown(); in testTimedExchange_InterruptedException() 134 exchanged.countDown(); in testReplacementAfterExchange() 140 exchanged.countDown(); in testReplacementAfterExchange() 153 interrupted.countDown(); in testReplacementAfterExchange()
|
D | ScheduledExecutorTest.java | 57 public void realRun() { done.countDown(); }}; in testExecute() 73 done.countDown(); in testSchedule1() 94 done.countDown(); in testSchedule3() 114 done.countDown(); in testSchedule4() 136 done.countDown(); in testSchedule5() 166 public void realRun() { done.countDown(); }}; in testFixedRateSequence() 211 done.countDown(); in testFixedDelaySequence() 347 threadStarted.countDown(); in testGetActiveCount() 369 threadStarted.countDown(); in testGetCompletedTaskCount() 372 threadDone.countDown(); in testGetCompletedTaskCount() [all …]
|
D | ScheduledExecutorSubclassTest.java | 114 public void realRun() { done.countDown(); }}; in testExecute() 130 done.countDown(); in testSchedule1() 150 done.countDown(); in testSchedule3() 170 done.countDown(); in testSchedule4() 192 done.countDown(); in testSchedule5() 222 public void realRun() { done.countDown(); }}; in testFixedRateSequence() 267 done.countDown(); in testFixedDelaySequence() 403 threadStarted.countDown(); in testGetActiveCount() 425 threadStarted.countDown(); in testGetCompletedTaskCount() 428 threadDone.countDown(); in testGetCompletedTaskCount() [all …]
|
D | FutureTaskTest.java | 420 pleaseCancel.countDown(); in testCancelInterrupt() 451 pleaseCancel.countDown(); in testCancelInterrupt_ThrowsSecurityException() 478 cancelled.countDown(); in testCancelInterrupt_ThrowsSecurityException() 494 pleaseCancel.countDown(); in testCancelInterrupt_taskFails() 524 pleaseCancel.countDown(); in testCancelNoInterrupt() 534 cancelled.countDown(); in testCancelNoInterrupt() 557 pleaseRun.countDown(); in testGetRun() 563 pleaseRun.countDown(); in testGetRun() 596 pleaseSet.countDown(); in testGetSet() 602 pleaseSet.countDown(); in testGetSet() [all …]
|
D | ThreadPoolExecutorTest.java | 59 beforeCalled.countDown(); in beforeExecute() 62 afterCalled.countDown(); in afterExecute() 65 terminatedCalled.countDown(); in terminated() 98 public void realRun() { done.countDown(); }}; in testExecute() 119 threadStarted.countDown(); in testGetActiveCount() 192 threadStarted.countDown(); in testGetCompletedTaskCount() 195 threadDone.countDown(); in testGetCompletedTaskCount() 199 threadProceed.countDown(); in testGetCompletedTaskCount() 347 threadsStarted.countDown(); in testGetLargestPoolSize() 390 threadStarted.countDown(); in testGetPoolSize() [all …]
|
D | ThreadPoolExecutorSubclassTest.java | 206 beforeCalled.countDown(); in beforeExecute() 209 afterCalled.countDown(); in afterExecute() 212 terminatedCalled.countDown(); in terminated() 245 public void realRun() { done.countDown(); }}; in testExecute() 266 threadStarted.countDown(); in testGetActiveCount() 339 threadStarted.countDown(); in testGetCompletedTaskCount() 342 threadDone.countDown(); in testGetCompletedTaskCount() 346 threadProceed.countDown(); in testGetCompletedTaskCount() 494 threadsStarted.countDown(); in testGetLargestPoolSize() 537 threadStarted.countDown(); in testGetPoolSize() [all …]
|
D | LockSupportTest.java | 120 pleaseUnpark.countDown(); in testParkBeforeUnpark() 155 pleaseUnpark.countDown(); in testParkAfterUnpark() 192 pleaseInterrupt.countDown(); in testParkBeforeInterrupt() 231 pleaseInterrupt.countDown(); in testParkAfterInterrupt() 302 started.countDown(); in testGetBlocker()
|
D | CyclicBarrierTest.java | 134 pleaseInterrupt.countDown(); in testAwait1_Interrupted_BrokenBarrier() 139 pleaseInterrupt.countDown(); in testAwait1_Interrupted_BrokenBarrier() 160 pleaseInterrupt.countDown(); in testAwait2_Interrupted_BrokenBarrier() 165 pleaseInterrupt.countDown(); in testAwait2_Interrupted_BrokenBarrier() 260 pleaseReset.countDown(); in testReset_BrokenBarrier() 265 pleaseReset.countDown(); in testReset_BrokenBarrier()
|
D | PhaserTest.java | 473 pleaseInterrupt.countDown(); 490 pleaseInterrupt.countDown(); 523 pleaseArrive.countDown(); 552 pleaseArrive.countDown(); 580 pleaseArrive.countDown(); 606 pleaseInterrupt.countDown(); 658 latch.countDown(); 666 latch.countDown(); 732 pleaseForceTermination.countDown(); 776 pleaseArrive.countDown();
|
D | ReentrantLockTest.java | 594 locked.countDown(); in testAwait() 749 pleaseSignal.countDown(); in testHasWaiters() 783 locked1.countDown(); in testGetWaitQueueLength() 793 locked2.countDown(); in testGetWaitQueueLength() 840 locked1.countDown(); in testGetWaitingThreads() 849 locked2.countDown(); in testGetWaitingThreads() 900 pleaseInterrupt.countDown(); in testAwaitUninterruptibly() 911 pleaseInterrupt.countDown(); in testAwaitUninterruptibly() 954 pleaseInterrupt.countDown(); in testInterruptible() 990 pleaseSignal.countDown(); in testSignalAll() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CountDownLatchTest.java | 68 l.countDown(); in testGetCount() 78 l.countDown(); in testCountDown() 80 l.countDown(); in testCountDown() 94 pleaseCountDown.countDown(); in testAwait() 101 l.countDown(); in testAwait() 104 l.countDown(); in testAwait() 119 pleaseCountDown.countDown(); in testTimedAwait() 126 l.countDown(); in testTimedAwait() 129 l.countDown(); in testTimedAwait() 149 pleaseInterrupt.countDown(); in testAwait_Interruptible() [all …]
|
D | ExchangerTest.java | 103 threadStarted.countDown(); in testExchange_InterruptedException() 120 threadStarted.countDown(); in testTimedExchange_InterruptedException() 157 exchanged.countDown(); in testReplacementAfterExchange() 163 exchanged.countDown(); in testReplacementAfterExchange() 176 interrupted.countDown(); in testReplacementAfterExchange()
|
D | ScheduledExecutorTest.java | 79 public void realRun() { done.countDown(); }}; in testExecute() 95 done.countDown(); in testSchedule1() 116 done.countDown(); in testSchedule3() 136 done.countDown(); in testSchedule4() 158 done.countDown(); in testSchedule5() 188 public void realRun() { done.countDown(); }}; in testFixedRateSequence() 233 done.countDown(); in testFixedDelaySequence() 369 threadStarted.countDown(); in testGetActiveCount() 391 threadStarted.countDown(); in testGetCompletedTaskCount() 394 threadDone.countDown(); in testGetCompletedTaskCount() [all …]
|
D | ScheduledExecutorSubclassTest.java | 136 public void realRun() { done.countDown(); }}; in testExecute() 152 done.countDown(); in testSchedule1() 172 done.countDown(); in testSchedule3() 192 done.countDown(); in testSchedule4() 214 done.countDown(); in testSchedule5() 244 public void realRun() { done.countDown(); }}; in testFixedRateSequence() 289 done.countDown(); in testFixedDelaySequence() 425 threadStarted.countDown(); in testGetActiveCount() 447 threadStarted.countDown(); in testGetCompletedTaskCount() 450 threadDone.countDown(); in testGetCompletedTaskCount() [all …]
|
D | FutureTaskTest.java | 443 pleaseCancel.countDown(); in testCancelInterrupt() 474 pleaseCancel.countDown(); in testCancelInterrupt_ThrowsSecurityException() 501 cancelled.countDown(); in testCancelInterrupt_ThrowsSecurityException() 517 pleaseCancel.countDown(); in testCancelInterrupt_taskFails() 547 pleaseCancel.countDown(); in testCancelNoInterrupt() 557 cancelled.countDown(); in testCancelNoInterrupt() 580 pleaseRun.countDown(); in testGetRun() 586 pleaseRun.countDown(); in testGetRun() 619 pleaseSet.countDown(); in testGetSet() 625 pleaseSet.countDown(); in testGetSet() [all …]
|
D | ThreadPoolExecutorTest.java | 81 beforeCalled.countDown(); in beforeExecute() 84 afterCalled.countDown(); in afterExecute() 87 terminatedCalled.countDown(); in terminated() 120 public void realRun() { done.countDown(); }}; in testExecute() 141 threadStarted.countDown(); in testGetActiveCount() 214 threadStarted.countDown(); in testGetCompletedTaskCount() 217 threadDone.countDown(); in testGetCompletedTaskCount() 221 threadProceed.countDown(); in testGetCompletedTaskCount() 369 threadsStarted.countDown(); in testGetLargestPoolSize() 412 threadStarted.countDown(); in testGetPoolSize() [all …]
|
D | ThreadPoolExecutorSubclassTest.java | 228 beforeCalled.countDown(); in beforeExecute() 231 afterCalled.countDown(); in afterExecute() 234 terminatedCalled.countDown(); in terminated() 267 public void realRun() { done.countDown(); }}; in testExecute() 288 threadStarted.countDown(); in testGetActiveCount() 361 threadStarted.countDown(); in testGetCompletedTaskCount() 364 threadDone.countDown(); in testGetCompletedTaskCount() 368 threadProceed.countDown(); in testGetCompletedTaskCount() 516 threadsStarted.countDown(); in testGetLargestPoolSize() 559 threadStarted.countDown(); in testGetPoolSize() [all …]
|
D | LockSupportTest.java | 144 pleaseUnpark.countDown(); in testParkBeforeUnpark() 179 pleaseUnpark.countDown(); in testParkAfterUnpark() 216 pleaseInterrupt.countDown(); in testParkBeforeInterrupt() 255 pleaseInterrupt.countDown(); in testParkAfterInterrupt() 326 started.countDown(); in testGetBlocker()
|
D | CyclicBarrierTest.java | 155 pleaseInterrupt.countDown(); in testAwait1_Interrupted_BrokenBarrier() 160 pleaseInterrupt.countDown(); in testAwait1_Interrupted_BrokenBarrier() 181 pleaseInterrupt.countDown(); in testAwait2_Interrupted_BrokenBarrier() 186 pleaseInterrupt.countDown(); in testAwait2_Interrupted_BrokenBarrier() 281 pleaseReset.countDown(); in testReset_BrokenBarrier() 286 pleaseReset.countDown(); in testReset_BrokenBarrier()
|
D | PhaserTest.java | 497 pleaseInterrupt.countDown(); 514 pleaseInterrupt.countDown(); 547 pleaseArrive.countDown(); 576 pleaseArrive.countDown(); 604 pleaseArrive.countDown(); 630 pleaseInterrupt.countDown(); 682 latch.countDown(); 690 latch.countDown(); 756 pleaseForceTermination.countDown(); 800 pleaseArrive.countDown();
|
D | ReentrantLockTest.java | 617 locked.countDown(); in testAwait() 772 pleaseSignal.countDown(); in testHasWaiters() 806 locked1.countDown(); in testGetWaitQueueLength() 816 locked2.countDown(); in testGetWaitQueueLength() 863 locked1.countDown(); in testGetWaitingThreads() 872 locked2.countDown(); in testGetWaitingThreads() 923 pleaseInterrupt.countDown(); in testAwaitUninterruptibly() 934 pleaseInterrupt.countDown(); in testAwaitUninterruptibly() 977 pleaseInterrupt.countDown(); in testInterruptible() 1013 pleaseSignal.countDown(); in testSignalAll() [all …]
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | ServerSocketConcurrentCloseTest.java | 76 threadFinishedLatch.countDown(); in testImplAccept_detectsClosedState() 199 startLatch.countDown(); in run() 233 startLatch.countDown(); in run() 240 shutdownLatch.countDown(); in run()
|
D | SocketTimeoutTest.java | 123 threadStarted.countDown(); in testSocketWriteNeverTimeouts() 127 writeCompleted.countDown(); in testSocketWriteNeverTimeouts() 130 writeCompleted.countDown(); in testSocketWriteNeverTimeouts()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | PendingFuture.java | 142 latch.countDown(); in setResult() 160 latch.countDown(); in setFailure() 251 latch.countDown(); in cancel()
|