Searched defs:hostname (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/core/java/android/net/
H A DCaptivePortalTracker.java306 private InetAddress lookupHost(String hostname) { argument
309 inetAddress = InetAddress.getAllByName(hostname);
H A DProxy.java106 * user did not set a hostname it returns the default host.
246 * Validate syntax of hostname, port and exclusion list entries
249 public static void validate(String hostname, String port, String exclList) { argument
250 Matcher match = HOSTNAME_PATTERN.matcher(hostname);
261 if (hostname.length() > 0 && port.length() == 0) {
266 if (hostname.length() == 0) {
H A DSSLCertificateSocketFactory.java59 * This implementation does check the server's certificate hostname, but only
60 * for createSocket variants that specify a hostname. When using methods that
66 * {@link HostnameVerifier} to verify the certificate hostname.
69 * SSL certificate and hostname checks for testing purposes. This setting
165 * Verify the hostname of the certificate used by the other end of a
166 * connected socket. You MUST call this if you did not supply a hostname
168 * redundantly if the hostname has already been verified.
170 * <p>Wildcard certificates are allowed to verify any matching hostname,
175 * @param hostname The expected hostname o
181 verifyHostname(Socket socket, String hostname) argument
[all...]
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp212 const std::string& hostname,
210 VerifyX509CertChain( const std::vector<std::string>& cert_chain, const std::string& hostname, const std::string& auth_type) argument
/frameworks/base/services/java/com/android/server/
H A DNsdService.java607 /* NNN resolveId hostname ttl addr */
729 private boolean getAddrInfo(int resolveId, String hostname) { argument
732 mNativeConnector.execute("mdnssd", "getaddrinfo", resolveId, hostname);
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp509 jint type, jstring hostname, jint port)
515 const char *c_hostname = env->GetStringUTFChars(hostname, NULL);
517 env->ReleaseStringUTFChars(hostname, c_hostname);
508 android_location_GpsLocationProvider_set_agps_server(JNIEnv* env, jobject obj, jint type, jstring hostname, jint port) argument
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java1637 private native void native_set_agps_server(int type, String hostname, int port); argument

Completed in 2067 milliseconds