Home
last modified time | relevance | path

Searched refs:getWaitQueueLength (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java751 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() method in ReentrantLock
756 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
DReentrantReadWriteLock.java1451 public int getWaitQueueLength(Condition condition) { in getWaitQueueLength() method in ReentrantReadWriteLock
1456 return sync.getWaitQueueLength((AbstractQueuedSynchronizer.ConditionObject)condition); in getWaitQueueLength()
DAbstractQueuedLongSynchronizer.java1064 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() method in AbstractQueuedLongSynchronizer
1067 return condition.getWaitQueueLength(); in getWaitQueueLength()
1522 protected final int getWaitQueueLength() { in getWaitQueueLength() method in AbstractQueuedLongSynchronizer.ConditionObject
DAbstractQueuedSynchronizer.java1441 public final int getWaitQueueLength(ConditionObject condition) { in getWaitQueueLength() method in AbstractQueuedSynchronizer
1444 return condition.getWaitQueueLength(); in getWaitQueueLength()
1899 protected final int getWaitQueueLength() { in getWaitQueueLength() method in AbstractQueuedSynchronizer.ConditionObject
/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java143 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters()
630 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE()
687 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
701 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE()
782 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
792 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
799 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
807 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
815 assertEquals(2, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
DAbstractQueuedSynchronizerTest.java206 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked()
723 sync.getWaitQueueLength(null);
774 sync2.getWaitQueueLength(c);
787 sync.getWaitQueueLength(c);
864 assertEquals(0, sync.getWaitQueueLength(c));
872 assertEquals(1, sync.getWaitQueueLength(c));
879 assertEquals(1, sync.getWaitQueueLength(c));
888 assertEquals(2, sync.getWaitQueueLength(c));
892 assertEquals(0, sync.getWaitQueueLength(c));
DAbstractQueuedLongSynchronizerTest.java203 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked()
720 sync.getWaitQueueLength(null);
771 sync2.getWaitQueueLength(c);
784 sync.getWaitQueueLength(c);
861 assertEquals(0, sync.getWaitQueueLength(c));
869 assertEquals(1, sync.getWaitQueueLength(c));
876 assertEquals(1, sync.getWaitQueueLength(c));
885 assertEquals(2, sync.getWaitQueueLength(c));
889 assertEquals(0, sync.getWaitQueueLength(c));
DReentrantReadWriteLockTest.java152 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters()
1410 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE()
1467 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
1481 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE()
1565 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
1574 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
1577 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DReentrantLockTest.java178 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters()
710 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE()
775 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
791 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE()
880 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
890 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
897 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
905 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
913 assertEquals(2, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
DAbstractQueuedLongSynchronizerTest.java243 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked()
790 sync.getWaitQueueLength(null);
845 sync2.getWaitQueueLength(c);
859 sync.getWaitQueueLength(c);
940 assertEquals(0, sync.getWaitQueueLength(c));
948 assertEquals(1, sync.getWaitQueueLength(c));
955 assertEquals(1, sync.getWaitQueueLength(c));
964 assertEquals(2, sync.getWaitQueueLength(c));
968 assertEquals(0, sync.getWaitQueueLength(c));
DAbstractQueuedSynchronizerTest.java246 assertEquals(threads.length, sync.getWaitQueueLength(c)); in assertHasWaitersLocked()
793 sync.getWaitQueueLength(null);
848 sync2.getWaitQueueLength(c);
862 sync.getWaitQueueLength(c);
943 assertEquals(0, sync.getWaitQueueLength(c));
951 assertEquals(1, sync.getWaitQueueLength(c));
958 assertEquals(1, sync.getWaitQueueLength(c));
967 assertEquals(2, sync.getWaitQueueLength(c));
971 assertEquals(0, sync.getWaitQueueLength(c));
DReentrantReadWriteLockTest.java187 assertEquals(threads.length, lock.getWaitQueueLength(c)); in assertHasWaiters()
1552 lock.getWaitQueueLength(null); in testGetWaitQueueLengthNPE()
1617 lock2.getWaitQueueLength(c); in testGetWaitQueueLengthIAE()
1633 lock.getWaitQueueLength(c); in testGetWaitQueueLengthIMSE()
1725 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
1734 assertEquals(1, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
1737 assertEquals(0, lock.getWaitQueueLength(c)); in testGetWaitQueueLength()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java116 public int getWaitQueueLength(java.util.concurrent.locks.Condition condition) { in getWaitQueueLength() method in ReentrantLock
/libcore/api/
Dcurrent.txt17029 …method public final int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedLongSynchroniz…
17056 method protected final int getWaitQueueLength();
17076 …method public final int getWaitQueueLength(java.util.concurrent.locks.AbstractQueuedSynchronizer.C…
17103 method protected final int getWaitQueueLength();
17153 method public int getWaitQueueLength(java.util.concurrent.locks.Condition);
17179 method public int getWaitQueueLength(java.util.concurrent.locks.Condition);