Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java189 final ConditionObject newCondition() { in newCondition()
190 return new ConditionObject(); in newCondition()
731 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()
733 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
754 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()
756 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
779 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitingThreads()
781 return sync.getWaitingThreads((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitingThreads()
DReentrantReadWriteLock.java624 final ConditionObject newCondition() { in newCondition()
625 return new ConditionObject(); in newCondition()
1431 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in hasWaiters()
1433 return sync.hasWaiters((AbstractQueuedSynchronizer.ConditionObject)condition); in hasWaiters()
1454 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitQueueLength()
1456 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
1479 if (!(condition instanceof AbstractQueuedSynchronizer.ConditionObject)) in getWaitingThreads()
1481 return sync.getWaitingThreads((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitingThreads()
DAbstractQueuedSynchronizer.java1347 public final boolean owns(ConditionObject condition) { in owns()
1367 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters()
1389 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength()
1411 public final Collection<Thread> getWaitingThreads(ConditionObject condition) { in getWaitingThreads()
1431 public class ConditionObject implements Condition, java.io.Serializable { class in AbstractQueuedSynchronizer
1441 public ConditionObject() { } in ConditionObject() method in AbstractQueuedSynchronizer.ConditionObject
DAbstractQueuedLongSynchronizer.java981 public final boolean owns(ConditionObject condition) { in owns()
1001 public final boolean hasWaiters(ConditionObject condition) { in hasWaiters()
1023 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength()
1045 public final Collection<Thread> getWaitingThreads(ConditionObject condition) { in getWaitingThreads()
1065 public class ConditionObject implements Condition, java.io.Serializable { class in AbstractQueuedLongSynchronizer
1075 public ConditionObject() { } in ConditionObject() method in AbstractQueuedLongSynchronizer.ConditionObject
/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 …]
DAbstractQueuedLongSynchronizerTest.java18 import java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject;
86 public ConditionObject newCondition() { in newCondition()
87 return new ConditionObject(); in newCondition()
190 void assertHasWaitersUnlocked(Mutex sync, ConditionObject c, in assertHasWaitersUnlocked()
200 void assertHasWaitersLocked(Mutex sync, ConditionObject c, in assertHasWaitersLocked()
215 void await(ConditionObject c, AwaitMethod awaitMethod) in await()
242 void assertAwaitTimesOut(ConditionObject c, AwaitMethod awaitMethod) { in assertAwaitTimesOut()
611 final ConditionObject c = sync.newCondition(); in testOwns()
622 final ConditionObject c = sync.newCondition(); in testAwait_IMSE()
639 final ConditionObject c = sync.newCondition();
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
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 …]
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 …]
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractQueuedSynchronizerTest.java58 public AbstractQueuedSynchronizer.ConditionObject newCondition() { in newCondition()
59 return new AbstractQueuedSynchronizer.ConditionObject(); in newCondition()
127 AbstractQueuedSynchronizer.ConditionObject condition = mutex.newCondition(); in testConditionObjectCreation()
DAbstractQueuedLongSynchronizerTest.java58 public AbstractQueuedLongSynchronizer.ConditionObject newCondition() { in newCondition()
59 return new AbstractQueuedLongSynchronizer.ConditionObject(); in newCondition()
127 AbstractQueuedLongSynchronizer.ConditionObject condition = mutex.newCondition(); in testConditionObjectCreation()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java195 final java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject newCondition() { in newCondition()
/libcore/api/
Dcurrent.txt16849 … int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject);
16850 …read> getWaitingThreads(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject);
16854 …inal boolean hasWaiters(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject);
16857 …blic final boolean owns(java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject);
16869 …public class AbstractQueuedLongSynchronizer.ConditionObject implements java.util.concurrent.locks.…
16870 ctor public AbstractQueuedLongSynchronizer.ConditionObject();
16896 …inal int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject);
16897 …g.Thread> getWaitingThreads(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject);
16901 …ic final boolean hasWaiters(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject);
16904 …d public final boolean owns(java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject);
[all …]