Home
last modified time | relevance | path

Searched refs:MATCH_SECONDARY (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DDomainMatcherTest.java52 TEST_DOMAIN_MAP.put("android.com", DomainMatcher.MATCH_SECONDARY);
53 TEST_DOMAIN_MAP.put("test.android.com", DomainMatcher.MATCH_SECONDARY);
54 TEST_DOMAIN_MAP.put("testing.test.com", DomainMatcher.MATCH_SECONDARY);
55 TEST_DOMAIN_MAP.put("adbcd.testing.test.com", DomainMatcher.MATCH_SECONDARY);
147 assertEquals(DomainMatcher.MATCH_SECONDARY, domainMatcher.isSubDomain("google.com")); in matchDomainWhenPrimaryIsSubdomainOfSecondary()
148 assertEquals(DomainMatcher.MATCH_SECONDARY, domainMatcher.isSubDomain("test2.google.com")); in matchDomainWhenPrimaryIsSubdomainOfSecondary()
165 assertEquals(DomainMatcher.MATCH_SECONDARY, domainMatcher.isSubDomain("google..com")); in matchDomainWithEmptyLabel()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DDomainMatcher.java34 public static final int MATCH_SECONDARY = 2; field in DomainMatcher
130 mRoot.addDomain(secondaryLabel.iterator(), MATCH_SECONDARY); in DomainMatcher() local