Searched refs:owns (Results 1 – 6 of 6) sorted by relevance
128 assertTrue(mutex.owns(condition)); in testConditionObjectCreation()
1297 public final boolean owns(ConditionObject condition) { in owns() method in AbstractQueuedLongSynchronizer1318 if (!owns(condition)) in hasWaiters()1340 if (!owns(condition)) in getWaitQueueLength()1362 if (!owns(condition)) in getWaitingThreads()
641 assertTrue(sync.owns(c)); in testOwns()642 assertFalse(sync2.owns(c)); in testOwns()
644 assertTrue(sync.owns(c)); in testOwns()645 assertFalse(sync2.owns(c)); in testOwns()
616 assertTrue(sync.owns(c)); in testOwns()617 assertFalse(sync2.owns(c)); in testOwns()