Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DCondition.java453 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil() method
DAbstractQueuedSynchronizer.java1700 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedSynchronizer.ConditionObject
DAbstractQueuedLongSynchronizer.java1334 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedLongSynchronizer.ConditionObject
/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); }
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); }
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()
/libcore/ojluni/src/test/java/util/concurrent/tck/
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); }
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); }
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()
DReentrantReadWriteLockTest.java183 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enumConstant
204 case awaitUntil: in await()
205 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await()
1000 assertFalse(c.awaitUntil(delayedDate)); in testAwaitUntil_Timeout()
1090 …blic void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil()
1091 …blic void testInterruptible_awaitUntil_fair() { testInterruptible(true, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil_fair()
1129 public void testSignalAll_awaitUntil() { testSignalAll(false, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil()
1130 public void testSignalAll_awaitUntil_fair() { testSignalAll(true, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil_fair()
/libcore/api/
Dcurrent.txt16875 method public final boolean awaitUntil(java.util.Date) throws java.lang.InterruptedException;
16922 method public final boolean awaitUntil(java.util.Date) throws java.lang.InterruptedException;
16935 method public boolean awaitUntil(java.util.Date) throws java.lang.InterruptedException;