Searched refs:awaitUntil (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
D | Condition.java | 421 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil() method
|
D | AbstractQueuedSynchronizer.java | 2083 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedSynchronizer.ConditionObject
|
D | AbstractQueuedLongSynchronizer.java | 1855 public final boolean awaitUntil(Date deadline) in awaitUntil() method in AbstractQueuedLongSynchronizer.ConditionObject
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedLongSynchronizerTest.java | 194 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 214 case awaitUntil: in await() 215 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await() 237 case awaitUntil: in assertAwaitTimesOut() 238 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut() 638 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); } 653 public void testSignal_awaitUntil() { testSignal(AwaitMethod.awaitUntil); } 982 public void testInterruptible_awaitUntil() { testInterruptible(AwaitMethod.awaitUntil); } 1005 public void testSignalAll_awaitUntil() { testSignalAll(AwaitMethod.awaitUntil); }
|
D | AbstractQueuedSynchronizerTest.java | 197 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 217 case awaitUntil: in await() 218 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await() 240 case awaitUntil: in assertAwaitTimesOut() 241 assertFalse(c.awaitUntil(delayedDate(timeoutMillis))); in assertAwaitTimesOut() 641 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); } 656 public void testSignal_awaitUntil() { testSignal(AwaitMethod.awaitUntil); } 985 public void testInterruptible_awaitUntil() { testInterruptible(AwaitMethod.awaitUntil); } 1008 public void testSignalAll_awaitUntil() { testSignalAll(AwaitMethod.awaitUntil); }
|
D | ReentrantLockTest.java | 136 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 156 case awaitUntil: in await() 157 assertTrue(c.awaitUntil(delayedDate(timeoutMillis))); in await() 566 assertFalse(c.awaitUntil(new java.util.Date(d.getTime() + timeoutMillis))); in testAwaitUntil_Timeout() 934 …blic void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil() 935 …blic void testInterruptible_awaitUntil_fair() { testInterruptible(true, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil_fair() 973 public void testSignalAll_awaitUntil() { testSignalAll(false, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil() 974 public void testSignalAll_awaitUntil_fair() { testSignalAll(true, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil_fair()
|
D | ReentrantReadWriteLockTest.java | 145 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil }; enumConstant 163 case awaitUntil: in await() 165 assertTrue(c.awaitUntil(new java.util.Date(d.getTime() + 2 * LONG_DELAY_MS))); in await() 967 assertFalse(c.awaitUntil(new java.util.Date(d.getTime() + timeoutMillis))); in testAwaitUntil_Timeout() 1059 …blic void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil() 1060 …blic void testInterruptible_awaitUntil_fair() { testInterruptible(true, AwaitMethod.awaitUntil); } in testInterruptible_awaitUntil_fair() 1098 public void testSignalAll_awaitUntil() { testSignalAll(false, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil() 1099 public void testSignalAll_awaitUntil_fair() { testSignalAll(true, AwaitMethod.awaitUntil); } in testSignalAll_awaitUntil_fair()
|