Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java156 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync
566 public boolean isLocked() { in isLocked() method in ReentrantLock
567 return sync.isLocked(); in isLocked()
/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/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java636 public boolean isLocked() { return isHeldExclusively(); } in isLocked() method in ThreadPoolExecutor.Worker
1818 if (w.isLocked()) in getActiveCount()
1857 if (w.isLocked()) in getTaskCount()
1906 if (w.isLocked()) in toString()