Home
last modified time | relevance | path

Searched refs:NetworkSecurityConfig (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DNetworkSecurityConfigTests.java107 private NetworkSecurityConfig getEmptyConfig() { in getEmptyConfig()
108 return new NetworkSecurityConfig.Builder().build(); in getEmptyConfig()
111 private NetworkSecurityConfig getSystemStoreConfig() { in getSystemStoreConfig()
112 return new NetworkSecurityConfig.Builder() in getSystemStoreConfig()
119 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testEmptyConfig()
120 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testEmptyConfig()
128 ArraySet<Pair<Domain, NetworkSecurityConfig>> domainMap in testEmptyPerNetworkSecurityConfig()
129 = new ArraySet<Pair<Domain, NetworkSecurityConfig>>(); in testEmptyPerNetworkSecurityConfig()
130 domainMap.add(new Pair<Domain, NetworkSecurityConfig>( in testEmptyPerNetworkSecurityConfig()
132 NetworkSecurityConfig defaultConfig = getSystemStoreConfig(); in testEmptyPerNetworkSecurityConfig()
[all …]
DTestConfigSource.java24 private final Set<Pair<Domain, NetworkSecurityConfig>> mConfigs;
25 private final NetworkSecurityConfig mDefaultConfig;
26 public TestConfigSource(Set<Pair<Domain, NetworkSecurityConfig>> configs, in TestConfigSource()
27 NetworkSecurityConfig defaultConfig) { in TestConfigSource()
32 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
36 public NetworkSecurityConfig getDefaultConfig() { in getDefaultConfig()
DXmlConfigTests.java44 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testEmptyConfigFile()
64 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testEmptyAnchors()
83 NetworkSecurityConfig config = appConfig.getConfigForHostname(""); in testBasicDomainConfig()
121 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testBasicPinning()
137 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testExpiredPin()
152 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testOverridesPins()
167 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testBadPin()
182 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testMultipleDomains()
189 NetworkSecurityConfig other = appConfig.getConfigForHostname("google.com"); in testMultipleDomains()
205 NetworkSecurityConfig config = appConfig.getConfigForHostname("android.com"); in testMultipleDomainConfigs()
[all …]
/frameworks/base/core/java/android/security/net/config/
DApplicationConfig.java42 private Set<Pair<Domain, NetworkSecurityConfig>> mConfigs;
43 private NetworkSecurityConfig mDefaultConfig;
75 public NetworkSecurityConfig getConfigForHostname(String hostname) { in getConfigForHostname()
93 Pair<Domain, NetworkSecurityConfig> bestMatch = null; in getConfigForHostname()
94 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in getConfigForHostname()
96 NetworkSecurityConfig config = entry.second; in getConfigForHostname()
137 for (Pair<Domain, NetworkSecurityConfig> entry : mConfigs) { in isCleartextTrafficPermitted()
168 : NetworkSecurityConfig.DEFAULT_CERTIFICATE_TRANSPARENCY_VERIFICATION_REQUIRED; in isCertificateTransparencyVerificationRequired()
180 Set<NetworkSecurityConfig> updatedConfigs = in handleTrustStorageUpdate()
181 new HashSet<NetworkSecurityConfig>(mConfigs.size()); in handleTrustStorageUpdate()
[all …]
DXmlConfigSource.java42 private NetworkSecurityConfig mDefaultConfig;
43 private Set<Pair<Domain, NetworkSecurityConfig>> mDomainMap;
54 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
59 public NetworkSecurityConfig getDefaultConfig() { in getDefaultConfig()
223 private List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> parseConfigEntry( in parseConfigEntry()
225 NetworkSecurityConfig.Builder parentBuilder, int configType) in parseConfigEntry()
227 List<Pair<NetworkSecurityConfig.Builder, Set<Domain>>> builders = new ArrayList<>(); in parseConfigEntry()
228 NetworkSecurityConfig.Builder builder = new NetworkSecurityConfig.Builder(); in parseConfigEntry()
245 NetworkSecurityConfig.DEFAULT_HSTS_ENFORCED)); in parseConfigEntry()
249 NetworkSecurityConfig.DEFAULT_CLEARTEXT_TRAFFIC_PERMITTED)); in parseConfigEntry()
[all …]
DManifestConfigSource.java44 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
49 public NetworkSecurityConfig getDefaultConfig() { in getDefaultConfig()
88 private final NetworkSecurityConfig mDefaultConfig;
91 mDefaultConfig = NetworkSecurityConfig.getDefaultBuilder(info) in DefaultConfigSource()
97 public NetworkSecurityConfig getDefaultConfig() { in getDefaultConfig()
102 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
DRootTrustManager.java57 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
66 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
75 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkClientTrusted()
89 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted()
105 NetworkSecurityConfig config = mConfig.getConfigForHostname(host); in checkServerTrusted()
117 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in checkServerTrusted()
133 NetworkSecurityConfig config = mConfig.getConfigForHostname(hostname); in checkServerTrusted()
142 NetworkSecurityConfig config = mConfig.getConfigForHostname(""); in getAcceptedIssuers()
DKeyStoreConfigSource.java29 private final NetworkSecurityConfig mConfig;
32 mConfig = new NetworkSecurityConfig.Builder() in KeyStoreConfigSource()
40 public Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs() { in getPerDomainConfigs()
45 public NetworkSecurityConfig getDefaultConfig() { in getDefaultConfig()
DConfigSource.java24 Set<Pair<Domain, NetworkSecurityConfig>> getPerDomainConfigs(); in getPerDomainConfigs()
25 NetworkSecurityConfig getDefaultConfig(); in getDefaultConfig()
DNetworkSecurityConfig.java36 public final class NetworkSecurityConfig { class
54 private NetworkSecurityConfig( in NetworkSecurityConfig() method in NetworkSecurityConfig
348 public NetworkSecurityConfig build() {
355 return new NetworkSecurityConfig(
DTrustedCertificateStoreAdapter.java29 private final NetworkSecurityConfig mConfig;
31 public TrustedCertificateStoreAdapter(NetworkSecurityConfig config) { in TrustedCertificateStoreAdapter()
DNetworkSecurityTrustManager.java44 private final NetworkSecurityConfig mNetworkSecurityConfig;
49 public NetworkSecurityTrustManager(NetworkSecurityConfig config) { in NetworkSecurityTrustManager()
DRootTrustManagerFactorySpi.java38 private NetworkSecurityConfig mConfig;
/frameworks/base/boot/
Dboot-image-profile.txt13495 …onfig;->getConfigForHostname(Ljava/lang/String;)Landroid/security/net/config/NetworkSecurityConfig;
13526 …config/KeyStoreConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
13529 …gSource$DefaultConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
13533 …config/ManifestConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
13535 HSPLandroid/security/net/config/NetworkSecurityConfig$1;-><init>(Landroid/security/net/config/Netwo…
13536 HSPLandroid/security/net/config/NetworkSecurityConfig$1;->compare(Landroid/security/net/config/Cert…
13537 HSPLandroid/security/net/config/NetworkSecurityConfig$1;->compare(Ljava/lang/Object;Ljava/lang/Obje…
13538 HSPLandroid/security/net/config/NetworkSecurityConfig$Builder;-><init>()V
13539NetworkSecurityConfig$Builder;->addCertificatesEntryRef(Landroid/security/net/config/CertificatesE…
13540 …net/config/NetworkSecurityConfig$Builder;->addCertificatesEntryRefs(Ljava/util/Collection;)Landroi…
[all …]
Dpreloaded-classes6891 android.security.net.config.NetworkSecurityConfig$1
6892 android.security.net.config.NetworkSecurityConfig$Builder
6893 android.security.net.config.NetworkSecurityConfig-IA
6894 android.security.net.config.NetworkSecurityConfig
/frameworks/base/config/
Dboot-image-profile.txt13498 …onfig;->getConfigForHostname(Ljava/lang/String;)Landroid/security/net/config/NetworkSecurityConfig;
13529 …config/KeyStoreConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
13532 …gSource$DefaultConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
13536 …config/ManifestConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
13538 HSPLandroid/security/net/config/NetworkSecurityConfig$1;-><init>(Landroid/security/net/config/Netwo…
13539 HSPLandroid/security/net/config/NetworkSecurityConfig$1;->compare(Landroid/security/net/config/Cert…
13540 HSPLandroid/security/net/config/NetworkSecurityConfig$1;->compare(Ljava/lang/Object;Ljava/lang/Obje…
13541 HSPLandroid/security/net/config/NetworkSecurityConfig$Builder;-><init>()V
13542NetworkSecurityConfig$Builder;->addCertificatesEntryRef(Landroid/security/net/config/CertificatesE…
13543 …net/config/NetworkSecurityConfig$Builder;->addCertificatesEntryRefs(Ljava/util/Collection;)Landroi…
[all …]
Dpreloaded-classes6895 android.security.net.config.NetworkSecurityConfig$1
6896 android.security.net.config.NetworkSecurityConfig$Builder
6897 android.security.net.config.NetworkSecurityConfig-IA
6898 android.security.net.config.NetworkSecurityConfig
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47831 …onfig;->getConfigForHostname(Ljava/lang/String;)Landroid/security/net/config/NetworkSecurityConfig;
47840 …y/net/config/ApplicationConfig;->mDefaultConfig:Landroid/security/net/config/NetworkSecurityConfig;
47863 …ity/net/config/ConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
47886 …gSource$DefaultConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
47888 …nfigSource$DefaultConfigSource;->mDefaultConfig:Landroid/security/net/config/NetworkSecurityConfig;
47892 …config/ManifestConfigSource;->getDefaultConfig()Landroid/security/net/config/NetworkSecurityConfig;
47899 Landroid/security/net/config/NetworkSecurityConfig$Builder;-><init>()V
47900NetworkSecurityConfig$Builder;->addCertificatesEntryRef(Landroid/security/net/config/CertificatesE…
47901 …net/config/NetworkSecurityConfig$Builder;->addCertificatesEntryRefs(Ljava/util/Collection;)Landroi…
47902 Landroid/security/net/config/NetworkSecurityConfig$Builder;->build()Landroid/security/net/config/Ne…
[all …]