Home
last modified time | relevance | path

Searched refs:isShared (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/nio/channels/
DFileLock.java141 public final boolean isShared() { in isShared() method in FileLock
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
DFileLockTest.java140 assertFalse(mockLock.isShared()); in test_isShared()
142 assertTrue(lock.isShared()); in test_isShared()
DFileChannelTest.java787 assertTrue(fileLock.isShared()); in test_lockJJZ_Shared()
801 assertFalse(fileLock.isShared()); in test_lockJJZ_NotShared()
815 assertTrue(fileLock.isShared()); in test_lockJJZ_Long_MAX_VALUE()
995 assertTrue(fileLock.isShared()); in test_tryLockJJZ_Shared()
1009 assertFalse(fileLock.isShared()); in test_tryLockJJZ_NotShared()
1023 assertTrue(fileLock.isShared()); in test_tryLockJJZ_Long_MAX_VALUE()
/libcore/luni/src/main/java/java/util/concurrent/locks/
DAbstractQueuedSynchronizer.java462 final boolean isShared() { in isShared() method in AbstractQueuedSynchronizer.Node
707 if (s == null || s.isShared()) in setHeadAndPropagate()
1442 !s.isShared() && in apparentlyFirstQueuedIsExclusive()
1554 if (!p.isShared()) { in getExclusiveQueuedThreads()
1574 if (p.isShared()) { in getSharedQueuedThreads()
DAbstractQueuedLongSynchronizer.java232 final boolean isShared() { in isShared() method in AbstractQueuedLongSynchronizer.Node
477 if (s == null || s.isShared()) in setHeadAndPropagate()
1212 !s.isShared() && in apparentlyFirstQueuedIsExclusive()
1324 if (!p.isShared()) { in getExclusiveQueuedThreads()
1344 if (p.isShared()) { in getSharedQueuedThreads()