/dalvik/libcore/luni/src/main/java/java/net/ |
D | Socket.java | 47 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 …]
|
D | DatagramSocket.java | 49 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/ |
D | PipedOutputStream.java | 100 if (stream.isConnected) { in connect() 104 stream.isConnected = true; in connect()
|
D | PipedReader.java | 63 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()
|
D | PipedInputStream.java | 68 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/ |
D | DatagramChannelImpl.java | 167 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 …]
|
D | SocketChannelImpl.java | 224 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()
|
D | SelectorImpl.java | 211 private boolean isConnected(SelectionKeyImpl key) { in isConnected() method in SelectorImpl 214 return ((SocketChannel) channel).isConnected(); in isConnected() 281 if (isConnected(key)) { in processSelectResult()
|
D | ServerSocketChannelImpl.java | 166 end(socketGot.isConnected()); in accept()
|
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | OpenSSLSocketImplWrapper.java | 35 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/ |
D | SocketChannelTest.java | 242 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 …]
|
D | DatagramChannelTest.java | 347 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 …]
|
D | MockSocketChannel.java | 37 public boolean isConnected() { in isConnected() method in MockSocketChannel
|
D | MockDatagramChannel.java | 37 public boolean isConnected() { in isConnected() method in MockDatagramChannel
|
/dalvik/vm/jdwp/ |
D | JdwpPriv.h | 58 bool (*isConnected)(struct JdwpState* state); member 159 return state != NULL && (*state->transport->isConnected)(state); in dvmJdwpIsConnected()
|
D | JdwpAdb.c | 327 static bool isConnected(struct JdwpState* state) in isConnected() function 663 isConnected,
|
D | JdwpSocket.c | 264 static bool isConnected(JdwpState* state) in isConnected() function 863 isConnected,
|
/dalvik/libcore/nio/src/main/java/java/nio/channels/ |
D | DatagramChannel.java | 112 public abstract boolean isConnected(); in isConnected() method in DatagramChannel
|
D | SocketChannel.java | 163 public abstract boolean isConnected(); in isConnected() method in SocketChannel
|
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
D | MulticastSocketTest.java | 1266 && !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()
|
D | DatagramSocketTest.java | 2043 .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()
|
D | SocketTest.java | 108 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()
|