Searched refs:addHostMapping (Results 1 – 1 of 1) sorted by relevance
85 policy.addHostMapping("localhost", true); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()86 policy.addHostMapping("example.com", false); in testHostnameAwareCleartextTrafficPolicySetterAndGetter()345 public void addHostMapping(String hostname, boolean isCleartextTrafficPermitted) { in addHostMapping() method in NetworkSecurityPolicyTest.TestNetworkSecurityPolicy