/** * Returns the numeric representation of this IP address (such as "127.0.0.1"). */ public String getHostAddress() { return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw. }
public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); } public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException { BlockGuard.getThreadPolicy().onNetwork(); try { String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); return makeInetAddress(address.ipaddress.clone(), hostname); } catch (GaiException gaiException) { throw gaiException.rethrowAsUnknownHostException(); } }
/** * Returns the numeric representation of this IP address (such as "127.0.0.1"). */ public String getHostAddress() { return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw. }
/** * Returns the numeric representation of this IP address (such as "127.0.0.1"). */ public String getHostAddress() { return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw. }
/** * Returns the numeric representation of this IP address (such as "127.0.0.1"). */ public String getHostAddress() { return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw. }
/** * Returns the numeric representation of this IP address (such as "127.0.0.1"). */ public String getHostAddress() { return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw. }
/** * Returns the numeric representation of this IP address (such as "127.0.0.1"). */ public String getHostAddress() { return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw. }
/** * Returns the numeric representation of this IP address (such as "127.0.0.1"). */ public String getHostAddress() { return Libcore.os.getnameinfo(this, NI_NUMERICHOST); // Can't throw. }
public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); } public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); } public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); } public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); } public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
public String getnameinfo(InetAddress address, int flags) throws GaiException { return os.getnameinfo(address, flags); } public SocketAddress getpeername(FileDescriptor fd) throws ErrnoException { return os.getpeername(fd); }
private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException { BlockGuard.getThreadPolicy().onNetwork(); try { String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); return makeInetAddress(address.ipaddress.clone(), hostname); } catch (GaiException gaiException) { throw gaiException.rethrowAsUnknownHostException(); } }
private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException { BlockGuard.getThreadPolicy().onNetwork(); try { String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); return makeInetAddress(address.ipaddress.clone(), hostname); } catch (GaiException gaiException) { throw gaiException.rethrowAsUnknownHostException(); } }
private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException { BlockGuard.getThreadPolicy().onNetwork(); try { String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); return makeInetAddress(address.ipaddress.clone(), hostname); } catch (GaiException gaiException) { throw gaiException.rethrowAsUnknownHostException(); } }
private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException { BlockGuard.getThreadPolicy().onNetwork(); try { String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); return makeInetAddress(address.ipaddress.clone(), hostname); } catch (GaiException gaiException) { throw gaiException.rethrowAsUnknownHostException(); } }
private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException { BlockGuard.getThreadPolicy().onNetwork(); try { String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); return makeInetAddress(address.ipaddress.clone(), hostname); } catch (GaiException gaiException) { throw gaiException.rethrowAsUnknownHostException(); } }
private static InetAddress getHostByAddrImpl(InetAddress address) throws UnknownHostException { BlockGuard.getThreadPolicy().onNetwork(); try { String hostname = Libcore.os.getnameinfo(address, NI_NAMEREQD); return makeInetAddress(address.ipaddress.clone(), hostname); } catch (GaiException gaiException) { throw gaiException.rethrowAsUnknownHostException(); } }