Home
last modified time | relevance | path

Searched refs:getInetAddress (Results 1 – 25 of 31) sorted by relevance

12

/libcore/luni/src/test/java/libcore/java/net/
DServerSocketTest.java51 new Socket(ss.getInetAddress(), ss.getLocalPort()).close(); in testTimeoutAfterAccept()
64 assertNull(ss.getInetAddress()); in testInitialState()
80 assertEquals(boundAddress.getAddress(), ss.getInetAddress()); in testStateAfterClose()
DSocketTest.java151 assertEquals(inLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
152 assertEquals(inRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
153 assertEquals(outLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
154 assertEquals(outRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
361 assertNull(s.getInetAddress()); in testInitialState()
DOldSocketTest.java203 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()
DDatagramSocketTest.java50 assertNull(ds.getInetAddress()); in testInitialState()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java407 public InetAddress getInetAddress() { in getInetAddress() method in ServerSocket
411 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()
DSocketImpl.java244 protected InetAddress getInetAddress() { in getInetAddress() method in SocketImpl
313 return "Socket[addr=" + getInetAddress() + in toString()
DSocket.java720 public InetAddress getInetAddress() { in getInetAddress() method in Socket
724 return getImpl().getInetAddress(); in getInetAddress()
828 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress()
1613 return "Socket[address=" + getImpl().getInetAddress() + in toString()
DDatagramSocket.java578 public InetAddress getInetAddress() { in getInetAddress() method in DatagramSocket
615 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress()
DSocksSocketImpl.java1049 protected InetAddress getInetAddress() { in getInetAddress() method in SocksSocketImpl
1053 return super.getInetAddress(); in getInetAddress()
/libcore/ojluni/src/main/java/sun/nio/ch/
DServerSocketAdaptor.java80 public InetAddress getInetAddress() { in getInetAddress() method in ServerSocketAdaptor
180 return "ServerSocket[addr=" + getInetAddress() + in toString()
DSocketAdaptor.java150 public InetAddress getInetAddress() { in getInetAddress() method in SocketAdaptor
432 return "Socket[addr=" + getInetAddress() + in toString()
DDatagramSocketAdaptor.java127 public InetAddress getInetAddress() { in getInetAddress() method in DatagramSocketAdaptor
/libcore/ojluni/annotations/mmodule/java/net/
DSocketImpl.annotated.java68 protected java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in SocketImpl
DServerSocket.annotated.java47 public java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in ServerSocket
DDatagramSocket.annotated.java58 public java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in DatagramSocket
DSocket.annotated.java64 public java.net.InetAddress getInetAddress() { throw new RuntimeException("Stub!"); } in getInetAddress() method in Socket
/libcore/ojluni/annotations/hiddenapi/java/net/
DSocksSocketImpl.java102 protected java.net.InetAddress getInetAddress() { in getInetAddress() method in SocksSocketImpl
DServerSocket.java78 public java.net.InetAddress getInetAddress() { in getInetAddress() method in ServerSocket
DSocketImpl.java78 protected java.net.InetAddress getInetAddress() { in getInetAddress() method in SocketImpl
DDatagramSocket.java99 public java.net.InetAddress getInetAddress() { in getInetAddress() method in DatagramSocket
DSocket.java137 public java.net.InetAddress getInetAddress() { in getInetAddress() method in Socket
/libcore/luni/src/test/java/libcore/libcore/io/
DFdsanTest.java118 Socket client = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in testSocket()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DDatagramSocketTest.java153 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()
DSocketTest.java84 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()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java60 assertNull(socket.getInetAddress()); in test_open_initialState()

12