Searched refs:AwaitMethod (Results 1 – 4 of 4) sorted by relevance
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ReentrantLockTest.java | 151 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enum in ReentrantLockTest 156 void await(Condition c, AwaitMethod awaitMethod) in await() 500 for (AwaitMethod awaitMethod : AwaitMethod.values()) { in testAwait_IMSE() 936 public void testInterruptible_await() { testInterruptible(false, AwaitMethod.await); } in testInterruptible_await() 937 public void testInterruptible_await_fair() { testInterruptible(true, AwaitMethod.await); } in testInterruptible_await_fair() 938 …public void testInterruptible_awaitTimed() { testInterruptible(false, AwaitMethod.awaitTimed)… in testInterruptible_awaitTimed() 939 …public void testInterruptible_awaitTimed_fair() { testInterruptible(true, AwaitMethod.awaitTimed)… in testInterruptible_awaitTimed_fair() 940 …public void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos)… in testInterruptible_awaitNanos() 941 …public void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos)… in testInterruptible_awaitNanos_fair() 942 …public void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil)… in testInterruptible_awaitUntil() [all …]
|
D | AbstractQueuedSynchronizerTest.java | 213 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enum in AbstractQueuedSynchronizerTest 218 void await(ConditionObject c, AwaitMethod awaitMethod) in await() 245 void assertAwaitTimesOut(ConditionObject c, AwaitMethod awaitMethod) { in assertAwaitTimesOut() 626 for (AwaitMethod awaitMethod : AwaitMethod.values()) { in testAwait_IMSE() 665 public void testAwaitTimed_Timeout() { testAwait_Timeout(AwaitMethod.awaitTimed); } 666 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 667 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); } 668 public void testAwait_Timeout(AwaitMethod awaitMethod) { 679 public void testSignal_await() { testSignal(AwaitMethod.await); } 680 public void testSignal_awaitTimed() { testSignal(AwaitMethod.awaitTimed); } [all …]
|
D | AbstractQueuedLongSynchronizerTest.java | 210 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enum in AbstractQueuedLongSynchronizerTest 215 void await(ConditionObject c, AwaitMethod awaitMethod) in await() 242 void assertAwaitTimesOut(ConditionObject c, AwaitMethod awaitMethod) { in assertAwaitTimesOut() 623 for (AwaitMethod awaitMethod : AwaitMethod.values()) { in testAwait_IMSE() 662 public void testAwaitTimed_Timeout() { testAwait_Timeout(AwaitMethod.awaitTimed); } 663 public void testAwaitNanos_Timeout() { testAwait_Timeout(AwaitMethod.awaitNanos); } 664 public void testAwaitUntil_Timeout() { testAwait_Timeout(AwaitMethod.awaitUntil); } 665 public void testAwait_Timeout(AwaitMethod awaitMethod) { 676 public void testSignal_await() { testSignal(AwaitMethod.await); } 677 public void testSignal_awaitTimed() { testSignal(AwaitMethod.awaitTimed); } [all …]
|
D | ReentrantReadWriteLockTest.java | 160 enum AwaitMethod { await, awaitTimed, awaitNanos, awaitUntil } enum in ReentrantReadWriteLockTest 165 void await(Condition c, AwaitMethod awaitMethod) in await() 885 for (AwaitMethod awaitMethod : AwaitMethod.values()) { in testAwait_IMSE() 1064 public void testInterruptible_await() { testInterruptible(false, AwaitMethod.await); } in testInterruptible_await() 1065 public void testInterruptible_await_fair() { testInterruptible(true, AwaitMethod.await); } in testInterruptible_await_fair() 1066 …public void testInterruptible_awaitTimed() { testInterruptible(false, AwaitMethod.awaitTimed)… in testInterruptible_awaitTimed() 1067 …public void testInterruptible_awaitTimed_fair() { testInterruptible(true, AwaitMethod.awaitTimed)… in testInterruptible_awaitTimed_fair() 1068 …public void testInterruptible_awaitNanos() { testInterruptible(false, AwaitMethod.awaitNanos)… in testInterruptible_awaitNanos() 1069 …public void testInterruptible_awaitNanos_fair() { testInterruptible(true, AwaitMethod.awaitNanos)… in testInterruptible_awaitNanos_fair() 1070 …public void testInterruptible_awaitUntil() { testInterruptible(false, AwaitMethod.awaitUntil)… in testInterruptible_awaitUntil() [all …]
|