Searched refs:setInstance (Results 1 – 3 of 3) sorted by relevance
55 NetworkSecurityPolicy.setInstance(mOriginalPolicy); in tearDown()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()87 NetworkSecurityPolicy.setInstance(policy); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()98 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(true)); in testCleartextTrafficPolicyWithHttpURLConnection()111 NetworkSecurityPolicy.setInstance(new TestNetworkSecurityPolicy(false)); in testCleartextTrafficPolicyWithHttpURLConnection()[all …]
51 public static void setInstance(NetworkSecurityPolicy policy) { in setInstance() method in NetworkSecurityPolicy
1008 method public static void setInstance(libcore.net.NetworkSecurityPolicy);