/libcore/ojluni/src/main/java/java/net/ |
D | Socket.java | 597 if (isClosed()) in connect() 656 if (isClosed()) in bind() 934 if (isClosed()) in getInputStream() 974 if (isClosed()) in getOutputStream() 1010 if (isClosed()) in setTcpNoDelay() 1026 if (isClosed()) in getTcpNoDelay() 1047 if (isClosed()) in setSoLinger() 1075 if (isClosed()) in getSoLinger() 1099 if (isClosed()) { in sendUrgentData() 1135 if (isClosed()) in setOOBInline() [all …]
|
D | DatagramSocket.java | 141 if (isClosed()) in connectInternal() 393 if (isClosed()) in bind() 528 if (isClosed()) in disconnect() 630 if (isClosed()) in getLocalSocketAddress() 685 if (isClosed()) in send() 883 if (isClosed()) in getLocalAddress() 910 if (isClosed()) in getLocalPort() 935 if (isClosed()) in setSoTimeout() 950 if (isClosed()) in getSoTimeout() 997 if (isClosed()) in setSendBufferSize() [all …]
|
D | MulticastSocket.java | 217 if (isClosed()) in setTTL() 245 if (isClosed()) in setTimeToLive() 263 if (isClosed()) in getTTL() 277 if (isClosed()) in getTimeToLive() 301 if (isClosed()) { in joinGroup() 346 if (isClosed()) { in leaveGroup() 389 if (isClosed()) in joinGroup() 436 if (isClosed()) in leaveGroup() 468 if (isClosed()) { in setInterface() 493 if (isClosed()) { in getInterface() [all …]
|
D | PlainDatagramSocketImpl.java | 68 if (isClosed()) { in setOption() 81 if (isClosed()) { in getOption() 101 if (isClosed()) { in bind0() 117 if (isClosed()) { in send() 146 if (isClosed()) { in doRecv() 181 if (isClosed()) { in join() 190 if (isClosed()) { in leave() 215 if (isClosed()) { in socketSetOption0() 223 if (isClosed()) { in socketGetOption() 231 if (isClosed()) { in connect0() [all …]
|
D | ServerSocket.java | 360 if (isClosed()) in bind() 510 if (isClosed()) in accept() 584 if (isClosed()) in close() 629 public boolean isClosed() { in isClosed() method in ServerSocket 652 if (isClosed()) in setSoTimeout() 666 if (isClosed()) in getSoTimeout() 714 if (isClosed()) in setReuseAddress() 730 if (isClosed()) in getReuseAddress() 849 if (isClosed()) in setReceiveBufferSize() 870 if (isClosed()) in getReceiveBufferSize()
|
D | AbstractPlainDatagramSocketImpl.java | 261 protected boolean isClosed() { in isClosed() method in AbstractPlainDatagramSocketImpl 280 if (isClosed()) { in setOption() 351 if (isClosed()) { in getOption()
|
D | SocketOutputStream.java | 174 if (!socket.isClosed()) in close()
|
/libcore/luni/src/test/java/libcore/java/sql/ |
D | ConnectionTest.java | 35 assertFalse(c.isClosed()); in testDriverManager_getConnection() 37 assertTrue(c.isClosed()); in testDriverManager_getConnection() 44 assertFalse(c.isClosed()); in testConnect() 46 assertTrue(c.isClosed()); in testConnect()
|
D | OldSQLTest.java | 55 if (! conn.isClosed()) { in tearDown()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | UnixDirectoryStream.java | 59 private volatile boolean isClosed; field in UnixDirectoryStream 92 return !isClosed; in isOpen() 96 if (!isClosed) { in closeImpl() 97 isClosed = true; in closeImpl() 125 if (isClosed) { in iterator()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | SocketChannelTest.java | 111 assertFalse(scSocket.isClosed()); in test_channelSocketOutputStreamClosureState() 116 assertTrue(scSocket.isClosed()); in test_channelSocketOutputStreamClosureState() 132 assertFalse(scSocket.isClosed()); in test_channelSocketInputStreamClosureState() 137 assertTrue(scSocket.isClosed()); in test_channelSocketInputStreamClosureState() 150 assertFalse(socket.isClosed()); in test_open_initialState() 198 assertFalse(socket.isClosed()); in test_bind_socketStateSync() 203 assertTrue(socket.isClosed()); in test_bind_socketStateSync() 224 assertFalse(socket.isClosed()); in test_bind_socketObjectCreationAfterBind() 229 assertTrue(socket.isClosed()); in test_bind_socketObjectCreationAfterBind() 246 assertFalse(sc.socket().isClosed()); in test_connect_blocking() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | SocketTagger.java | 96 if (!socket.isClosed()) { in tag() 119 if (!socket.isClosed()) { in untag() 137 if (!socket.isClosed()) { in tag() 159 if (!socket.isClosed()) { in untag()
|
/libcore/luni/src/test/java/libcore/java/net/ |
D | ServerSocketTest.java | 61 assertFalse(ss.isClosed()); in testInitialState() 79 assertTrue(ss.isClosed()); in testStateAfterClose()
|
D | DatagramSocketTest.java | 43 assertFalse(ds.isClosed()); in testInitialState() 64 assertTrue(ds.isClosed()); in testStateAfterClose()
|
D | SocketTest.java | 156 assertFalse(ssc.socket().isClosed()); in checkSocketLocalAndRemoteAddresses() 167 assertTrue(ssc.socket().isClosed()); in checkSocketLocalAndRemoteAddresses() 356 assertFalse(s.isClosed()); in testInitialState() 378 assertTrue(s.isClosed()); in testStateAfterClose()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSocketFactoryTest.java | 74 assertFalse(s.isClosed()); in test_createSocket() 79 assertTrue(st.isClosed()); in test_createSocket()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | MulticastSocketTest.java | 767 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in constructorLjava_net_SocketAddress() 769 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in constructorLjava_net_SocketAddress() 771 assertTrue("should be closed", ms.isClosed()); in constructorLjava_net_SocketAddress() 774 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in constructorLjava_net_SocketAddress() 776 assertTrue("should be closed", ms.isClosed()); in constructorLjava_net_SocketAddress() 779 assertTrue("should be bound", ms.isBound() && !ms.isClosed() && !ms.isConnected()); in constructorLjava_net_SocketAddress() 781 assertTrue("should be closed", ms.isClosed()); in constructorLjava_net_SocketAddress() 800 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in getLoopbackMode() 802 assertTrue("should not be bound", !ms.isBound() && !ms.isClosed() && !ms.isConnected()); in getLoopbackMode() 804 assertTrue("should be closed", ms.isClosed()); in getLoopbackMode() [all …]
|
D | ServerSocketTest.java | 674 .isClosed()); in test_isClosed() 677 .isClosed()); in test_isClosed() 682 .isClosed()); in test_isClosed() 685 .isClosed()); in test_isClosed() 689 .isClosed()); in test_isClosed() 692 .isClosed()); in test_isClosed() 696 .isClosed()); in test_isClosed() 699 .isClosed()); in test_isClosed()
|
D | SocketTest.java | 352 assertFalse("Wrong closed status", client.isClosed()); in test_connectLjava_net_SocketAddress() 453 assertFalse("Wrong closed status", client.isClosed()); in test_connectLjava_net_SocketAddressI() 503 assertFalse("new socket should not be closed", s.isClosed()); in test_Constructor() 1060 .isClosed()); in test_isClosed() 1062 assertTrue("Socket should indicate it is closed(1):", client.isClosed()); in test_isClosed() 1067 .isClosed()); in test_isClosed() 1070 .isClosed()); in test_isClosed() 1074 .isClosed()); in test_isClosed() 1077 .isClosed()); in test_isClosed()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | ServerSocketChannelTest.java | 195 assertFalse(socket.isClosed()); in test_bind_socketSync() 200 assertTrue(socket.isClosed()); in test_bind_socketSync() 216 assertFalse(socket.isClosed()); in test_bind_socketSyncAfterBind() 221 assertTrue(socket.isClosed()); in test_bind_socketSyncAfterBind() 255 assertFalse(s1.isClosed()); in testSocket_Block_BeforeClose() 271 assertFalse(s1.isClosed()); in testSocket_NonBlock_BeforeClose() 288 assertTrue(s1.isClosed()); in testSocket_Block_Closed() 301 assertTrue(s1.isClosed()); in testSocket_NonBlock_Closed() 322 assertFalse(gotSocket.isClosed()); in testChannelBasicStatus()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | DatagramSocketAdaptor.java | 78 if (isClosed()) in connectInternal() 227 if (isClosed()) in getLocalAddress() 245 if (isClosed()) in getLocalPort() 356 public boolean isClosed() { in isClosed() method in DatagramSocketAdaptor
|
/libcore/luni/src/main/java/libcore/io/ |
D | MemoryMappedFile.java | 79 public boolean isClosed() { in isClosed() method in MemoryMappedFile
|
/libcore/ojluni/src/main/java/java/sql/ |
D | Statement.java | 990 boolean isClosed() throws SQLException; in isClosed() method
|
/libcore/ojluni/annotations/mmodule/java/net/ |
D | ServerSocket.annotated.java | 67 public boolean isClosed() { throw new RuntimeException("Stub!"); } in isClosed() method in ServerSocket
|
/libcore/ojluni/annotations/hiddenapi/java/net/ |
D | ServerSocket.java | 110 public boolean isClosed() { in isClosed() method in ServerSocket
|