Home
last modified time | relevance | path

Searched refs:isClosed (Results 1 – 25 of 45) sorted by relevance

12

/libcore/ojluni/src/main/java/java/net/
DSocket.java597 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 …]
DDatagramSocket.java141 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 …]
DMulticastSocket.java217 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 …]
DPlainDatagramSocketImpl.java68 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 …]
DServerSocket.java360 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()
DAbstractPlainDatagramSocketImpl.java261 protected boolean isClosed() { in isClosed() method in AbstractPlainDatagramSocketImpl
280 if (isClosed()) { in setOption()
351 if (isClosed()) { in getOption()
DSocketOutputStream.java174 if (!socket.isClosed()) in close()
/libcore/luni/src/test/java/libcore/java/sql/
DConnectionTest.java35 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()
DOldSQLTest.java55 if (! conn.isClosed()) { in tearDown()
/libcore/dalvik/src/main/java/dalvik/system/
DSocketTagger.java64 if (!socket.isClosed()) { in tag()
72 if (!socket.isClosed()) { in untag()
79 if (!socket.isClosed()) { in tag()
86 if (!socket.isClosed()) { in untag()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixDirectoryStream.java59 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/
DSocketChannelTest.java111 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/luni/src/test/java/libcore/java/net/
DServerSocketTest.java61 assertFalse(ss.isClosed()); in testInitialState()
79 assertTrue(ss.isClosed()); in testStateAfterClose()
DDatagramSocketTest.java43 assertFalse(ds.isClosed()); in testInitialState()
64 assertTrue(ds.isClosed()); in testStateAfterClose()
DSocketTest.java156 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/
DSSLSocketFactoryTest.java74 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/
DMulticastSocketTest.java767 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 …]
DServerSocketTest.java674 .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()
DSocketTest.java352 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/
DServerSocketChannelTest.java195 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/
DDatagramSocketAdaptor.java78 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/
DMemoryMappedFile.java79 public boolean isClosed() { in isClosed() method in MemoryMappedFile
/libcore/ojluni/src/main/java/java/sql/
DStatement.java990 boolean isClosed() throws SQLException; in isClosed() method
/libcore/ojluni/annotations/mmodule/java/net/
DServerSocket.annotated.java66 public boolean isClosed() { throw new RuntimeException("Stub!"); } in isClosed() method in ServerSocket
/libcore/ojluni/annotations/hiddenapi/java/net/
DServerSocket.java110 public boolean isClosed() { in isClosed() method in ServerSocket

12