Home
last modified time | relevance | path

Searched refs:isHeldByCurrentThread (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/
DReentrantLock.java80 public boolean isHeldByCurrentThread() { in isHeldByCurrentThread() method in ReentrantLock
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java614 public boolean isHeldByCurrentThread() { in isHeldByCurrentThread() method in ReentrantLock
DReentrantReadWriteLock.java1221 public boolean isHeldByCurrentThread() { in isHeldByCurrentThread() method in ReentrantReadWriteLock.WriteLock
/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java82 assertFalse(lock.isHeldByCurrentThread()); in releaseLock()
105 assertFalse(lock.isHeldByCurrentThread()); in assertNotLocked()
117 lock.isHeldByCurrentThread()); in assertLockedBy()
487 assertTrue(lock.isHeldByCurrentThread()); in testLockInterruptibly()
DReentrantReadWriteLockTest.java108 assertFalse(lock.writeLock().isHeldByCurrentThread()); in assertNotWriteLocked()
123 lock.writeLock().isHeldByCurrentThread()); in assertWriteLockedBy()
826 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testReadTryLock_Timeout()
848 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testWriteLockInterruptibly()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DReentrantLockTest.java105 assertFalse(lock.isHeldByCurrentThread()); in releaseLock()
128 assertFalse(lock.isHeldByCurrentThread()); in assertNotLocked()
140 lock.isHeldByCurrentThread()); in assertLockedBy()
510 assertTrue(lock.isHeldByCurrentThread()); in testLockInterruptibly()
DReentrantReadWriteLockTest.java131 assertFalse(lock.writeLock().isHeldByCurrentThread()); in assertNotWriteLocked()
146 lock.writeLock().isHeldByCurrentThread()); in assertWriteLockedBy()
849 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testReadTryLock_Timeout()
871 assertTrue(lock.writeLock().isHeldByCurrentThread()); in testWriteLockInterruptibly()
/libcore/api/
Dcurrent.txt16979 method public boolean isHeldByCurrentThread();
17025 method public boolean isHeldByCurrentThread();