Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractQueuedLongSynchronizerTest.java128 assertTrue(mutex.owns(condition)); in testConditionObjectCreation()
DAbstractQueuedSynchronizerTest.java128 assertTrue(mutex.owns(condition)); in testConditionObjectCreation()
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedLongSynchronizer.java1297 public final boolean owns(ConditionObject condition) { in owns() method in AbstractQueuedLongSynchronizer
1318 if (!owns(condition)) in hasWaiters()
1340 if (!owns(condition)) in getWaitQueueLength()
1362 if (!owns(condition)) in getWaitingThreads()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DAbstractQueuedLongSynchronizerTest.java641 assertTrue(sync.owns(c)); in testOwns()
642 assertFalse(sync2.owns(c)); in testOwns()
DAbstractQueuedSynchronizerTest.java644 assertTrue(sync.owns(c)); in testOwns()
645 assertFalse(sync2.owns(c)); in testOwns()
/libcore/jsr166-tests/src/test/java/jsr166/
DAbstractQueuedSynchronizerTest.java616 assertTrue(sync.owns(c)); in testOwns()
617 assertFalse(sync2.owns(c)); in testOwns()