Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DDomainMatcherTest.java52 TEST_DOMAIN_MAP.put("google.com", DomainMatcher.MATCH_PRIMARY);
53 TEST_DOMAIN_MAP.put("test.google.com", DomainMatcher.MATCH_PRIMARY);
120 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain(PRIMARY_DOMAIN)); in matchDomainWithBothPrimaryAndSecondary()
133 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("google.com")); in matchDomainWhenSecondaryIsSubdomainOfPrimary()
134 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("test.google.com")); in matchDomainWhenSecondaryIsSubdomainOfPrimary()
135 assertEquals(DomainMatcher.MATCH_PRIMARY, in matchDomainWhenSecondaryIsSubdomainOfPrimary()
151 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("test.google.com")); in matchDomainWhenPrimaryIsSubdomainOfSecondary()
152 assertEquals(DomainMatcher.MATCH_PRIMARY, in matchDomainWhenPrimaryIsSubdomainOfSecondary()
166 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("test.google..com")); in matchDomainWithEmptyLabel()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DDomainMatcher.java33 public static final int MATCH_PRIMARY = 1; field in DomainMatcher
138 mRoot.addDomain(primaryLabel.iterator(), MATCH_PRIMARY); in DomainMatcher() local
172 if (match == MATCH_PRIMARY) { in isSubDomain()