Home
last modified time | relevance | path

Searched defs:MILLISECONDS (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorCompletionServiceTest.java183 assertNull(cs.poll(timeoutMillis(), MILLISECONDS)); in testPollReturnsNull() local
DSynchronousQueueTest.java264 try { assertNull(q.poll(timeoutMillis(), MILLISECONDS)); } in testTimedPoll() local
DScheduledExecutorTest.java804 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
806 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
DFutureTaskTest.java809 task.get(timeoutMillis(), MILLISECONDS); in testGet_TimeoutException() local
DScheduledExecutorSubclassTest.java856 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
858 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
DDelayQueueTest.java745 assertNull(q.poll(timeoutMillis(), MILLISECONDS)); in testTimedPollDelayed() local
DSemaphoreTest.java226 try { assertFalse(s.tryAcquire(timeoutMillis(), MILLISECONDS)); } in testTryAcquire_timeout() local
/libcore/jsr166-tests/src/test/java/jsr166/
DSynchronousQueueTest.java243 try { assertNull(q.poll(timeoutMillis(), MILLISECONDS)); } in testTimedPoll() local
DFutureTaskTest.java786 task.get(timeoutMillis(), MILLISECONDS); in testGet_TimeoutException() local
DScheduledExecutorTest.java783 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
785 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
DScheduledExecutorSubclassTest.java834 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
836 1, 1, MILLISECONDS)); in testShutdown_cancellation() local
DDelayQueueTest.java737 assertNull(q.poll(timeoutMillis(), MILLISECONDS)); in testTimedPollDelayed() local
DSemaphoreTest.java203 try { assertFalse(s.tryAcquire(timeoutMillis(), MILLISECONDS)); } in testTryAcquire_timeout() local
/libcore/ojluni/src/main/java/java/util/concurrent/
DTimeUnit.java107 MILLISECONDS { enumConstant