/libcore/luni/src/main/java/java/net/ |
D | AddressCache.java | 47 AddressCacheKey(String hostname, int netId) { in AddressCacheKey() argument 49 mNetId = netId; in AddressCacheKey() 102 public Object get(String hostname, int netId) { in get() argument 103 AddressCacheEntry entry = cache.get(new AddressCacheKey(hostname, netId)); in get() 117 public void put(String hostname, int netId, InetAddress[] addresses) { in put() argument 118 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(addresses)); in put() 125 public void putUnknownHost(String hostname, int netId, String detailMessage) { in putUnknownHost() argument 126 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(detailMessage)); in putUnknownHost()
|
/libcore/ojluni/src/main/java/java/net/ |
D | Inet6AddressImpl.java | 73 public InetAddress[] lookupAllHostAddr(String host, int netId) throws UnknownHostException { in lookupAllHostAddr() argument 90 return lookupHostByName(host, netId); in lookupAllHostAddr() 100 private static InetAddress[] lookupHostByName(String host, int netId) in lookupHostByName() argument 104 Object cachedResult = addressCache.get(host, netId); in lookupHostByName() 122 InetAddress[] addresses = Libcore.os.android_getaddrinfo(host, hints, netId); in lookupHostByName() 127 addressCache.put(host, netId, addresses); in lookupHostByName() 140 addressCache.putUnknownHost(host, netId, detailMessage); in lookupHostByName()
|
D | InetAddress.java | 260 public InetAddress[] lookupAllHostAddr(String host, int netId) 262 return impl.lookupAllHostAddr(host, netId); 993 public static InetAddress getByNameOnNet(String host, int netId) throws UnknownHostException { in getByNameOnNet() argument 994 return impl.lookupAllHostAddr(host, netId)[0]; in getByNameOnNet() 1007 …public static InetAddress[] getAllByNameOnNet(String host, int netId) throws UnknownHostException { in getAllByNameOnNet() argument 1008 return impl.lookupAllHostAddr(host, netId).clone(); in getAllByNameOnNet()
|
D | InetAddressImpl.java | 41 InetAddress[] lookupAllHostAddr(String hostname, int netId) throws UnknownHostException; in lookupAllHostAddr() argument
|
/libcore/ojluni/src/main/java/sun/net/spi/nameservice/ |
D | NameService.java | 31 …public java.net.InetAddress[] lookupAllHostAddr(String host, int netId) throws UnknownHostExceptio… in lookupAllHostAddr() argument
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 58 …tring node, StructAddrinfo hints, int netId) throws GaiException { return os.android_getaddrinfo(n… in android_getaddrinfo() argument
|
D | Os.java | 49 …public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiE… in android_getaddrinfo() argument
|
D | Linux.java | 52 …public native InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) thro… in android_getaddrinfo() argument
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 56 …g node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_getaddrin… in android_getaddrinfo() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 1180 jobject javaHints, jint netId) { in Linux_android_getaddrinfo() argument 1200 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); in Linux_android_getaddrinfo()
|