/libcore/luni/src/test/java/libcore/java/net/ |
D | ServerSocketTest.java | 51 new Socket(ss.getInetAddress(), ss.getLocalPort()).close(); in testTimeoutAfterAccept() 64 assertNull(ss.getInetAddress()); in testInitialState() 80 assertEquals(boundAddress.getAddress(), ss.getInetAddress()); in testStateAfterClose()
|
D | SocketTest.java | 152 assertEquals(inLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 153 assertEquals(inRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 154 assertEquals(outLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 155 assertEquals(outRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses() 362 assertNull(s.getInetAddress()); in testInitialState()
|
D | OldSocketTest.java | 203 assertTrue("Returned incorrect InetAddress", s.getInetAddress().equals( in test_getInetAddress() 630 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_shutdownOutput() 733 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isBound() 767 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isConnected() 789 Socket theSocket = new Socket(serverSocket.getInetAddress(), in test_isClosed() 798 theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isClosed() 1967 new InetSocketAddress(ss.getInetAddress(), ss.getLocalPort())); in test_getOutputStream_shutdownOutput()
|
D | DatagramSocketTest.java | 50 assertNull(ds.getInetAddress()); in testInitialState()
|
D | URLConnectionTest.java | 3318 @Override public InetAddress getInetAddress() { return delegate.getInetAddress(); } 3458 @Override public InetAddress getInetAddress() { 3459 return delegate.getInetAddress();
|
/libcore/ojluni/src/main/java/java/net/ |
D | ServerSocket.java | 406 public InetAddress getInetAddress() { in getInetAddress() method in ServerSocket 410 InetAddress in = getImpl().getInetAddress(); in getInetAddress() 478 return new InetSocketAddress(getInetAddress(), getLocalPort()); in getLocalSocketAddress() 551 security.checkAccept(si.getInetAddress().getHostAddress(), in implAccept() 755 in = impl.getInetAddress(); in toString()
|
D | SocketImpl.java | 242 protected InetAddress getInetAddress() { in getInetAddress() method in SocketImpl 311 return "Socket[addr=" + getInetAddress() + in toString()
|
D | Socket.java | 715 public InetAddress getInetAddress() { in getInetAddress() method in Socket 719 return getImpl().getInetAddress(); in getInetAddress() 823 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress() 1608 return "Socket[address=" + getImpl().getInetAddress() + in toString()
|
D | SocksSocketImpl.java | 517 protected InetAddress getInetAddress() { in getInetAddress() method in SocksSocketImpl 521 return super.getInetAddress(); in getInetAddress()
|
D | DatagramSocket.java | 578 public InetAddress getInetAddress() { in getInetAddress() method in DatagramSocket 615 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | ServerSocketAdaptor.java | 80 public InetAddress getInetAddress() { in getInetAddress() method in ServerSocketAdaptor 180 return "ServerSocket[addr=" + getInetAddress() + in toString()
|
D | SocketAdaptor.java | 146 public InetAddress getInetAddress() { in getInetAddress() method in SocketAdaptor 430 return "Socket[addr=" + getInetAddress() + in toString()
|
D | DatagramSocketAdaptor.java | 127 public InetAddress getInetAddress() { in getInetAddress() method in DatagramSocketAdaptor
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | DatagramSocketTest.java | 153 assertEquals("Incorrect InetAddress", inetAddress, ds.getInetAddress()); in test_connectLjava_net_InetAddressI() 162 assertEquals(inetAddress, ds.getInetAddress()); in test_connectLjava_net_InetAddressI() 333 assertNull("Incorrect InetAddress", ds.getInetAddress()); in test_disconnect() 342 assertNull("Incorrect InetAddress", ds.getInetAddress()); in test_disconnect()
|
D | SocketTest.java | 84 host = socket.getInetAddress().getHostName(); in run() 666 assertTrue("Returned incorrect InetAdrees", client.getInetAddress() in test_getInetAddress() 1026 .getInetAddress(), server.getLocalPort()); in test_isBound() 1105 .getInetAddress(), server.getLocalPort()); in test_isConnected()
|
D | ServerSocketTest.java | 283 .getInetAddress()); in test_getInetAddress()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 60 assertNull(socket.getInetAddress()); in test_open_initialState()
|
D | DatagramChannelTest.java | 94 assertNull(socket.getInetAddress()); in testInitialState()
|
D | SocketChannelTest.java | 155 assertNull(socket.getInetAddress()); in test_open_initialState()
|
/libcore/support/src/test/java/tests/http/ |
D | MockWebServer.java | 261 raw, raw.getInetAddress().getHostAddress(), raw.getPort(), true); in serveConnection()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
D | SocketChannelTest.java | 441 assertNull(socket.getInetAddress()); in testSocket_getInetAddress() 445 assertNotNull(socket.getInetAddress()); in testSocket_getInetAddress() 446 assertEquals(localAddr1.getAddress(), socket.getInetAddress()); in testSocket_getInetAddress() 544 assertNull(s.getInetAddress()); in assertSocketBeforeConnect() 574 assertSame(s.getInetAddress(), address.getAddress()); in assertSocketAfterConnect()
|
D | ServerSocketChannelTest.java | 310 assertNull(s.getInetAddress()); in assertSocketNotAccepted()
|
D | DatagramChannelTest.java | 276 assertNull(s1.getInetAddress()); in testSocket_BasicStatusBeforeConnect()
|
/libcore/ojluni/src/main/java/sun/net/ftp/impl/ |
D | FtpClient.java | 602 InetAddress add = server.getInetAddress(); in openPassiveDataConnection() 741 myAddress = portSocket.getInetAddress(); in openDataConnection()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSocketTest.java | 1670 Socket underlying = new Socket(listening.getInetAddress(), listening.getLocalPort()); in test_SSLSocket_setSoTimeout_basic() 1698 Socket underlying = new Socket(listening.getInetAddress(), listening.getLocalPort()); in test_SSLSocket_setSoTimeout_wrapper() 1867 Socket underlying = new Socket(listening.getInetAddress(), listening.getLocalPort()); in test_SSLSocket_interrupt_case()
|