Home
last modified time | relevance | path

Searched refs:timeoutNanos (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/lang/ref/
DReferenceQueue.java108 int timeoutNanos = 0; in remove() local
113 wait(timeoutMillis, timeoutNanos); in remove()
123 timeoutNanos = (int) (nanosRemaining - timeoutMillis * NANOS_PER_MILLI); in remove()
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPoolTest.java244 long timeoutNanos = 999999L; in testAwaitTermination_timesOut() local
246 assertFalse(p.awaitTermination(timeoutNanos, NANOSECONDS)); in testAwaitTermination_timesOut()
247 assertTrue(System.nanoTime() - startTime >= timeoutNanos); in testAwaitTermination_timesOut()
DThreadPoolExecutorTest.java443 long timeoutNanos = 999999L; in testAwaitTermination_timesOut() local
445 assertFalse(p.awaitTermination(timeoutNanos, NANOSECONDS)); in testAwaitTermination_timesOut()
446 assertTrue(System.nanoTime() - startTime >= timeoutNanos); in testAwaitTermination_timesOut()
DReentrantLockTest.java535 long timeoutNanos = MILLISECONDS.toNanos(timeoutMillis);
536 long nanosRemaining = c.awaitNanos(timeoutNanos);
DReentrantReadWriteLockTest.java937 long timeoutNanos = MILLISECONDS.toNanos(timeoutMillis);
938 long nanosRemaining = c.awaitNanos(timeoutNanos);