Home
last modified time | relevance | path

Searched refs:getHostString (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DInetSocketAddressTest.java151 assertEquals("some host", hasHostname.getHostString()); in test_getHostString()
158 assertEquals("some host", hasHostnameAndAddress.getHostString()); in test_getHostString()
164 assertEquals("127.0.0.1", hostnameIsIp.getHostString()); in test_getHostString()
171 assertEquals("127.0.0.1", noHostname.getHostString()); in test_getHostString()
178 assertEquals("127.0.0.1", socketAddress.getHostString()); in test_getHostString_cachingBehavior()
180 assertEquals("localhost", socketAddress.getHostString()); in test_getHostString_cachingBehavior()
184 assertEquals("127.0.0.1", socketAddress.getHostString()); in test_getHostString_cachingBehavior()
186 assertEquals("localhost", socketAddress.getHostString()); in test_getHostString_cachingBehavior()
DInetAddressTest.java606 return inetSocketAddress.getHostString(); in getHostStringWithoutReverseDns()
/libcore/ojluni/annotations/hiddenapi/java/net/
DInetSocketAddress.java91 public final java.lang.String getHostString() { in getHostString() method in InetSocketAddress
158 private java.lang.String getHostString() { in getHostString() method in InetSocketAddress.InetSocketAddressHolder
/libcore/ojluni/annotations/mmodule/java/net/
DInetSocketAddress.annotated.java51 public final java.lang.String getHostString() { throw new RuntimeException("Stub!"); } in getHostString() method in InetSocketAddress
/libcore/ojluni/src/main/java/java/net/
DSocksSocketImpl.java69 server = ad.getHostString(); in SocksSocketImpl()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionTest.java59 assertEquals(((InetSocketAddress) serverSocket.getLocalSocketAddress()).getHostString(), in test_getPeerHost()