Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DSynchronousQueueTest.java60 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 …]
DReentrantReadWriteLockTest.java65 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 …]
DReentrantLockTest.java64 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 …]
DSemaphoreTest.java37 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/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java47 public ReentrantLock(boolean fair) { in ReentrantLock()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java275 public ReentrantLock(boolean fair) { in ReentrantLock()
DReentrantReadWriteLock.java241 public ReentrantReadWriteLock(boolean fair) { in ReentrantReadWriteLock()
/libcore/ojluni/src/main/java/java/util/concurrent/
DSemaphore.java285 public Semaphore(int permits, boolean fair) { in Semaphore()
DArrayBlockingQueue.java238 public ArrayBlockingQueue(int capacity, boolean fair) { in ArrayBlockingQueue()
263 public ArrayBlockingQueue(int capacity, boolean fair, in ArrayBlockingQueue()
DSynchronousQueue.java860 public SynchronousQueue(boolean fair) { in SynchronousQueue()