Home
last modified time | relevance | path

Searched refs:isReadLocked (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/test/java/util/concurrent/tck/
DStampedLockTest.java76 assertTrue(lock.isReadLocked()); in releaseReadLock()
79 assertFalse(lock.isReadLocked()); in releaseReadLock()
95 assertFalse(lock.isReadLocked()); in assertUnlocked()
170 assertFalse(lock.isReadLocked()); in testWriteLock_lockUnlock()
176 assertFalse(lock.isReadLocked()); in testWriteLock_lockUnlock()
195 assertTrue(lock.isReadLocked()); in testReadLock_lockUnlock()
200 assertTrue(lock.isReadLocked()); in testReadLock_lockUnlock()
219 assertTrue(lock.isReadLocked()); in testTryUnlockWrite_failure()
518 assertFalse(lock.isReadLocked()); in testWriteAfterReadLock()
525 assertTrue(lock.isReadLocked()); in testWriteAfterReadLock()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DStampedLockTest.java69 assertFalse(lock.isReadLocked()); in testConstructor()
79 assertFalse(lock.isReadLocked()); in testLock()
83 assertFalse(lock.isReadLocked()); in testLock()
87 assertFalse(lock.isReadLocked()); in testLock()
91 assertTrue(lock.isReadLocked()); in testLock()
95 assertFalse(lock.isReadLocked()); in testLock()
105 assertFalse(lock.isReadLocked()); in testUnlock()
109 assertFalse(lock.isReadLocked()); in testUnlock()
113 assertFalse(lock.isReadLocked()); in testUnlock()
117 assertTrue(lock.isReadLocked()); in testUnlock()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java873 public boolean isReadLocked() { in isReadLocked() method in StampedLock
/libcore/api/
Dcurrent.txt17043 method public boolean isReadLocked();