Home
last modified time | relevance | path

Searched refs:SHORT_DELAY_MS (Results 1 – 12 of 12) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DSystemTest.java31 Thread.sleep(SHORT_DELAY_MS); in testNanoTime1()
51 Thread.sleep(SHORT_DELAY_MS); in testNanoTime2()
DJSR166TestCase.java114 public static long SHORT_DELAY_MS; field in JSR166TestCase
132 SHORT_DELAY_MS = getShortDelay(); in setDelays()
133 SMALL_DELAY_MS = SHORT_DELAY_MS * 5; in setDelays()
134 MEDIUM_DELAY_MS = SHORT_DELAY_MS * 10; in setDelays()
135 LONG_DELAY_MS = SHORT_DELAY_MS * 200; in setDelays()
143 return SHORT_DELAY_MS / 4; in timeoutMillis()
845 delay(SHORT_DELAY_MS);
851 delay(SHORT_DELAY_MS);
943 delay(SHORT_DELAY_MS);
DScheduledExecutorTest.java148 assertTrue(c >= SMALL_DELAY_MS / SHORT_DELAY_MS); in testFixedRateSequence()
149 assertTrue(c <= SMALL_DELAY_MS + SHORT_DELAY_MS); in testFixedRateSequence()
164 assertTrue(c >= SMALL_DELAY_MS / SHORT_DELAY_MS); in testFixedDelaySequence()
165 assertTrue(c <= SMALL_DELAY_MS + SHORT_DELAY_MS); in testFixedDelaySequence()
190 Future f = se.schedule(callable, SHORT_DELAY_MS, MILLISECONDS); in testScheduleNull()
642 SHORT_DELAY_MS, MILLISECONDS); in testShutdown1()
671 SHORT_DELAY_MS, MILLISECONDS); in testShutdown2()
1153 e.invokeAll(l, SHORT_DELAY_MS, MILLISECONDS); in testTimedInvokeAll6()
DScheduledExecutorSubclassTest.java200 assertTrue(c >= SMALL_DELAY_MS / SHORT_DELAY_MS); in testFixedRateSequence()
201 assertTrue(c <= SMALL_DELAY_MS + SHORT_DELAY_MS); in testFixedRateSequence()
216 assertTrue(c >= SMALL_DELAY_MS / SHORT_DELAY_MS); in testFixedDelaySequence()
217 assertTrue(c <= SMALL_DELAY_MS + SHORT_DELAY_MS); in testFixedDelaySequence()
240 Future f = se.schedule(callable, SHORT_DELAY_MS, MILLISECONDS); in testScheduleNull()
691 SHORT_DELAY_MS, MILLISECONDS); in testShutdown1()
720 SHORT_DELAY_MS, MILLISECONDS); in testShutdown2()
1202 e.invokeAll(l, SHORT_DELAY_MS, MILLISECONDS); in testTimedInvokeAll6()
DPhaserTest.java519 waitForThreadToEnterWaitState(t, SHORT_DELAY_MS);
547 waitForThreadToEnterWaitState(t, SHORT_DELAY_MS);
576 waitForThreadToEnterWaitState(t, SHORT_DELAY_MS);
601 waitForThreadToEnterWaitState(t, SHORT_DELAY_MS);
776 waitForThreadToEnterWaitState(thread, SHORT_DELAY_MS);
DExecutorCompletionServiceTest.java149 Future f = ecs.poll(SHORT_DELAY_MS, MILLISECONDS); in testPoll2()
DAbstractExecutorServiceTest.java589 l.add(Executors.callable(possiblyInterruptedRunnable(2 * SHORT_DELAY_MS), TEST_STRING)); in testTimedInvokeAll6()
592 e.invokeAll(l, SHORT_DELAY_MS, MILLISECONDS); in testTimedInvokeAll6()
DThreadPoolExecutorTest.java1878 e.invokeAll(l, SHORT_DELAY_MS, MILLISECONDS); in testTimedInvokeAll6()
1929 long coreThreadTimeOut = SHORT_DELAY_MS; in testAllowCoreThreadTimeOut_true()
1959 long coreThreadTimeOut = SHORT_DELAY_MS;
2004 assertTrue(done.await(nTasks * SHORT_DELAY_MS, MILLISECONDS));
DDelayQueueTest.java314 assertTrue(q.offer(new PDelay(0), SHORT_DELAY_MS, MILLISECONDS)); in testTimedOffer()
412 assertEquals(new PDelay(i), ((PDelay)q.poll(SHORT_DELAY_MS, MILLISECONDS))); in testInterruptedTimedPoll()
DThreadPoolExecutorSubclassTest.java1671 e.invokeAll(l, SHORT_DELAY_MS, MILLISECONDS); in testTimedInvokeAll6()
1719 long coreThreadTimeOut = SHORT_DELAY_MS; in testAllowCoreThreadTimeOut_true()
1749 long coreThreadTimeOut = SHORT_DELAY_MS;
DSynchronousQueueTest.java578 delay(SHORT_DELAY_MS);
DPriorityBlockingQueueTest.java280 assertTrue(q.offer(new Integer(0), SHORT_DELAY_MS, MILLISECONDS)); in testTimedOffer()