Home
last modified time | relevance | path

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

/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java104 assertFalse(lock.isLocked()); in assertNotLocked()
114 assertTrue(lock.isLocked()); in assertLockedBy()
445 assertFalse(lock.isLocked()); in testIsLocked()
447 assertTrue(lock.isLocked()); in testIsLocked()
449 assertTrue(lock.isLocked()); in testIsLocked()
451 assertTrue(lock.isLocked()); in testIsLocked()
453 assertFalse(lock.isLocked()); in testIsLocked()
458 assertTrue(lock.isLocked()); in testIsLocked()
465 assertTrue(lock.isLocked()); in testIsLocked()
468 assertFalse(lock.isLocked()); in testIsLocked()
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DReentrantLockTest.java127 assertFalse(lock.isLocked()); in assertNotLocked()
137 assertTrue(lock.isLocked()); in assertLockedBy()
468 assertFalse(lock.isLocked()); in testIsLocked()
470 assertTrue(lock.isLocked()); in testIsLocked()
472 assertTrue(lock.isLocked()); in testIsLocked()
474 assertTrue(lock.isLocked()); in testIsLocked()
476 assertFalse(lock.isLocked()); in testIsLocked()
481 assertTrue(lock.isLocked()); in testIsLocked()
488 assertTrue(lock.isLocked()); in testIsLocked()
491 assertFalse(lock.isLocked()); in testIsLocked()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java203 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync
626 public boolean isLocked() { in isLocked() method in ReentrantLock
627 return sync.isLocked(); in isLocked()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java84 public boolean isLocked() { in isLocked() method in ReentrantLock
207 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java673 public boolean isLocked() { return isHeldExclusively(); } in isLocked() method in ThreadPoolExecutor.Worker
1846 if (w.isLocked()) in getActiveCount()
1885 if (w.isLocked()) in getTaskCount()
1934 if (w.isLocked()) in toString()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DThreadPoolExecutor.java488 public boolean isLocked() { in isLocked() method in ThreadPoolExecutor.Worker
/libcore/api/
Dcurrent.txt16980 method public boolean isLocked();