Searched defs:getHostAddress (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DURLStreamHandler.java321 protected InetAddress getHostAddress(URL url) { method in class:URLStreamHandler
H A DInetAddress.java295 public String getHostAddress() { method in class:InetAddress
302 * is returned instead (see {@link #getHostAddress}).
309 hostName = getHostAddress();
322 return getHostAddress();
456 return (hostName == null ? "" : hostName) + "/" + getHostAddress();
/libcore/luni/src/test/java/libcore/java/net/
H A DOldURLStreamHandlerTest.java56 assertNull(handler.getHostAddress(url1));
59 assertNull(handler.getHostAddress(url2));
62 assertEquals(InetAddress.getByName("localhost"), handler.getHostAddress(url3));
188 @Override public InetAddress getHostAddress(URL u) { method in class:OldURLStreamHandlerTest.MockURLStreamHandler
189 return super.getHostAddress(u);

Completed in 50 milliseconds