Home
last modified time | relevance | path

Searched refs:threadStarted (Results 1 – 11 of 11) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DExchangerTest.java65 final CountDownLatch threadStarted = new CountDownLatch(1); in testExchange_InterruptedException() local
68 threadStarted.countDown(); in testExchange_InterruptedException()
72 await(threadStarted); in testExchange_InterruptedException()
82 final CountDownLatch threadStarted = new CountDownLatch(1); in testTimedExchange_InterruptedException() local
85 threadStarted.countDown(); in testTimedExchange_InterruptedException()
89 await(threadStarted); in testTimedExchange_InterruptedException()
DThreadPoolExecutorTest.java86 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetActiveCount() local
92 threadStarted.countDown(); in testGetActiveCount()
96 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetActiveCount()
147 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetCompletedTaskCount() local
154 threadStarted.countDown(); in testGetCompletedTaskCount()
159 await(threadStarted); in testGetCompletedTaskCount()
342 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetPoolSize() local
348 threadStarted.countDown(); in testGetPoolSize()
352 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetPoolSize()
368 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetTaskCount() local
[all …]
DScheduledExecutorTest.java283 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetActiveCount() local
289 threadStarted.countDown(); in testGetActiveCount()
293 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetActiveCount()
307 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetCompletedTaskCount() local
314 threadStarted.countDown(); in testGetCompletedTaskCount()
319 await(threadStarted); in testGetCompletedTaskCount()
376 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetPoolSize() local
382 threadStarted.countDown(); in testGetPoolSize()
386 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetPoolSize()
400 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetTaskCount() local
[all …]
DScheduledExecutorSubclassTest.java333 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetActiveCount() local
339 threadStarted.countDown(); in testGetActiveCount()
343 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetActiveCount()
357 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetCompletedTaskCount() local
364 threadStarted.countDown(); in testGetCompletedTaskCount()
369 await(threadStarted); in testGetCompletedTaskCount()
426 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetPoolSize() local
432 threadStarted.countDown(); in testGetPoolSize()
436 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetPoolSize()
450 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetTaskCount() local
[all …]
DThreadPoolExecutorSubclassTest.java226 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetActiveCount() local
232 threadStarted.countDown(); in testGetActiveCount()
236 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetActiveCount()
281 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetCompletedTaskCount() local
288 threadStarted.countDown(); in testGetCompletedTaskCount()
293 await(threadStarted); in testGetCompletedTaskCount()
446 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetPoolSize() local
452 threadStarted.countDown(); in testGetPoolSize()
456 assertTrue(threadStarted.await(SMALL_DELAY_MS, MILLISECONDS)); in testGetPoolSize()
472 final CountDownLatch threadStarted = new CountDownLatch(1); in testGetTaskCount() local
[all …]
DBlockingQueueTest.java248 final CountDownLatch threadStarted = new CountDownLatch(1);
251 threadStarted.countDown();
259 await(threadStarted);
289 final CountDownLatch threadStarted = new CountDownLatch(1);
292 threadStarted.countDown();
300 await(threadStarted);
DLinkedTransferQueueTest.java703 final CountDownLatch threadStarted = new CountDownLatch(1); in testWaitingConsumer() local
707 threadStarted.countDown(); in testWaitingConsumer()
713 threadStarted.await(); in testWaitingConsumer()
743 final CountDownLatch threadStarted = new CountDownLatch(1); in testTransfer2() local
747 threadStarted.countDown(); in testTransfer2()
752 threadStarted.await(); in testTransfer2()
DLinkedBlockingDequeTest.java888 final CountDownLatch threadStarted = new CountDownLatch(1); in testTakeFirstFromEmptyBlocksInterruptibly() local
891 threadStarted.countDown(); in testTakeFirstFromEmptyBlocksInterruptibly()
899 await(threadStarted); in testTakeFirstFromEmptyBlocksInterruptibly()
929 final CountDownLatch threadStarted = new CountDownLatch(1); in testTakeLastFromEmptyBlocksInterruptibly() local
932 threadStarted.countDown(); in testTakeLastFromEmptyBlocksInterruptibly()
940 await(threadStarted); in testTakeLastFromEmptyBlocksInterruptibly()
DAbstractQueuedLongSynchronizerTest.java565 final BooleanLatch threadStarted = new BooleanLatch(); in testAcquireInterruptibly() local
569 assertTrue(threadStarted.releaseShared(0)); in testAcquireInterruptibly()
573 threadStarted.acquireShared(0); in testAcquireInterruptibly()
DAbstractQueuedSynchronizerTest.java568 final BooleanLatch threadStarted = new BooleanLatch(); in testAcquireInterruptibly() local
572 assertTrue(threadStarted.releaseShared(0)); in testAcquireInterruptibly()
576 threadStarted.acquireShared(0); in testAcquireInterruptibly()
/libcore/benchmarks/libs/
Dcaliper.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...