Home
last modified time | relevance | path

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

/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/luni/src/main/java/libcore/net/
DNetworkSecurityPolicy.java113 public abstract boolean isCleartextTrafficPermitted(); in isCleartextTrafficPermitted() method in NetworkSecurityPolicy
129 public abstract boolean isCleartextTrafficPermitted(String hostname); in isCleartextTrafficPermitted() method in NetworkSecurityPolicy
157 public boolean isCleartextTrafficPermitted() { in isCleartextTrafficPermitted() method in NetworkSecurityPolicy.DefaultNetworkSecurityPolicy
162 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted() method in NetworkSecurityPolicy.DefaultNetworkSecurityPolicy
163 return isCleartextTrafficPermitted(); in isCleartextTrafficPermitted()
/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.txt618 method public abstract boolean isCleartextTrafficPermitted();
619 method public abstract boolean isCleartextTrafficPermitted(String);
/libcore/mmodules/core_platform_api/api/stable_platform/
Dcurrent.txt618 method public abstract boolean isCleartextTrafficPermitted();
619 method public abstract boolean isCleartextTrafficPermitted(String);
/libcore/api/
Dmodule-lib-current.txt618 method public abstract boolean isCleartextTrafficPermitted();
619 method public abstract boolean isCleartextTrafficPermitted(String);