/libcore/luni/src/test/java/libcore/java/util/concurrent/ |
D | AbstractQueuedSynchronizerTest.java | 34 public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizerTest.DefaultMutex 35 return super.isHeldExclusively(); in isHeldExclusively() 68 mutex.isHeldExclusively(); in testDefaultIsHeldExclusivelyFails()
|
D | AbstractQueuedLongSynchronizerTest.java | 34 public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizerTest.DefaultMutex 35 return super.isHeldExclusively(); in isHeldExclusively() 68 mutex.isHeldExclusively(); in testDefaultIsHeldExclusivelyFails()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | ReentrantLock.java | 183 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantLock.Sync 200 return isHeldExclusively() ? getState() : 0; in getHoldCount() 615 return sync.isHeldExclusively(); in isHeldByCurrentThread()
|
D | ReentrantReadWriteLock.java | 371 if (!isHeldExclusively()) in tryRelease() 616 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantReadWriteLock.Sync 644 return isHeldExclusively() ? exclusiveCount(getState()) : 0; in getWriteHoldCount() 1222 return sync.isHeldExclusively(); in isHeldByCurrentThread() 1297 return sync.isHeldExclusively(); in isWriteLockedByCurrentThread()
|
D | AbstractQueuedSynchronizer.java | 920 protected boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizer 1472 if (!isHeldExclusively()) in signal() 1487 if (!isHeldExclusively()) in signalAll() 1502 if (isHeldExclusively()) { in enableWait() 1791 if (!isHeldExclusively()) in hasWaiters() 1810 if (!isHeldExclusively()) in getWaitQueueLength() 1830 if (!isHeldExclusively()) in getWaitingThreads()
|
D | AbstractQueuedLongSynchronizer.java | 554 protected boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizer 1106 if (!isHeldExclusively()) in signal() 1121 if (!isHeldExclusively()) in signalAll() 1136 if (isHeldExclusively()) { in enableWait() 1425 if (!isHeldExclusively()) in hasWaiters() 1444 if (!isHeldExclusively()) in getWaitQueueLength() 1464 if (!isHeldExclusively()) in getWaitingThreads()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | AbstractQueuedSynchronizerTest.java | 48 @Override public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizerTest.Mutex 281 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively() 290 assertTrue(sync.isHeldExclusively()); in testAcquire() 292 assertFalse(sync.isHeldExclusively()); in testAcquire() 301 assertTrue(sync.isHeldExclusively()); in testTryAcquire() 303 assertFalse(sync.isHeldExclusively()); in testTryAcquire() 568 assertTrue(sync.isHeldExclusively()); in testGetState() 570 assertFalse(sync.isHeldExclusively()); in testGetState() 583 assertTrue(sync.isHeldExclusively()); in testGetState() 586 assertFalse(sync.isHeldExclusively()); in testGetState() [all …]
|
D | AbstractQueuedLongSynchronizerTest.java | 45 public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizerTest.Mutex 278 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively() 287 assertTrue(sync.isHeldExclusively()); in testAcquire() 289 assertFalse(sync.isHeldExclusively()); in testAcquire() 298 assertTrue(sync.isHeldExclusively()); in testTryAcquire() 300 assertFalse(sync.isHeldExclusively()); in testTryAcquire() 565 assertTrue(sync.isHeldExclusively()); in testGetState() 567 assertFalse(sync.isHeldExclusively()); in testGetState() 580 assertTrue(sync.isHeldExclusively()); in testGetState() 583 assertFalse(sync.isHeldExclusively()); in testGetState() [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | AbstractQueuedSynchronizerTest.java | 71 @Override public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedSynchronizerTest.Mutex 309 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively() 318 assertTrue(sync.isHeldExclusively()); in testAcquire() 320 assertFalse(sync.isHeldExclusively()); in testAcquire() 329 assertTrue(sync.isHeldExclusively()); in testTryAcquire() 331 assertFalse(sync.isHeldExclusively()); in testTryAcquire() 596 assertTrue(sync.isHeldExclusively()); in testGetState() 598 assertFalse(sync.isHeldExclusively()); in testGetState() 611 assertTrue(sync.isHeldExclusively()); in testGetState() 614 assertFalse(sync.isHeldExclusively()); in testGetState() [all …]
|
D | AbstractQueuedLongSynchronizerTest.java | 68 public boolean isHeldExclusively() { in isHeldExclusively() method in AbstractQueuedLongSynchronizerTest.Mutex 306 assertFalse(sync.isHeldExclusively()); in testIsHeldExclusively() 315 assertTrue(sync.isHeldExclusively()); in testAcquire() 317 assertFalse(sync.isHeldExclusively()); in testAcquire() 326 assertTrue(sync.isHeldExclusively()); in testTryAcquire() 328 assertFalse(sync.isHeldExclusively()); in testTryAcquire() 593 assertTrue(sync.isHeldExclusively()); in testGetState() 595 assertFalse(sync.isHeldExclusively()); in testGetState() 608 assertTrue(sync.isHeldExclusively()); in testGetState() 611 assertFalse(sync.isHeldExclusively()); in testGetState() [all …]
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/locks/ |
D | ReentrantLock.java | 191 protected final boolean isHeldExclusively() { in isHeldExclusively() method in ReentrantLock.Sync
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 652 protected boolean isHeldExclusively() { in isHeldExclusively() method in ThreadPoolExecutor.Worker 673 public boolean isLocked() { return isHeldExclusively(); } in isLocked()
|
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/ |
D | ThreadPoolExecutor.java | 464 protected boolean isHeldExclusively() { in isHeldExclusively() method in ThreadPoolExecutor.Worker
|
/libcore/api/ |
D | current.txt | 16855 method protected boolean isHeldExclusively(); 16902 method protected boolean isHeldExclusively();
|