/frameworks/base/core/java/android/security/net/config/ |
D | ApplicationConfig.java | 70 public NetworkSecurityConfig getConfigForHostname(String hostname) { in getConfigForHostname() argument 72 if (hostname == null || hostname.isEmpty() || mConfigs == null) { in getConfigForHostname() 75 if (hostname.charAt(0) == '.') { in getConfigForHostname() 79 hostname = hostname.toLowerCase(Locale.US); in getConfigForHostname() 82 if (hostname.charAt(hostname.length() - 1) == '.') { in getConfigForHostname() 83 hostname = hostname.substring(0, hostname.length() - 1); in getConfigForHostname() 93 if (domain.hostname.equals(hostname)) { in getConfigForHostname() 99 && hostname.endsWith(domain.hostname) in getConfigForHostname() 100 && hostname.charAt(hostname.length() - domain.hostname.length() - 1) == '.') { in getConfigForHostname() 103 } else if (domain.hostname.length() > bestMatch.first.hostname.length()) { in getConfigForHostname() [all …]
|
D | Domain.java | 25 public final String hostname; field in Domain 32 public Domain(String hostname, boolean subdomainsIncluded) { in Domain() argument 33 if (hostname == null) { in Domain() 36 this.hostname = hostname.toLowerCase(Locale.US); in Domain() 42 return hostname.hashCode() ^ (subdomainsIncluded ? 1231 : 1237); in hashCode() 55 otherDomain.hostname.equals(this.hostname); in equals()
|
D | ConfigNetworkSecurityPolicy.java | 37 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted() argument 38 return mConfig.isCleartextTrafficPermitted(hostname); in isCleartextTrafficPermitted() 42 public boolean isCertificateTransparencyVerificationRequired(String hostname) { in isCertificateTransparencyVerificationRequired() argument
|
D | RootTrustManager.java | 125 String hostname) throws CertificateException { in checkServerTrusted() argument 126 if (hostname == null && mConfig.hasPerDomainConfigs()) { in checkServerTrusted() 130 NetworkSecurityConfig config = mConfig.getConfigForHostname(hostname); in checkServerTrusted() 131 return config.getTrustManager().checkServerTrusted(certs, authType, hostname); in checkServerTrusted()
|
/frameworks/base/core/java/android/app/admin/ |
D | DnsEvent.java | 37 private final String hostname; field in DnsEvent 49 public DnsEvent(String hostname, String[] ipAddresses, int ipAddressesCount, in DnsEvent() argument 52 this.hostname = hostname; in DnsEvent() 58 this.hostname = in.readString(); in DnsEvent() 67 return hostname; in getHostname() 98 return String.format("DnsEvent(%s, %s, %d, %d, %s)", hostname, in toString() 128 out.writeString(hostname); in writeToParcel()
|
/frameworks/base/core/java/android/security/ |
D | FrameworkNetworkSecurityPolicy.java | 37 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted() argument 42 public boolean isCertificateTransparencyVerificationRequired(String hostname) { in isCertificateTransparencyVerificationRequired() argument
|
D | NetworkSecurityPolicy.java | 78 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted() argument 80 .isCleartextTrafficPermitted(hostname); in isCleartextTrafficPermitted()
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 218 public static int validate(String hostname, String port, String exclList) { in validate() argument 219 Matcher match = HOSTNAME_PATTERN.matcher(hostname); in validate() 226 if (hostname.length() > 0 && port.length() == 0) return PROXY_PORT_EMPTY; in validate() 229 if (hostname.length() == 0) return PROXY_HOSTNAME_EMPTY; in validate()
|
D | INetdEventCallback.aidl | 34 void onDnsEvent(String hostname, in String[] ipAddresses, int ipAddressesCount, long timestamp, in onDnsEvent() argument
|
D | SSLCertificateSocketFactory.java | 192 public static void verifyHostname(Socket socket, String hostname) throws IOException { in verifyHostname() argument 207 if (!HttpsURLConnection.getDefaultHostnameVerifier().verify(hostname, session)) { in verifyHostname() 208 throw new SSLPeerUnverifiedException("Cannot verify hostname: " + hostname); in verifyHostname()
|
D | Network.java | 229 public List<InetAddress> lookup(String hostname) throws UnknownHostException { in maybeInitHttpClient() 230 return Arrays.asList(Network.this.getAllByName(hostname)); in maybeInitHttpClient()
|
/frameworks/base/core/java/org/apache/http/conn/scheme/ |
D | HostNameResolver.java | 45 InetAddress resolve (String hostname) throws IOException; in resolve() argument
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | NetworkLogger.java | 55 public void onDnsEvent(String hostname, String[] ipAddresses, int ipAddressesCount, 60 DnsEvent dnsEvent = new DnsEvent(hostname, ipAddresses, ipAddressesCount,
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | NetdEventListenerService.java | 123 String hostname, String[] ipAddresses, int ipAddressesCount, int uid) in onDnsEvent() argument 136 mNetdEventCallback.onDnsEvent(hostname, ipAddresses, ipAddressesCount, timestamp, uid); in onDnsEvent()
|
/frameworks/base/services/core/java/com/android/server/ |
D | NsdService.java | 756 private boolean getAddrInfo(int resolveId, String hostname) { in getAddrInfo() argument 757 return mDaemon.execute("getaddrinfo", resolveId, hostname); in getAddrInfo()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 1453 jint type, jstring hostname, jint port) { in android_location_GnssLocationProvider_set_agps_server() argument 1459 const char *c_hostname = env->GetStringUTFChars(hostname, NULL); in android_location_GnssLocationProvider_set_agps_server() 1467 env->ReleaseStringUTFChars(hostname, c_hostname); in android_location_GnssLocationProvider_set_agps_server()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 2655 private native void native_set_agps_server(int type, String hostname, int port);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 54331 field protected final java.lang.String hostname;
|