Home
last modified time | relevance | path

Searched refs:isCleartextTrafficPermitted (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/main/java/libcore/net/
DNetworkSecurityPolicy.java79 public abstract boolean isCleartextTrafficPermitted(); in isCleartextTrafficPermitted() method in NetworkSecurityPolicy
89 public abstract boolean isCleartextTrafficPermitted(String hostname); in isCleartextTrafficPermitted() method in NetworkSecurityPolicy
103 public boolean isCleartextTrafficPermitted() { in isCleartextTrafficPermitted() method in NetworkSecurityPolicy.DefaultNetworkSecurityPolicy
108 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted() method in NetworkSecurityPolicy.DefaultNetworkSecurityPolicy
109 return isCleartextTrafficPermitted(); in isCleartextTrafficPermitted()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java63 assertEquals(false, NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()); in testCleartextTrafficPolicySetterAndGetter()
66 assertEquals(true, NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()); in testCleartextTrafficPolicySetterAndGetter()
69 assertEquals(false, NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()); in testCleartextTrafficPolicySetterAndGetter()
72 assertEquals(true, NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()); in testCleartextTrafficPolicySetterAndGetter()
78 NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted("localhost")); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()
82 NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted("localhost")); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()
88 assertEquals(false, NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()
90 NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted("localhost")); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()
92 NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted("example.com")); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()
345 public void addHostMapping(String hostname, boolean isCleartextTrafficPermitted) { in addHostMapping() argument
[all …]
/libcore/ojluni/src/main/java/java/util/logging/
DSocketHandler.java169 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()) { in connect()
/libcore/ojluni/src/main/java/sun/net/www/protocol/ftp/
DFtpURLConnection.java186 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()) { in FtpURLConnection()
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt1006 method public abstract boolean isCleartextTrafficPermitted();
1007 method public abstract boolean isCleartextTrafficPermitted(String);