Home
last modified time | relevance | path

Searched refs:ConditionObject (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java172 final ConditionObject newCondition() { in newCondition()
173 return new ConditionObject(); in newCondition()
703 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()
705 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
726 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()
728 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
751 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitingThreads()
753 return sync.getWaitingThreads((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitingThreads()
DReentrantReadWriteLock.java615 final ConditionObject newCondition() { in newCondition()
616 return new ConditionObject(); in newCondition()
1422 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()
1424 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
1445 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()
1447 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
1470 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitingThreads()
1472 return sync.getWaitingThreads((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitingThreads()
DAbstractQueuedLongSynchronizer.java1297 public final boolean owns(ConditionObject condition) { in owns()
1317 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters()
1339 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength()
1361 public final Collection<Thread> getWaitingThreads(ConditionObject condition) { in getWaitingThreads()
1384 public class ConditionObject implements Condition, java.io.Serializable { class in AbstractQueuedLongSynchronizer
1394 public ConditionObject() { } in ConditionObject() method in AbstractQueuedLongSynchronizer.ConditionObject
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractQueuedLongSynchronizerTest.java58 public AbstractQueuedLongSynchronizer.ConditionObject newCondition() { in newCondition()
59 return new AbstractQueuedLongSynchronizer.ConditionObject(); in newCondition()
127 AbstractQueuedLongSynchronizer.ConditionObject condition = mutex.newCondition(); in testConditionObjectCreation()
DAbstractQueuedSynchronizerTest.java58 public AbstractQueuedSynchronizer.ConditionObject newCondition() { in newCondition()
59 return new AbstractQueuedSynchronizer.ConditionObject(); in newCondition()
127 AbstractQueuedSynchronizer.ConditionObject condition = mutex.newCondition(); in testConditionObjectCreation()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java44 import java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject;
109 public ConditionObject newCondition() { in newCondition()
110 return new ConditionObject(); in newCondition()
218 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c, in assertHasWaitersUnlocked()
228 void assertHasWaitersLocked(Mutex sync, ConditionObject c, in assertHasWaitersLocked()
243 void await(ConditionObject c, AwaitMethod awaitMethod) in await()
270 void assertAwaitTimesOut(ConditionObject c, AwaitMethod awaitMethod) { in assertAwaitTimesOut()
639 final ConditionObject c = sync.newCondition(); in testOwns()
650 final ConditionObject c = sync.newCondition(); in testAwait_IMSE()
667 final ConditionObject c = sync.newCondition();
[all …]
DAbstractQueuedSynchronizerTest.java44 import java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject;
113 public ConditionObject newCondition() { in newCondition()
114 return new ConditionObject(); in newCondition()
221 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c, in assertHasWaitersUnlocked()
231 void assertHasWaitersLocked(Mutex sync, ConditionObject c, in assertHasWaitersLocked()
246 void await(ConditionObject c, AwaitMethod awaitMethod) in await()
273 void assertAwaitTimesOut(ConditionObject c, AwaitMethod awaitMethod) { in assertAwaitTimesOut()
642 final ConditionObject c = sync.newCondition(); in testOwns()
653 final ConditionObject c = sync.newCondition(); in testAwait_IMSE()
670 final ConditionObject c = sync.newCondition();
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java18 import java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject;
90 public ConditionObject newCondition() { in newCondition()
91 return new ConditionObject(); in newCondition()
193 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c, in assertHasWaitersUnlocked()
203 void assertHasWaitersLocked(Mutex sync, ConditionObject c, in assertHasWaitersLocked()
218 void await(ConditionObject c, AwaitMethod awaitMethod) in await()
245 void assertAwaitTimesOut(ConditionObject c, AwaitMethod awaitMethod) { in assertAwaitTimesOut()
614 final ConditionObject c = sync.newCondition(); in testOwns()
625 final ConditionObject c = sync.newCondition(); in testAwait_IMSE()
642 final ConditionObject c = sync.newCondition();
[all …]
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java195 final java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject newCondition() { in newCondition()