Home
last modified time | relevance | path

Searched refs:MEDIUM_DELAY_MS (Results 1 – 13 of 13) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractExecutorServiceTest.java391 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
407 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
421 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
439 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
455 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
473 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5()
486 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1()
502 e.invokeAll(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAllNullTimeUnit()
516 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO… in testTimedInvokeAll2()
532 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll3()
[all …]
DScheduledExecutorTest.java204 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule1_RejectedExecutionException()
221 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule2_RejectedExecutionException()
237 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule3_RejectedExecutionException()
253 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleAtFixedRate1_RejectedExecutionException()
269 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleWithFixedDelay1_RejectedExecutionException()
602 } while (millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testPurge()
953 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
969 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
983 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1001 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
[all …]
DScheduledExecutorSubclassTest.java254 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule1_RejectedExecutionException()
271 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule2_RejectedExecutionException()
287 MEDIUM_DELAY_MS, MILLISECONDS); in testSchedule3_RejectedExecutionException()
303 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleAtFixedRate1_RejectedExecutionException()
319 MEDIUM_DELAY_MS, MEDIUM_DELAY_MS, MILLISECONDS); in testScheduleWithFixedDelay1_RejectedExecutionException()
651 } while (millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testPurge()
1002 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1018 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1032 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1050 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
[all …]
DForkJoinPoolTest.java270 assertTrue(uehInvoked.await(MEDIUM_DELAY_MS, MILLISECONDS)); in testSetUncaughtExceptionHandler()
581 assertTrue(quittingTime.await(MEDIUM_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit()
592 assertTrue(submitted.await(MEDIUM_DELAY_MS, MILLISECONDS)); in testInterruptedSubmit()
804 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
820 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
835 MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
853 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
870 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
888 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5()
901 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1()
[all …]
DLinkedTransferQueueTest.java277 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll()
280 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
287 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
306 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testTimedPollAfterInterrupt()
311 awaitTermination(t, MEDIUM_DELAY_MS); in testTimedPollAfterInterrupt()
670 awaitTermination(t, MEDIUM_DELAY_MS); in testDrainToWithActivePut()
722 awaitTermination(t, MEDIUM_DELAY_MS); in testWaitingConsumer()
757 awaitTermination(t, MEDIUM_DELAY_MS); in testTransfer2()
813 awaitTermination(t, MEDIUM_DELAY_MS); in testTransfer4()
836 awaitTermination(t, MEDIUM_DELAY_MS); in testTransfer5()
[all …]
DThreadPoolExecutorTest.java1016 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedSubmit()
1642 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1661 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1678 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1699 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1719 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
1740 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5()
1756 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1()
1775 e.invokeAll(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAllNullTimeUnit()
1792 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO… in testTimedInvokeAll2()
[all …]
DJSR166TestCase.java116 public static long MEDIUM_DELAY_MS; field in JSR166TestCase
134 MEDIUM_DELAY_MS = SHORT_DELAY_MS * 10; in setDelays()
878 delay(MEDIUM_DELAY_MS);
884 delay(MEDIUM_DELAY_MS);
900 delay(MEDIUM_DELAY_MS);
963 delay(MEDIUM_DELAY_MS);
DThreadPoolExecutorSubclassTest.java1471 e.invokeAny(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny1()
1487 e.invokeAny(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAnyNullTimeUnit()
1501 e.invokeAny(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny2()
1519 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny3()
1536 e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny4()
1554 String result = e.invokeAny(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAny5()
1567 e.invokeAll(null, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll1()
1583 e.invokeAll(l, MEDIUM_DELAY_MS, null); in testTimedInvokeAllNullTimeUnit()
1597 …List<Future<String>> r = e.invokeAll(new ArrayList<Callable<String>>(), MEDIUM_DELAY_MS, MILLISECO… in testTimedInvokeAll2()
1613 e.invokeAll(l, MEDIUM_DELAY_MS, MILLISECONDS); in testTimedInvokeAll3()
[all …]
DLinkedBlockingQueueTest.java429 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll()
432 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
439 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
DSynchronousQueueTest.java239 assertTrue(millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testTimedPollWithOffer()
260 assertTrue(millisElapsedSince(startTime) < MEDIUM_DELAY_MS); in testTimedPollWithOffer()
DArrayBlockingQueueTest.java440 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll()
443 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
450 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
DPriorityBlockingQueueTest.java388 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
395 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
DLinkedBlockingDequeTest.java739 q.poll(MEDIUM_DELAY_MS, MILLISECONDS); in testInterruptedTimedPoll()
742 assertTrue(millisElapsedSince(t0) < MEDIUM_DELAY_MS); in testInterruptedTimedPoll()
749 awaitTermination(t, MEDIUM_DELAY_MS); in testInterruptedTimedPoll()