Home
last modified time | relevance | path

Searched refs:getQueueLength (Results 1 – 17 of 17) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java692 public final int getQueueLength() { in getQueueLength() method in Semaphore
693 return sync.getQueueLength(); in getQueueLength()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java694 public final int getQueueLength() { in getQueueLength() method in ReentrantLock
695 return sync.getQueueLength(); in getQueueLength()
DReentrantReadWriteLock.java1394 public final int getQueueLength() { in getQueueLength() method in ReentrantReadWriteLock
1395 return sync.getQueueLength(); in getQueueLength()
DAbstractQueuedLongSynchronizer.java927 public final int getQueueLength() { in getQueueLength() method in AbstractQueuedLongSynchronizer
DAbstractQueuedSynchronizer.java1304 public final int getQueueLength() { in getQueueLength() method in AbstractQueuedSynchronizer
/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java348 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
352 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
355 assertEquals(2, lock.getQueueLength()); in testGetQueueLength()
358 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
361 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
DReentrantLockTest.java274 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
278 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
281 assertEquals(2, lock.getQueueLength()); in testGetQueueLength()
284 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
287 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
DReentrantReadWriteLockTest.java1341 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
1345 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
1348 assertEquals(2, lock.getQueueLength()); in testGetQueueLength()
1351 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
1354 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
DAbstractQueuedSynchronizerTest.java158 assertEquals(expected.length, sync.getQueueLength()); in assertHasQueuedThreads()
DAbstractQueuedLongSynchronizerTest.java155 assertEquals(expected.length, sync.getQueueLength()); in assertHasQueuedThreads()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSemaphoreTest.java408 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
412 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
415 assertEquals(2, lock.getQueueLength()); in testGetQueueLength()
418 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
421 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
DReentrantLockTest.java320 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
324 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
327 assertEquals(2, lock.getQueueLength()); in testGetQueueLength()
330 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
333 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
DReentrantReadWriteLockTest.java1477 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
1481 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
1484 assertEquals(2, lock.getQueueLength()); in testGetQueueLength()
1487 assertEquals(1, lock.getQueueLength()); in testGetQueueLength()
1490 assertEquals(0, lock.getQueueLength()); in testGetQueueLength()
DAbstractQueuedLongSynchronizerTest.java190 assertEquals(expected.length, sync.getQueueLength()); in assertHasQueuedThreads()
DAbstractQueuedSynchronizerTest.java193 assertEquals(expected.length, sync.getQueueLength()); in assertHasQueuedThreads()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java104 public final int getQueueLength() { in getQueueLength() method in ReentrantLock
/libcore/api/
Dcurrent.txt16480 method public final int getQueueLength();
17025 method public final int getQueueLength();
17072 method public final int getQueueLength();
17151 method public final int getQueueLength();
17173 method public final int getQueueLength();