Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedLongSynchronizer.java1268 public final boolean owns(ConditionObject condition) { in owns() method in AbstractQueuedLongSynchronizer
1289 if (!owns(condition)) in hasWaiters()
1311 if (!owns(condition)) in getWaitQueueLength()
1333 if (!owns(condition)) in getWaitingThreads()
DAbstractQueuedSynchronizer.java1739 public final boolean owns(ConditionObject condition) { in owns() method in AbstractQueuedSynchronizer
1760 if (!owns(condition)) in hasWaiters()
1782 if (!owns(condition)) in getWaitQueueLength()
1804 if (!owns(condition)) in getWaitingThreads()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedLongSynchronizerTest.java613 assertTrue(sync.owns(c)); in testOwns()
614 assertFalse(sync2.owns(c)); in testOwns()
DAbstractQueuedSynchronizerTest.java616 assertTrue(sync.owns(c)); in testOwns()
617 assertFalse(sync2.owns(c)); in testOwns()