Home
last modified time | relevance | path

Searched refs:getInetAddress (Results 1 – 25 of 36) 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.java163 assertEquals(inLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
164 assertEquals(inRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
165 assertEquals(outLocalAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
166 assertEquals(outRemoteAddress.getAddress(), ss.getInetAddress()); in checkSocketLocalAndRemoteAddresses()
401 assertNull(s.getInetAddress()); in testInitialState()
DOldSocketTest.java206 assertTrue("Returned incorrect InetAddress", s.getInetAddress().equals( in test_getInetAddress()
633 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_shutdownOutput()
736 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isBound()
770 Socket theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isConnected()
792 Socket theSocket = new Socket(serverSocket.getInetAddress(), in test_isClosed()
801 theSocket = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in test_isClosed()
1979 new InetSocketAddress(ss.getInetAddress(), ss.getLocalPort())); in test_getOutputStream_shutdownOutput()
DDatagramSocketTest.java51 assertNull(ds.getInetAddress()); in testInitialState()
/libcore/ojluni/src/main/java/java/net/
DServerSocket.java429 public InetAddress getInetAddress() { in getInetAddress() method in ServerSocket
433 InetAddress in = getImpl().getInetAddress(); in getInetAddress()
500 return new InetSocketAddress(getInetAddress(), getLocalPort()); in getLocalSocketAddress()
575 security.checkAccept(si.getInetAddress().getHostAddress(), in implAccept()
779 in = impl.getInetAddress(); in toString()
DSocketImpl.java249 protected InetAddress getInetAddress() { in getInetAddress() method in SocketImpl
318 return "Socket[addr=" + getInetAddress() + in toString()
DSocket.java745 public InetAddress getInetAddress() { in getInetAddress() method in Socket
749 return getImpl().getInetAddress(); in getInetAddress()
853 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress()
1636 return "Socket[address=" + getImpl().getInetAddress() + in toString()
DSocksSocketImpl.java1049 protected InetAddress getInetAddress() { in getInetAddress() method in SocksSocketImpl
1053 return super.getInetAddress(); in getInetAddress()
DDatagramSocket.java580 public InetAddress getInetAddress() { in getInetAddress() method in DatagramSocket
617 return new InetSocketAddress(getInetAddress(), getPort()); in getRemoteSocketAddress()
/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()
/libcore/ojluni/src/test/java/nio/channels/Selector/
DByteServer.java48 return new InetSocketAddress(ss.getInetAddress(), ss.getLocalPort()); in address()
/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
DSocketImpl.java78 protected java.net.InetAddress getInetAddress() { in getInetAddress() method in SocketImpl
DServerSocket.java78 public java.net.InetAddress getInetAddress() { in getInetAddress() method in ServerSocket
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/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/libcore/io/
DFdsanTest.java118 Socket client = new Socket(serverSocket.getInetAddress(), serverSocket.getLocalPort()); in testSocket()
/libcore/ojluni/src/test/java/net/DatagramSocket/
DReuseAddressTest.java54 + "; remoteAddress: " + soc.getInetAddress() in getInfo()

12