Searched refs:awaitUntil (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Condition.java | 422 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil() method
|
D | AbstractQueuedLongSynchronizer.java | 1637 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedLongSynchronizer.ConditionObject
|
D | AbstractQueuedSynchronizer.java | 2106 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedSynchronizer.ConditionObject
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedLongSynchronizerTest.java | 210 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); }
|
D | AbstractQueuedSynchronizerTest.java | 213 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); }
|
D | ReentrantLockTest.java | 151 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()
|
D | ReentrantReadWriteLockTest.java | 160 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()
|