Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantLock.java144 final Thread getOwner() { in getOwner() method in ReentrantLock.Sync
586 protected Thread getOwner() { in getOwner() method in ReentrantLock
587 return sync.getOwner(); in getOwner()
728 Thread o = sync.getOwner(); in toString()
DReentrantReadWriteLock.java589 final Thread getOwner() { in getOwner() method in ReentrantReadWriteLock.Sync
1162 Thread o = sync.getOwner(); in toString()
1220 protected Thread getOwner() { in getOwner() method in ReentrantReadWriteLock
1221 return sync.getOwner(); in getOwner()
/libcore/jsr166-tests/src/test/java/jsr166/
DReentrantLockTest.java50 public Thread getOwner() { in getOwner() method in ReentrantLockTest.PublicReentrantLock
51 return super.getOwner(); in getOwner()
82 assertNotSame(t, lock.getOwner()); in waitForQueuedThread()
91 assertNull(lock.getOwner()); in assertNotLocked()
100 assertSame(t, lock.getOwner()); in assertLockedBy()
DReentrantReadWriteLockTest.java51 public Thread getOwner() { in getOwner() method in ReentrantReadWriteLockTest.PublicReentrantReadWriteLock
52 return super.getOwner(); in getOwner()
84 assertNotSame(t, lock.getOwner()); in waitForQueuedThread()
96 assertNull(lock.getOwner()); in assertNotWriteLocked()
104 assertSame(t, lock.getOwner()); in assertWriteLockedBy()