Searched refs:netId (Results 1 - 7 of 7) sorted by relevance
/libcore/luni/src/main/java/java/net/ |
H A D | AddressCache.java | 47 AddressCacheKey(String hostname, int netId) { argument 49 mNetId = netId; 98 * Returns the cached InetAddress[] for 'hostname' on network 'netId'. Returns null 102 public Object get(String hostname, int netId) { argument 103 AddressCacheEntry entry = cache.get(new AddressCacheKey(hostname, netId)); 117 public void put(String hostname, int netId, InetAddress[] addresses) { argument 118 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(addresses)); 125 public void putUnknownHost(String hostname, int netId, String detailMessage) { argument 126 cache.put(new AddressCacheKey(hostname, netId), new AddressCacheEntry(detailMessage));
|
H A D | InetAddress.java | 220 * performed on the network designated by {@code netId}. 223 * @param netId the network to use for host resolution. 228 public static InetAddress[] getAllByNameOnNet(String host, int netId) throws UnknownHostException { argument 229 return getAllByNameImpl(host, netId).clone(); 233 * Returns the InetAddresses for {@code host} on network {@code netId}. The 237 private static InetAddress[] getAllByNameImpl(String host, int netId) throws UnknownHostException { argument 252 return lookupHostByName(host, netId).clone(); 310 * performed on the network designated by {@code netId}. 314 * @param netId the network to use for host resolution. 319 public static InetAddress getByNameOnNet(String host, int netId) throw argument 429 lookupHostByName(String host, int netId) argument [all...] |
/libcore/luni/src/main/java/libcore/io/ |
H A D | Os.java | 46 public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException; argument
|
H A D | ForwardingOs.java | 55 public InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return os.android_getaddrinfo(node, hints, netId); } argument
|
H A D | Posix.java | 49 public native InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException; argument
|
/libcore/luni/src/main/java/android/system/ |
H A D | Os.java | 50 /** @hide */ public static InetAddress[] android_getaddrinfo(String node, StructAddrinfo hints, int netId) throws GaiException { return Libcore.os.android_getaddrinfo(node, hints, netId); } argument
|
/libcore/luni/src/main/native/ |
H A D | libcore_io_Posix.cpp | 840 jobject javaHints, jint netId) { 860 int rc = android_getaddrinfofornet(node.c_str(), NULL, &hints, netId, 0, &addressList); 839 Posix_android_getaddrinfo(JNIEnv* env, jobject, jstring javaNode, jobject javaHints, jint netId) argument
|
Completed in 65 milliseconds