Home
last modified time | relevance | path

Searched refs:tryAcquireNanos (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java413 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
DReentrantReadWriteLock.java1087 return sync.tryAcquireNanos(1, unit.toNanos(timeout)); in tryLock()
DAbstractQueuedSynchronizer.java1219 public final boolean tryAcquireNanos(int arg, long nanosTimeout) in tryAcquireNanos() method in AbstractQueuedSynchronizer
DAbstractQueuedLongSynchronizer.java989 public final boolean tryAcquireNanos(long arg, long nanosTimeout) in tryAcquireNanos() method in AbstractQueuedLongSynchronizer
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedLongSynchronizerTest.java46 public boolean tryAcquireNanos(long nanos) throws InterruptedException { in tryAcquireNanos() method in AbstractQueuedLongSynchronizerTest.Mutex
47 return tryAcquireNanos(LOCKED, nanos); in tryAcquireNanos()
492 sync.tryAcquireNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in testTryAcquireNanos_Interruptible()
525 assertFalse(sync.tryAcquireNanos(nanos)); in testAcquireNanos_Timeout()
DAbstractQueuedSynchronizerTest.java50 public boolean tryAcquireNanos(long nanos) throws InterruptedException { in tryAcquireNanos() method in AbstractQueuedSynchronizerTest.Mutex
51 return tryAcquireNanos(LOCKED, nanos); in tryAcquireNanos()
495 sync.tryAcquireNanos(MILLISECONDS.toNanos(2 * LONG_DELAY_MS)); in testTryAcquireNanos_Interruptible()
528 assertFalse(sync.tryAcquireNanos(nanos)); in testAcquireNanos_Timeout()