/libcore/jsr166-tests/src/test/java/jsr166/ |
D | SynchronousQueueTest.java | 60 public void testEmptyFull(boolean fair) { in testEmptyFull() 73 public void testOffer(boolean fair) { in testOffer() 83 public void testAdd(boolean fair) { in testAdd() 97 public void testAddAll_self(boolean fair) { in testAddAll_self() 110 public void testAddAll_ISE(boolean fair) { in testAddAll_ISE() 127 public void testBlockingPut(boolean fair) { in testBlockingPut() 159 public void testPutWithTake(boolean fair) { in testPutWithTake() 193 public void testTimedOffer(boolean fair) { in testTimedOffer() 219 public void testPoll(boolean fair) { in testPoll() 229 public void testTimedPoll0(boolean fair) { in testTimedPoll0() [all …]
|
D | ReentrantReadWriteLockTest.java | 65 PublicReentrantReadWriteLock(boolean fair) { super(fair); } in PublicReentrantReadWriteLock() 216 public void testLock(boolean fair) { in testLock() 238 public void testGetWriteHoldCount(boolean fair) { in testGetWriteHoldCount() 255 public void testGetHoldCount(boolean fair) { in testGetHoldCount() 272 public void testGetReadHoldCount(boolean fair) { in testGetReadHoldCount() 289 public void testWriteUnlock_IMSE(boolean fair) { in testWriteUnlock_IMSE() 302 public void testReadUnlock_IMSE(boolean fair) { in testReadUnlock_IMSE() 315 public void testWriteLockInterruptibly_Interruptible(boolean fair) { in testWriteLockInterruptibly_Interruptible() 335 public void testWriteTryLock_Interruptible(boolean fair) { in testWriteTryLock_Interruptible() 355 public void testReadLockInterruptibly_Interruptible(boolean fair) { in testReadLockInterruptibly_Interruptible() [all …]
|
D | ReentrantLockTest.java | 64 PublicReentrantLock(boolean fair) { super(fair); } in PublicReentrantLock() 204 public void testLock(boolean fair) { in testLock() 216 public void testUnlock_IMSE(boolean fair) { in testUnlock_IMSE() 229 public void testTryLock(boolean fair) { in testTryLock() 244 public void testHasQueuedThreads(boolean fair) { in testHasQueuedThreads() 270 public void testGetQueueLength(boolean fair) { in testGetQueueLength() 295 public void testHasQueuedThreadNPE(boolean fair) { in testHasQueuedThreadNPE() 308 public void testHasQueuedThread(boolean fair) { in testHasQueuedThread() 338 public void testGetQueuedThreads(boolean fair) { in testGetQueuedThreads() 369 public void testTryLock_Interruptible(boolean fair) { in testTryLock_Interruptible() [all …]
|
D | SemaphoreTest.java | 37 PublicSemaphore(int permits, boolean fair) { super(permits, fair); } in PublicSemaphore() 160 public void testConstructor(boolean fair) { in testConstructor() 184 public void testTryAcquireInSameThread(boolean fair) { in testTryAcquireInSameThread() 200 public void testTryAcquire_timeout(boolean fair) { in testTryAcquire_timeout() 213 public void testTryAcquireN_timeout(boolean fair) { in testTryAcquireN_timeout() 233 public void testInterruptible(boolean fair, final AcquireMethod acquirer) { in testInterruptible() 283 public void testUninterruptible(boolean fair, final AcquireMethod acquirer) { in testUninterruptible() 323 public void testHasQueuedThreads(boolean fair) { in testHasQueuedThreads() 346 public void testGetQueueLength(boolean fair) { in testGetQueueLength() 369 public void testGetQueuedThreads(boolean fair) { in testGetQueuedThreads() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | ReentrantReadWriteLockTest.java | 88 PublicReentrantReadWriteLock(boolean fair) { super(fair); } in PublicReentrantReadWriteLock() 239 public void testLock(boolean fair) { in testLock() 261 public void testGetWriteHoldCount(boolean fair) { in testGetWriteHoldCount() 278 public void testGetHoldCount(boolean fair) { in testGetHoldCount() 295 public void testGetReadHoldCount(boolean fair) { in testGetReadHoldCount() 312 public void testWriteUnlock_IMSE(boolean fair) { in testWriteUnlock_IMSE() 325 public void testReadUnlock_IMSE(boolean fair) { in testReadUnlock_IMSE() 338 public void testWriteLockInterruptibly_Interruptible(boolean fair) { in testWriteLockInterruptibly_Interruptible() 358 public void testWriteTryLock_Interruptible(boolean fair) { in testWriteTryLock_Interruptible() 378 public void testReadLockInterruptibly_Interruptible(boolean fair) { in testReadLockInterruptibly_Interruptible() [all …]
|
D | SynchronousQueueTest.java | 81 public void testEmptyFull(boolean fair) { in testEmptyFull() 94 public void testOffer(boolean fair) { in testOffer() 104 public void testAdd(boolean fair) { in testAdd() 118 public void testAddAll_self(boolean fair) { in testAddAll_self() 131 public void testAddAll_ISE(boolean fair) { in testAddAll_ISE() 148 public void testBlockingPut(boolean fair) { in testBlockingPut() 180 public void testPutWithTake(boolean fair) { in testPutWithTake() 214 public void testTimedOffer(boolean fair) { in testTimedOffer() 240 public void testPoll(boolean fair) { in testPoll() 250 public void testTimedPoll0(boolean fair) { in testTimedPoll0() [all …]
|
D | ReentrantLockTest.java | 87 PublicReentrantLock(boolean fair) { super(fair); } in PublicReentrantLock() 227 public void testLock(boolean fair) { in testLock() 239 public void testUnlock_IMSE(boolean fair) { in testUnlock_IMSE() 252 public void testTryLock(boolean fair) { in testTryLock() 267 public void testHasQueuedThreads(boolean fair) { in testHasQueuedThreads() 293 public void testGetQueueLength(boolean fair) { in testGetQueueLength() 318 public void testHasQueuedThreadNPE(boolean fair) { in testHasQueuedThreadNPE() 331 public void testHasQueuedThread(boolean fair) { in testHasQueuedThread() 361 public void testGetQueuedThreads(boolean fair) { in testGetQueuedThreads() 392 public void testTryLock_Interruptible(boolean fair) { in testTryLock_Interruptible() [all …]
|
D | SemaphoreTest.java | 60 PublicSemaphore(int permits, boolean fair) { super(permits, fair); } in PublicSemaphore() 183 public void testConstructor(boolean fair) { in testConstructor() 207 public void testTryAcquireInSameThread(boolean fair) { in testTryAcquireInSameThread() 223 public void testTryAcquire_timeout(boolean fair) { in testTryAcquire_timeout() 236 public void testTryAcquireN_timeout(boolean fair) { in testTryAcquireN_timeout() 256 public void testInterruptible(boolean fair, final AcquireMethod acquirer) { in testInterruptible() 306 public void testUninterruptible(boolean fair, final AcquireMethod acquirer) { in testUninterruptible() 346 public void testHasQueuedThreads(boolean fair) { in testHasQueuedThreads() 369 public void testGetQueueLength(boolean fair) { in testGetQueueLength() 392 public void testGetQueuedThreads(boolean fair) { in testGetQueuedThreads() [all …]
|
D | ArrayBlockingQueueTest.java | 105 int size, int minCapacity, int maxCapacity, boolean fair) { in populatedQueue()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/ |
D | ReentrantLock.java | 47 public ReentrantLock(boolean fair) { in ReentrantLock()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantLock.java | 275 public ReentrantLock(boolean fair) { in ReentrantLock()
|
D | ReentrantReadWriteLock.java | 241 public ReentrantReadWriteLock(boolean fair) { in ReentrantReadWriteLock()
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Semaphore.java | 285 public Semaphore(int permits, boolean fair) { in Semaphore()
|
D | ArrayBlockingQueue.java | 238 public ArrayBlockingQueue(int capacity, boolean fair) { in ArrayBlockingQueue() 263 public ArrayBlockingQueue(int capacity, boolean fair, in ArrayBlockingQueue()
|
D | SynchronousQueue.java | 860 public SynchronousQueue(boolean fair) { in SynchronousQueue()
|