Searched refs:hostname (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/core/java/android/net/
H A DProxy.java96 * user did not set a hostname it returns the default host.
236 * Validate syntax of hostname, port and exclusion list entries
239 public static void validate(String hostname, String port, String exclList) { argument
240 Matcher match = HOSTNAME_PATTERN.matcher(hostname);
251 if (hostname.length() > 0 && port.length() == 0) {
256 if (hostname.length() == 0) {
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
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...]
H A DCaptivePortalTracker.java417 private InetAddress lookupHost(String hostname) { argument
420 inetAddress = InetAddress.getAllByName(hostname);
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp58 const std::string& hostname,
72 const std::string& hostname,
112 data.writeString16(String16(hostname.c_str()));
310 const std::string& hostname,
319 int code = service->verifyX509CertChain(cert_chain, hostname, auth_type);
70 verifyX509CertChain( const std::vector<std::string>& cert_chain, const std::string& hostname, const std::string& auth_type) argument
308 VerifyX509CertChain( const std::vector<std::string>& cert_chain, const std::string& hostname, const std::string& auth_type) argument
H A Dsupport.h82 const std::string& hostname,
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp624 jint type, jstring hostname, jint port)
630 const char *c_hostname = env->GetStringUTFChars(hostname, NULL);
632 env->ReleaseStringUTFChars(hostname, c_hostname);
623 android_location_GpsLocationProvider_set_agps_server(JNIEnv* env, jobject obj, jint type, jstring hostname, jint port) argument
/frameworks/base/services/java/com/android/server/
H A DNsdService.java516 /* NNN resolveId hostname ttl addr */
747 private boolean getAddrInfo(int resolveId, String hostname) { argument
750 mNativeConnector.execute("mdnssd", "getaddrinfo", resolveId, hostname);
H A DConnectivityService.java465 if (TextUtils.isEmpty(SystemProperties.get("net.hostname"))) {
470 SystemProperties.set("net.hostname", name);
4235 // hostname parameter just incase things change.
4244 public boolean verify(String hostname, SSLSession session) { argument
4247 boolean retVal = hv.verify(orgUriHost, session) || hv.verify(hostname, session);
4249 log("isMobileOk: hostnameVerify retVal=" + retVal + " hostname=" + hostname
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java1903 private native void native_set_agps_server(int type, String hostname, int port); argument

Completed in 217 milliseconds