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

/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java61 * This implementation does check the server's certificate hostname, but only
62 * for createSocket variants that specify a hostname. When using methods that
68 * {@link HostnameVerifier} to verify the certificate hostname.
71 * SSL certificate and hostname checks for testing purposes. This setting
166 * Verify the hostname of the certificate used by the other end of a
167 * connected socket. You MUST call this if you did not supply a hostname
169 * redundantly if the hostname has already been verified.
171 * <p>Wildcard certificates are allowed to verify any matching hostname,
176 * @param hostname The expected hostname o
182 verifyHostname(Socket socket, String hostname) argument
[all...]
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) {
/frameworks/base/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/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.java1673 private native void native_set_agps_server(int type, String hostname, int port); argument

Completed in 159 milliseconds