Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java182 final boolean isLocked() { in isLocked() method in ReentrantLock.Sync
590 public boolean isLocked() { in isLocked() method in ReentrantLock
591 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/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java665 public boolean isLocked() { return isHeldExclusively(); } in isLocked() method in ThreadPoolExecutor.Worker
1847 if (w.isLocked()) in getActiveCount()
1886 if (w.isLocked()) in getTaskCount()
1935 if (w.isLocked()) in toString()