Home
last modified time | relevance | path

Searched defs:fair (Results 1 – 9 of 9) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DSynchronousQueueTest.java32 public void testEmptyFull(boolean fair) { in testEmptyFull()
45 public void testOffer(boolean fair) { in testOffer()
55 public void testAdd(boolean fair) { in testAdd()
69 public void testAddAll_self(boolean fair) { in testAddAll_self()
82 public void testAddAll_ISE(boolean fair) { in testAddAll_ISE()
99 public void testBlockingPut(boolean fair) { in testBlockingPut()
131 public void testPutWithTake(boolean fair) { in testPutWithTake()
165 public void testTimedOffer(boolean fair) { in testTimedOffer()
191 public void testPoll(boolean fair) { in testPoll()
201 public void testTimedPoll0(boolean fair) { in testTimedPoll0()
[all …]
DReentrantReadWriteLockTest.java50 PublicReentrantReadWriteLock(boolean fair) { super(fair); } in PublicReentrantReadWriteLock()
197 public void testLock(boolean fair) { in testLock()
219 public void testGetWriteHoldCount(boolean fair) { in testGetWriteHoldCount()
236 public void testGetHoldCount(boolean fair) { in testGetHoldCount()
253 public void testGetReadHoldCount(boolean fair) { in testGetReadHoldCount()
270 public void testWriteUnlock_IMSE(boolean fair) { in testWriteUnlock_IMSE()
283 public void testReadUnlock_IMSE(boolean fair) { in testReadUnlock_IMSE()
296 public void testWriteLockInterruptibly_Interruptible(boolean fair) { in testWriteLockInterruptibly_Interruptible()
316 public void testWriteTryLock_Interruptible(boolean fair) { in testWriteTryLock_Interruptible()
336 public void testReadLockInterruptibly_Interruptible(boolean fair) { in testReadLockInterruptibly_Interruptible()
[all …]
DReentrantLockTest.java49 PublicReentrantLock(boolean fair) { super(fair); } in PublicReentrantLock()
186 public void testLock(boolean fair) { in testLock()
198 public void testUnlock_IMSE(boolean fair) { in testUnlock_IMSE()
211 public void testTryLock(boolean fair) { in testTryLock()
226 public void testHasQueuedThreads(boolean fair) { in testHasQueuedThreads()
252 public void testGetQueueLength(boolean fair) { in testGetQueueLength()
277 public void testHasQueuedThreadNPE(boolean fair) { in testHasQueuedThreadNPE()
290 public void testHasQueuedThread(boolean fair) { in testHasQueuedThread()
320 public void testGetQueuedThreads(boolean fair) { in testGetQueuedThreads()
351 public void testTryLock_Interruptible(boolean fair) { in testTryLock_Interruptible()
[all …]
DSemaphoreTest.java24 PublicSemaphore(int permits, boolean fair) { super(permits, fair); } in PublicSemaphore()
147 public void testConstructor(boolean fair) { in testConstructor()
171 public void testTryAcquireInSameThread(boolean fair) { in testTryAcquireInSameThread()
187 public void testTryAcquire_timeout(boolean fair) { in testTryAcquire_timeout()
200 public void testTryAcquireN_timeout(boolean fair) { in testTryAcquireN_timeout()
220 public void testInterruptible(boolean fair, final AcquireMethod acquirer) { in testInterruptible()
270 public void testUninterruptible(boolean fair, final AcquireMethod acquirer) { in testUninterruptible()
310 public void testHasQueuedThreads(boolean fair) { in testHasQueuedThreads()
333 public void testGetQueueLength(boolean fair) { in testGetQueueLength()
356 public void testGetQueuedThreads(boolean fair) { in testGetQueuedThreads()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java237 public ReentrantLock(boolean fair) { in ReentrantLock()
DReentrantReadWriteLock.java211 public ReentrantReadWriteLock(boolean fair) { in ReentrantReadWriteLock()
/libcore/luni/src/main/java/java/util/concurrent/
DSemaphore.java250 public Semaphore(int permits, boolean fair) { in Semaphore()
DArrayBlockingQueue.java222 public ArrayBlockingQueue(int capacity, boolean fair) { in ArrayBlockingQueue()
247 public ArrayBlockingQueue(int capacity, boolean fair, in ArrayBlockingQueue()
DSynchronousQueue.java833 public SynchronousQueue(boolean fair) { in SynchronousQueue()