Home
last modified time | relevance | path

Searched refs:InterruptedLockRunnable (Results 1 – 7 of 7) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DSemaphoreTest.java66 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in SemaphoreTest
68 InterruptedLockRunnable(Semaphore s) { lock = s; } in InterruptedLockRunnable() method in SemaphoreTest.InterruptedLockRunnable
327 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
350 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
374 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
DReentrantLockTest.java51 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantLockTest
53 InterruptedLockRunnable(ReentrantLock lock) { this.lock = lock; } in InterruptedLockRunnable() method in ReentrantLockTest.InterruptedLockRunnable
246 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
272 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
310 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
340 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
483 Thread t = newStartedThread(new InterruptedLockRunnable(lock)); in testLockInterruptibly()
DReentrantReadWriteLockTest.java52 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantReadWriteLockTest
54 InterruptedLockRunnable(ReentrantReadWriteLock l) { lock = l; } in InterruptedLockRunnable() method in ReentrantReadWriteLockTest.InterruptedLockRunnable
1268 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
1308 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
1339 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
1365 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
DStampedLockTest.java45 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in StampedLockTest
47 InterruptedLockRunnable(StampedLock l) { lock = l; } in InterruptedLockRunnable() method in StampedLockTest.InterruptedLockRunnable
/libcore/ojluni/src/test/java/util/concurrent/tck/
DSemaphoreTest.java89 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in SemaphoreTest
91 InterruptedLockRunnable(Semaphore s) { lock = s; } in InterruptedLockRunnable() method in SemaphoreTest.InterruptedLockRunnable
350 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
373 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
397 Thread t1 = newStartedThread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
DReentrantLockTest.java74 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantLockTest
76 InterruptedLockRunnable(ReentrantLock lock) { this.lock = lock; } in InterruptedLockRunnable() method in ReentrantLockTest.InterruptedLockRunnable
269 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
295 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
333 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
363 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()
506 Thread t = newStartedThread(new InterruptedLockRunnable(lock)); in testLockInterruptibly()
DReentrantReadWriteLockTest.java75 class InterruptedLockRunnable extends CheckedInterruptedRunnable { class in ReentrantReadWriteLockTest
77 InterruptedLockRunnable(ReentrantReadWriteLock l) { lock = l; } in InterruptedLockRunnable() method in ReentrantReadWriteLockTest.InterruptedLockRunnable
1288 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThreads()
1328 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testHasQueuedThread()
1359 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueueLength()
1385 Thread t1 = new Thread(new InterruptedLockRunnable(lock)); in testGetQueuedThreads()