/dalvik/libcore/luni/src/main/java/java/net/ |
D | Socket.java | 49 private boolean isConnected = false; field in Socket 437 if (!isConnected()) { in getInetAddress() 524 if (!isConnected()) { in getPort() 781 isConnected = true; in startupSocket() 797 if (!isConnected()) { in toString() 853 if (!isConnected()) { in checkClosedAndCreate() 903 if (!isConnected()) { in getRemoteSocketAddress() 924 public boolean isConnected() { in isConnected() method in Socket 925 return isConnected; in isConnected() 1023 if (isConnected()) { in connect() [all …]
|
D | DatagramSocket.java | 47 private boolean isConnected = false; field in DatagramSocket 176 isConnected = true; in connect() 185 if (isClosed() || !isConnected()) { in disconnect() 191 isConnected = false; in disconnect() 699 isConnected = true; in connect() 717 public boolean isConnected() { in isConnected() method in DatagramSocket 718 return isConnected; in isConnected() 728 if (!isConnected()) { in getRemoteSocketAddress()
|
/dalvik/libcore/luni/src/main/java/java/io/ |
D | PipedOutputStream.java | 93 if (stream.isConnected) { in connect() 97 stream.isConnected = true; in connect()
|
D | PipedReader.java | 61 private boolean isConnected; field in PipedReader 134 if (isConnected) { in establishConnection() 137 isConnected = true; in establishConnection() 197 if (!isConnected) { in read() 303 if (!isConnected) { in ready()
|
D | PipedInputStream.java | 73 boolean isConnected = false; field in PipedInputStream 167 if (!isConnected) { in read() 279 if (!isConnected) { in read()
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
D | DatagramChannelImpl.java | 147 synchronized public boolean isConnected() { in isConnected() method in DatagramChannelImpl 201 if (!isConnected() || !isOpen()) { in disconnect() 264 if (isConnected()) { in receiveImpl() 278 if (!isConnected() && null != sm) { in receiveImpl() 312 if (isConnected()) { in receiveDirectImpl() 326 if (!isConnected() && null != sm) { in receiveDirectImpl() 365 if (isConnected()) { in send() 510 if (isConnected()) { in readImpl() 522 if (isConnected()) { in readImpl() 686 if (!isConnected()) { in checkOpenConnected() [all …]
|
D | SocketChannelImpl.java | 218 synchronized public boolean isConnected() { in isConnected() method in SocketChannelImpl 597 if (!isConnected()) { in checkOpenConnected() 714 public boolean isConnected() { in isConnected() method in SocketChannelImpl.SocketAdapter 715 return channel.isConnected(); in isConnected() 739 if (isConnected()) { in connect() 745 if (super.isConnected()) { in connect() 756 if (channel.isConnected()) { in bind() 944 if (!channel.isConnected()) { in getOutputStream() 964 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 | 154 end(socketGot.isConnected()); in accept()
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
D | SocketChannelTest.java | 244 assertFalse(this.channel1.isConnected());// not connected in testIsConnected() 247 assertFalse(this.channel1.isConnected()); in testIsConnected() 250 assertTrue(this.channel1.isConnected()); in testIsConnected() 252 assertFalse(this.channel1.isConnected()); in testIsConnected() 329 assertTrue(this.channel1.isConnected()); in testOpenSocketAddress() 522 assertFalse(this.channel1.isConnected());// not connected in testSocket_BasicStatusBeforeConnect() 539 assertFalse(this.channel1.isConnected());// not connected in testSocket_Block_BasicStatusAfterConnect() 542 assertTrue(this.channel1.isConnected()); in testSocket_Block_BasicStatusAfterConnect() 559 assertFalse(this.channel1.isConnected());// not connected in testSocket_NonBlock_BasicStatusAfterConnect() 562 assertFalse(this.channel1.isConnected()); in testSocket_NonBlock_BasicStatusAfterConnect() [all …]
|
D | DatagramChannelTest.java | 348 assertTrue(this.channel1.isConnected()); in testReadByteBufferArray() 373 assertTrue(this.channel1.isConnected()); in testReadByteBufferArray_ConnectedBufNull() 437 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_Block() 532 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_NonBlock() 559 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_BlockClosed() 581 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_NonBlockClosed() 633 assertTrue(this.channel1.isConnected()); in testWriteByteBufferArray_ConnectedBufNull() 672 assertFalse(this.channel1.isConnected());// not connected in testSocket_BasicStatusBeforeConnect() 729 assertFalse(this.channel1.isConnected());// not connected in testSocket_ActionsBeforeConnect() 746 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/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | OpenSSLSocketImplWrapper.java | 36 if (!socket.isConnected()) { in OpenSSLSocketImplWrapper() 170 public boolean isConnected() { in isConnected() method in OpenSSLSocketImplWrapper 171 return socket.isConnected(); in isConnected()
|
/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 | 369 static bool isConnected(struct JdwpState* state) in isConnected() function 711 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 | 1258 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 1262 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 1268 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 1274 && !ms.isConnected()); in test_ConstructorLjava_net_SocketAddress() 1334 && !ms.isConnected()); in test_getLoopbackMode() 1337 && !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() 1498 theSocket.isConnected()); in test_isConnected() 1507 .isConnected()); in test_isConnected() 1513 theSocket.isConnected()); in test_isConnected() 1805 .isConnected()); in test_connectLjava_net_SocketAddress() 2115 .isConnected()); in test_connectLjava_net_SocketAddressI()
|