/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | FileLockTest.java | 40 boolean isValid = true; field in FileLockTest.MockFileLock 47 public boolean isValid() { in isValid() method in FileLockTest.MockFileLock 48 return isValid; in isValid() 52 isValid = false; in release() 164 assertTrue(fileLock.isValid()); in test_isValid() 166 assertFalse(fileLock.isValid()); in test_isValid()
|
D | SelectionKeyTest.java | 81 public boolean isValid() { in isValid() method in SelectionKeyTest.MockSelectionKey 173 assertTrue(selectionKey.isValid()); in test_isValid() 181 assertFalse(selectionKey.isValid()); in test_isValid_KeyCancelled() 189 assertFalse(selectionKey.isValid()); in test_isValid_ChannelColsed() 197 assertFalse(selectionKey.isValid()); in test_isValid_SelectorClosed()
|
D | FileChannelLockingTest.java | 185 assertTrue(tmpLock.isValid()); in test_tryLockLLZ() 190 assertTrue(lock.isValid()); in test_tryLockLLZ() 202 assertTrue(adjacentLock.isValid()); in test_tryLockLLZ()
|
D | FileChannelTest.java | 638 assertTrue(fileLock.isValid()); in test_lock() 650 assertTrue(fileLock.isValid()); in test_lock_OverlappingException() 673 assertTrue(fileLock.isValid()); in test_lock_After_Release() 677 assertTrue(writeOnlyFileChannel2.lock().isValid()); in test_lock_After_Release() 797 assertTrue(fileLock.isValid()); in test_lockJJZ_Shared() 813 assertTrue(fileLock.isValid()); in test_lockJJZ_NotShared() 827 assertTrue(fileLock.isValid()); in test_lockJJZ_Long_MAX_VALUE() 841 assertTrue(fileLock.isValid()); in test_lockJJZ_Overlapping() 863 assertTrue(fileLock1.isValid()); in test_lockJJZ_NotOverlapping() 866 assertTrue(fileLock2.isValid()); in test_lockJJZ_NotOverlapping() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
D | AbstractSelectionKeyTest.java | 33 assertTrue(testKey.isValid()); in test_isValid() 47 assertFalse(testKey.isValid()); in test_cancel()
|
/libcore/ojluni/src/main/java/java/nio/channels/ |
D | FileLock.java | 288 public abstract boolean isValid(); in isValid() method in FileLock 327 + " " + (isValid() ? "valid" : "invalid") in toString()
|
D | MembershipKey.java | 74 public abstract boolean isValid(); in isValid() method in MembershipKey
|
D | SelectionKey.java | 144 public abstract boolean isValid(); in isValid() method in SelectionKey
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | MemoryCache.java | 104 public boolean isValid(long currentTime); in isValid() method 130 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.HardCacheEntry 163 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.SoftCacheEntry
|
/libcore/ojluni/src/main/java/java/nio/file/ |
D | WatchKey.java | 94 boolean isValid(); in isValid() method
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | MembershipKeyTest.java | 73 assertTrue(key.isValid()); in check_isValid() 75 assertFalse(key.isValid()); in check_isValid() 89 assertTrue(key.isValid()); in check_isValid_OnDrop() 91 assertFalse(key.isValid()); in check_isValid_OnDrop()
|
D | DatagramChannelMulticastTest.java | 493 assertTrue(key.isValid()); in checkMembershipKeyAccessors() 515 assertTrue(membershipKey.isValid()); in check_dropAnySource_twice() 517 assertFalse(membershipKey.isValid()); in check_dropAnySource_twice() 532 assertTrue(membershipKey.isValid()); in test_close_invalidatesMembershipKey() 536 assertFalse(membershipKey.isValid()); in test_close_invalidatesMembershipKey() 641 assertTrue(membershipKey.isValid()); in test_unblock_multipleUnblocksFail() 1135 assertTrue(membershipKey.isValid()); in check_dropSourceSpecific_twice() 1137 assertFalse(membershipKey.isValid()); in check_dropSourceSpecific_twice() 1171 assertTrue(membershipKey1.isValid()); in check_dropSourceSpecific_sourceKeysAreIndependent() 1172 assertTrue(membershipKey2.isValid()); in check_dropSourceSpecific_sourceKeysAreIndependent() [all …]
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | AbstractSelectionKey.java | 52 public final boolean isValid() { in isValid() method in AbstractSelectionKey
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | Cache.java | 328 if (entry.isValid(time) == false) { in expungeExpiredEntries() 392 if (entry.isValid(time) == false) { in get() 470 boolean isValid(long currentTime); in isValid() method 500 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.HardCacheEntry 537 public boolean isValid(long currentTime) { in isValid() method in MemoryCache.SoftCacheEntry
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Attributes.java | 464 if (!isValid(name)) { in Name() 470 private static boolean isValid(String name) { in isValid() method in Attributes.Name 476 if (!isValid(name.charAt(i))) { in isValid() 483 private static boolean isValid(char c) { in isValid() method in Attributes.Name
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | AbstractWatchKey.java | 175 if (state == State.SIGNALLED && isValid()) { in reset() 183 return isValid(); in reset()
|
D | LinuxWatchService.java | 133 public boolean isValid() { in isValid() method in LinuxWatchService.LinuxWatchKey 139 if (isValid()) { in cancel() 291 if (key.isValid()) { in implCancelKey()
|
D | AbstractWatchService.java | 46 public boolean isValid() {
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | FileLockImpl.java | 46 public boolean isValid() { in isValid() method in FileLockImpl
|
D | SelectionKeyImpl.java | 72 if (!isValid()) in ensureValid()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLSession.java | 146 public boolean isValid(); in isValid() method
|
/libcore/luni/src/test/java/libcore/xml/ |
D | NormalizeTest.java | 455 if (isValid((char) c)) { in testInvalidCharactersCdata() 476 if (isValid((char) c)) { in testInvalidCharactersText() 495 if (isValid((char) c)) { in testInvalidCharactersAttribute() 516 if (isValid((char) c)) { in testInvalidCharactersComment() 537 if (isValid((char) c)) { in testInvalidCharactersProcessingInstructionData() 548 private boolean isValid(char c) { in isValid() method in NormalizeTest
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | FakeSSLSession.java | 103 public boolean isValid() { in isValid() method in FakeSSLSession
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionBindingEventTest.java | 218 public boolean isValid() { in isValid() method in MySSLSession
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | XMLGregorianCalendar.java | 850 public abstract boolean isValid(); in isValid() method in XMLGregorianCalendar
|