Searched refs:TestNetworkSecurityPolicy (Results 1 – 1 of 1) sorted by relevance
62 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(false)); in testCleartextTrafficPolicySetterAndGetter()65 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(true)); in testCleartextTrafficPolicySetterAndGetter()68 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(false)); in testCleartextTrafficPolicySetterAndGetter()71 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(true)); in testCleartextTrafficPolicySetterAndGetter()76 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(false)); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()80 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(true)); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()84 TestNetworkSecurityPolicy policy = new TestNetworkSecurityPolicy(false); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()98 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(true)); in testCleartextTrafficPolicyWithHttpURLConnection()111 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(false)); in testCleartextTrafficPolicyWithHttpURLConnection()125 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(true)); in testCleartextTrafficPolicyWithFtpURLConnection()[all …]