Searched defs:hostname (Results 1 - 6 of 6) sorted by last modified time

/frameworks/base/services/core/java/com/android/server/
H A DNsdService.java527 /* NNN resolveId hostname ttl addr */
802 private boolean getAddrInfo(int resolveId, String hostname) { argument
805 mNativeConnector.execute("mdnssd", "getaddrinfo", resolveId, hostname);
/frameworks/base/services/core/java/com/android/server/location/
H A DGpsLocationProvider.java2283 private native void native_set_agps_server(int type, String hostname, int port); argument
/frameworks/base/services/core/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp793 jint type, jstring hostname, jint port)
799 const char *c_hostname = env->GetStringUTFChars(hostname, NULL);
801 env->ReleaseStringUTFChars(hostname, c_hostname);
792 android_location_GpsLocationProvider_set_agps_server(JNIEnv* env, jobject , jint type, jstring hostname, jint port) argument
/frameworks/base/core/java/android/net/
H A DProxy.java104 * user did not set a hostname it returns the default host.
210 * Validate syntax of hostname, port and exclusion list entries
213 public static int validate(String hostname, String port, String exclList) { argument
214 Matcher match = HOSTNAME_PATTERN.matcher(hostname);
221 if (hostname.length() > 0 && port.length() == 0) return PROXY_PORT_EMPTY;
224 if (hostname.length() == 0) return PROXY_HOSTNAME_EMPTY;
H A DSSLCertificateSocketFactory.java60 * This implementation does check the server's certificate hostname, but only
61 * for createSocket variants that specify a hostname. When using methods that
67 * {@link HostnameVerifier} to verify the certificate hostname.
70 * SSL certificate and hostname checks for testing purposes. This setting
173 * Verify the hostname of the certificate used by the other end of a
174 * connected socket. You MUST call this if you did not supply a hostname
176 * redundantly if the hostname has already been verified.
178 * <p>Wildcard certificates are allowed to verify any matching hostname,
183 * @param hostname The expected hostname o
189 verifyHostname(Socket socket, String hostname) argument
[all...]
/frameworks/base/core/java/org/apache/http/conn/scheme/
H A DHostNameResolver.java45 InetAddress resolve (String hostname) throws IOException; argument

Completed in 149 milliseconds