HomeSort by relevance Sort by last modified time
    Searched refs:getQueueLength (Results 1 - 11 of 11) sorted by null

  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/
Semaphore.java 653 public final int getQueueLength() {
654 return sync.getQueueLength();
  /dalvik/libcore/concurrent/src/main/java/java/util/concurrent/locks/
ReentrantLock.java 636 public final int getQueueLength() {
637 return sync.getQueueLength();
ReentrantReadWriteLock.java     [all...]
AbstractQueuedSynchronizer.java     [all...]
  /dalvik/libcore/concurrent/src/test/java/tests/api/java/util/concurrent/
ReentrantLockTest.java 152 * getQueueLength reports number of waiting threads
159 assertEquals(0, lock.getQueueLength());
163 assertEquals(1, lock.getQueueLength());
166 assertEquals(2, lock.getQueueLength());
169 assertEquals(1, lock.getQueueLength());
172 assertEquals(0, lock.getQueueLength());
181 * getQueueLength reports number of waiting threads
188 assertEquals(0, lock.getQueueLength());
192 assertEquals(1, lock.getQueueLength());
195 assertEquals(2, lock.getQueueLength());
    [all...]
SemaphoreTest.java 342 * getQueueLength reports number of waiting threads
349 assertEquals(0, lock.getQueueLength());
353 assertEquals(1, lock.getQueueLength());
356 assertEquals(2, lock.getQueueLength());
359 assertEquals(1, lock.getQueueLength());
362 assertEquals(0, lock.getQueueLength());
849 * getQueueLength reports number of waiting threads
856 assertEquals(0, lock.getQueueLength());
860 assertEquals(1, lock.getQueueLength());
863 assertEquals(2, lock.getQueueLength());
    [all...]
ReentrantReadWriteLockTest.java     [all...]
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDatabase.java 697 if (mLock.getQueueLength() == 0) {
726 if (mLock.getQueueLength() == 0) {
    [all...]
  /prebuilt/sdk/5/
android.jar 
  /prebuilt/sdk/7/
android.jar 
  /prebuilt/sdk/8/
android.jar 

Completed in 235 milliseconds