Home
last modified time | relevance | path

Searched refs:isConnected (Results 1 – 22 of 22) sorted by relevance

/dalvik/libcore/luni/src/main/java/java/net/
DSocket.java47 private boolean isConnected = false; field in Socket
373 if (!isConnected()) { in getInetAddress()
466 if (!isConnected()) { in getPort()
735 isConnected = true; in startupSocket()
752 if (!isConnected()) { in toString()
810 if (!isConnected()) { in checkClosedAndCreate()
862 if (!isConnected()) { in getRemoteSocketAddress()
885 public boolean isConnected() { in isConnected() method in Socket
886 return isConnected; in isConnected()
988 if (isConnected()) { in connect()
[all …]
DDatagramSocket.java49 private boolean isConnected = false; field in DatagramSocket
185 isConnected = true; in connect()
196 if (isClosed() || !isConnected()) { in disconnect()
202 isConnected = false; in disconnect()
717 isConnected = true; in connect()
737 public boolean isConnected() { in isConnected() method in DatagramSocket
738 return isConnected; in isConnected()
749 if (!isConnected()) { in getRemoteSocketAddress()
/dalvik/libcore/luni/src/main/java/java/io/
DPipedOutputStream.java100 if (stream.isConnected) { in connect()
104 stream.isConnected = true; in connect()
DPipedReader.java63 private boolean isConnected; field in PipedReader
140 if (isConnected) { in establishConnection()
143 isConnected = true; in establishConnection()
206 if (!isConnected) { in read()
313 if (!isConnected) { in ready()
DPipedInputStream.java68 boolean isConnected = false; field in PipedInputStream
170 if (!isConnected) { in read()
266 if (!isConnected) { in read()
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/
DDatagramChannelImpl.java167 synchronized public boolean isConnected() { in isConnected() method in DatagramChannelImpl
223 if (!isConnected() || !isOpen()) { in disconnect()
290 if (isConnected()) { in receiveImpl()
304 if (!isConnected() && null != sm) { in receiveImpl()
339 if (isConnected()) { in receiveDirectImpl()
353 if (!isConnected() && null != sm) { in receiveDirectImpl()
393 if (isConnected()) { in send()
544 if (isConnected()) { in readImpl()
555 if (isConnected()) { in readImpl()
728 if (!isConnected()) { in checkOpenConnected()
[all …]
DSocketChannelImpl.java224 synchronized public boolean isConnected() { in isConnected() method in SocketChannelImpl
610 if (!isConnected()) { in checkOpenConnected()
742 public boolean isConnected() { in isConnected() method in SocketChannelImpl.SocketAdapter
743 return channel.isConnected(); in isConnected()
769 if (isConnected()) { in connect()
775 if (super.isConnected()) { in connect()
787 if (channel.isConnected()) { in bind()
904 if (!channel.isConnected()) { in getOutputStream()
925 if (!channel.isConnected()) { in getInputStream()
DSelectorImpl.java211 private boolean isConnected(SelectionKeyImpl key) { in isConnected() method in SelectorImpl
214 return ((SocketChannel) channel).isConnected(); in isConnected()
281 if (isConnected(key)) { in processSelectResult()
DServerSocketChannelImpl.java166 end(socketGot.isConnected()); in accept()
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
DOpenSSLSocketImplWrapper.java35 if (!socket.isConnected()) { in OpenSSLSocketImplWrapper()
143 public boolean isConnected() { in isConnected() method in OpenSSLSocketImplWrapper
144 return socket.isConnected(); in isConnected()
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
DSocketChannelTest.java242 assertFalse(this.channel1.isConnected());// not connected in testIsConnected()
245 assertFalse(this.channel1.isConnected()); in testIsConnected()
248 assertTrue(this.channel1.isConnected()); in testIsConnected()
250 assertFalse(this.channel1.isConnected()); in testIsConnected()
327 assertTrue(this.channel1.isConnected()); in testOpenSocketAddress()
520 assertFalse(this.channel1.isConnected());// not connected in testSocket_BasicStatusBeforeConnect()
537 assertFalse(this.channel1.isConnected());// not connected in testSocket_Block_BasicStatusAfterConnect()
540 assertTrue(this.channel1.isConnected()); in testSocket_Block_BasicStatusAfterConnect()
557 assertFalse(this.channel1.isConnected());// not connected in testSocket_NonBlock_BasicStatusAfterConnect()
560 assertFalse(this.channel1.isConnected()); in testSocket_NonBlock_BasicStatusAfterConnect()
[all …]
DDatagramChannelTest.java347 assertTrue(this.channel1.isConnected()); in testReadByteBufferArray()
372 assertTrue(this.channel1.isConnected()); in testReadByteBufferArray_ConnectedBufNull()
436 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_Block()
531 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_NonBlock()
558 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_BlockClosed()
580 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_NonBlockClosed()
632 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_ConnectedBufNull()
670 assertFalse(this.channel1.isConnected());// not connected in testSocket_BasicStatusBeforeConnect()
727 assertFalse(this.channel1.isConnected());// not connected in testSocket_ActionsBeforeConnect()
744 assertFalse(this.channel1.isConnected());// not connected in testSocket_Block_ActionsAfterConnect()
[all …]
DMockSocketChannel.java37 public boolean isConnected() { in isConnected() method in MockSocketChannel
DMockDatagramChannel.java37 public boolean isConnected() { in isConnected() method in MockDatagramChannel
/dalvik/vm/jdwp/
DJdwpPriv.h58 bool (*isConnected)(struct JdwpState* state); member
159 return state != NULL && (*state->transport->isConnected)(state); in dvmJdwpIsConnected()
DJdwpAdb.c327 static bool isConnected(struct JdwpState* state) in isConnected() function
663 isConnected,
DJdwpSocket.c264 static bool isConnected(JdwpState* state) in isConnected() function
863 isConnected,
/dalvik/libcore/nio/src/main/java/java/nio/channels/
DDatagramChannel.java112 public abstract boolean isConnected(); in isConnected() method in DatagramChannel
DSocketChannel.java163 public abstract boolean isConnected(); in isConnected() method in SocketChannel
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DMulticastSocketTest.java1266 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress()
1270 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress()
1276 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress()
1282 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress()
1342 && !ms.isConnected()); in test_getLoopbackMode()
1345 && !ms.isConnected()); in test_getLoopbackMode()
DDatagramSocketTest.java2043 .isConnected()); in test_connectLjava_net_SocketAddress()
2130 theSocket.isConnected()); in test_isConnected()
2133 theSocket.isConnected()); in test_isConnected()
2138 theSocket.isConnected()); in test_isConnected()
2143 theSocket.isConnected()); in test_isConnected()
2151 theSocket.isConnected()); in test_isConnected()
DSocketTest.java108 assertFalse("new socket should not be connected", s.isConnected()); in test_Constructor()
1491 theSocket.isConnected()); in test_isConnected()
1500 .isConnected()); in test_isConnected()
1506 theSocket.isConnected()); in test_isConnected()
1798 .isConnected()); in test_connectLjava_net_SocketAddress()
2108 .isConnected()); in test_connectLjava_net_SocketAddressI()