Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DCondition.java451 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil() method
DAbstractQueuedLongSynchronizer.java1666 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedLongSynchronizer.ConditionObject
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java238 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
258 case awaitUntil: in await()
259 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
288 case awaitUntil: in assertAwaitTimesOut()
292 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut()
692 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); }
707 public void testSignal_awaitUntil() { testSignal(AwaitMethod.awaitUntil); }
1036 public void testInterruptible_awaitUntil() { testInterruptible(AwaitMethod.awaitUntil); }
1059 public void testSignalAll_awaitUntil() { testSignalAll(AwaitMethod.awaitUntil); }
DAbstractQueuedSynchronizerTest.java241 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
261 case awaitUntil: in await()
262 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
291 case awaitUntil: in assertAwaitTimesOut()
295 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut()
695 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); }
710 public void testSignal_awaitUntil() { testSignal(AwaitMethod.awaitUntil); }
1039 public void testInterruptible_awaitUntil() { testInterruptible(AwaitMethod.awaitUntil); }
1062 public void testSignalAll_awaitUntil() { testSignalAll(AwaitMethod.awaitUntil); }
DReentrantLockTest.java174 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
195 case awaitUntil: in await()
196 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
599 assertFalse(c.awaitUntil(delayedDate)); in testAwaitUntil_Timeout()
965 …blic void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil()
966 …blic void testInterruptible_awaitUntil_fair() { testInterruptible(true, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil_fair()
1004 public void testSignalAll_awaitUntil() { testSignalAll(false, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil()
1005 public void testSignalAll_awaitUntil_fair() { testSignalAll(true, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil_fair()
/libcore/jsr166-tests/src/test/java/jsr166/
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()