Searched refs:SHORT_DELAY_MS (Results 1 – 12 of 12) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SystemTest.java | 31 Thread.sleep(SHORT_DELAY_MS); in testNanoTime1() 51 Thread.sleep(SHORT_DELAY_MS); in testNanoTime2()
|
D | JSR166TestCase.java | 114 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);
|
D | ScheduledExecutorTest.java | 148 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()
|
D | ScheduledExecutorSubclassTest.java | 200 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()
|
D | PhaserTest.java | 519 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);
|
D | ExecutorCompletionServiceTest.java | 149 Future f = ecs.poll(SHORT_DELAY_MS, MILLISECONDS); in testPoll2()
|
D | AbstractExecutorServiceTest.java | 589 l.add(Executors.callable(possiblyInterruptedRunnable(2 * SHORT_DELAY_MS), TEST_STRING)); in testTimedInvokeAll6() 592 e.invokeAll(l, SHORT_DELAY_MS, MILLISECONDS); in testTimedInvokeAll6()
|
D | ThreadPoolExecutorTest.java | 1878 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));
|
D | DelayQueueTest.java | 314 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()
|
D | ThreadPoolExecutorSubclassTest.java | 1671 e.invokeAll(l, SHORT_DELAY_MS, MILLISECONDS); in testTimedInvokeAll6() 1719 long coreThreadTimeOut = SHORT_DELAY_MS; in testAllowCoreThreadTimeOut_true() 1749 long coreThreadTimeOut = SHORT_DELAY_MS;
|
D | SynchronousQueueTest.java | 578 delay(SHORT_DELAY_MS);
|
D | PriorityBlockingQueueTest.java | 280 assertTrue(q.offer(new Integer(0), SHORT_DELAY_MS, MILLISECONDS)); in testTimedOffer()
|