Home
last modified time | relevance | path

Searched refs:awaitUntil (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/locks/
DCondition.java422 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil() method
DAbstractQueuedLongSynchronizer.java1637 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedLongSynchronizer.ConditionObject
DAbstractQueuedSynchronizer.java2106 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedSynchronizer.ConditionObject
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedLongSynchronizerTest.java210 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
230 case awaitUntil: in await()
231 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
260 case awaitUntil: in assertAwaitTimesOut()
264 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut()
664 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); }
679 public void testSignal_awaitUntil() { testSignal(AwaitMethod.awaitUntil); }
1008 public void testInterruptible_awaitUntil() { testInterruptible(AwaitMethod.awaitUntil); }
1031 public void testSignalAll_awaitUntil() { testSignalAll(AwaitMethod.awaitUntil); }
DAbstractQueuedSynchronizerTest.java213 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
233 case awaitUntil: in await()
234 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
263 case awaitUntil: in assertAwaitTimesOut()
267 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut()
667 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); }
682 public void testSignal_awaitUntil() { testSignal(AwaitMethod.awaitUntil); }
1011 public void testInterruptible_awaitUntil() { testInterruptible(AwaitMethod.awaitUntil); }
1034 public void testSignalAll_awaitUntil() { testSignalAll(AwaitMethod.awaitUntil); }
DReentrantLockTest.java151 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
172 case awaitUntil: in await()
173 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
576 assertFalse(c.awaitUntil(delayedDate)); in testAwaitUntil_Timeout()
942 …blic void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil()
943 …blic void testInterruptible_awaitUntil_fair() { testInterruptible(true, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil_fair()
981 public void testSignalAll_awaitUntil() { testSignalAll(false, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil()
982 public void testSignalAll_awaitUntil_fair() { testSignalAll(true, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil_fair()
DReentrantReadWriteLockTest.java160 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
181 case awaitUntil: in await()
182 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
980 assertFalse(c.awaitUntil(delayedDate)); in testAwaitUntil_Timeout()
1070 …blic void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil()
1071 …blic void testInterruptible_awaitUntil_fair() { testInterruptible(true, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil_fair()
1109 public void testSignalAll_awaitUntil() { testSignalAll(false, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil()
1110 public void testSignalAll_awaitUntil_fair() { testSignalAll(true, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil_fair()