Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DDomainMatcherTest.java54 TEST_DOMAIN_MAP.put("android.com", DomainMatcher.MATCH_SECONDARY);
55 TEST_DOMAIN_MAP.put("test.android.com", DomainMatcher.MATCH_SECONDARY);
56 TEST_DOMAIN_MAP.put("testing.test.com", DomainMatcher.MATCH_SECONDARY);
57 TEST_DOMAIN_MAP.put("adbcd.testing.test.com", DomainMatcher.MATCH_SECONDARY);
149 assertEquals(DomainMatcher.MATCH_SECONDARY, domainMatcher.isSubDomain("google.com")); in matchDomainWhenPrimaryIsSubdomainOfSecondary()
150 assertEquals(DomainMatcher.MATCH_SECONDARY, domainMatcher.isSubDomain("test2.google.com")); in matchDomainWhenPrimaryIsSubdomainOfSecondary()
167 assertEquals(DomainMatcher.MATCH_SECONDARY, domainMatcher.isSubDomain("google..com")); in matchDomainWithEmptyLabel()
/packages/modules/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