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.java153 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync
561 public boolean isLocked() { in isLocked() method in ReentrantLock
562 return sync.isLocked(); in isLocked()
/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java103 assertFalse(lock.isLocked()); in assertNotLocked()
113 assertTrue(lock.isLocked()); in assertLockedBy()
443 assertFalse(lock.isLocked()); in testIsLocked()
445 assertTrue(lock.isLocked()); in testIsLocked()
447 assertTrue(lock.isLocked()); in testIsLocked()
449 assertTrue(lock.isLocked()); in testIsLocked()
451 assertFalse(lock.isLocked()); in testIsLocked()
456 assertTrue(lock.isLocked()); in testIsLocked()
463 assertTrue(lock.isLocked()); in testIsLocked()
466 assertFalse(lock.isLocked()); in testIsLocked()
[all …]
/libcore/luni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java617 public boolean isLocked() { return isHeldExclusively(); } in isLocked() method in ThreadPoolExecutor.Worker
1787 if (w.isLocked()) in getActiveCount()
1826 if (w.isLocked()) in getTaskCount()
1875 if (w.isLocked()) in toString()