Searched refs:isCleartextTrafficPermitted (Results 1 – 7 of 7) sorted by relevance
63 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 …]
113 public abstract boolean isCleartextTrafficPermitted(); in isCleartextTrafficPermitted() method in NetworkSecurityPolicy129 public abstract boolean isCleartextTrafficPermitted(String hostname); in isCleartextTrafficPermitted() method in NetworkSecurityPolicy157 public boolean isCleartextTrafficPermitted() { in isCleartextTrafficPermitted() method in NetworkSecurityPolicy.DefaultNetworkSecurityPolicy162 public boolean isCleartextTrafficPermitted(String hostname) { in isCleartextTrafficPermitted() method in NetworkSecurityPolicy.DefaultNetworkSecurityPolicy163 return isCleartextTrafficPermitted(); in isCleartextTrafficPermitted()
169 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()) { in connect()
186 if (!NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted()) { in FtpURLConnection()
618 method public abstract boolean isCleartextTrafficPermitted();619 method public abstract boolean isCleartextTrafficPermitted(String);