Searched refs:netId (Results 1 – 7 of 7) sorted by relevance
/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()
|
D | InetAddress.java | 228 …public static InetAddress[] getAllByNameOnNet(String host, int netId) throws UnknownHostException { in getAllByNameOnNet() argument 229 return getAllByNameImpl(host, netId).clone(); in getAllByNameOnNet() 237 …private static InetAddress[] getAllByNameImpl(String host, int netId) throws UnknownHostException { in getAllByNameImpl() argument 252 return lookupHostByName(host, netId).clone(); in getAllByNameImpl() 319 public static InetAddress getByNameOnNet(String host, int netId) throws UnknownHostException { in getByNameOnNet() argument 320 return getAllByNameImpl(host, netId)[0]; in getByNameOnNet() 416 private static InetAddress[] lookupHostByName(String host, int netId) in lookupHostByName() argument 420 Object cachedResult = addressCache.get(host, netId); in lookupHostByName() 438 InetAddress[] addresses = Libcore.os.android_getaddrinfo(host, hints, netId); in lookupHostByName() 443 addressCache.put(host, netId, addresses); in lookupHostByName() [all …]
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 55 …tring node, StructAddrinfo hints, int netId) throws GaiException { return os.android_getaddrinfo(n… in android_getaddrinfo() argument
|
D | Os.java | 46 …public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiE… in android_getaddrinfo() argument
|
D | Posix.java | 49 …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 | 50 …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_Posix.cpp | 661 jobject javaHints, jint netId) { in Posix_android_getaddrinfo() argument 681 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); in Posix_android_getaddrinfo()
|