Searched refs:MATCH_PRIMARY (Results 1 – 2 of 2) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | DomainMatcherTest.java | 50 TEST_DOMAIN_MAP.put("google.com", DomainMatcher.MATCH_PRIMARY); 51 TEST_DOMAIN_MAP.put("test.google.com", DomainMatcher.MATCH_PRIMARY); 118 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain(PRIMARY_DOMAIN)); in matchDomainWithBothPrimaryAndSecondary() 131 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("google.com")); in matchDomainWhenSecondaryIsSubdomainOfPrimary() 132 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("test.google.com")); in matchDomainWhenSecondaryIsSubdomainOfPrimary() 133 assertEquals(DomainMatcher.MATCH_PRIMARY, in matchDomainWhenSecondaryIsSubdomainOfPrimary() 149 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("test.google.com")); in matchDomainWhenPrimaryIsSubdomainOfSecondary() 150 assertEquals(DomainMatcher.MATCH_PRIMARY, in matchDomainWhenPrimaryIsSubdomainOfSecondary() 164 assertEquals(DomainMatcher.MATCH_PRIMARY, domainMatcher.isSubDomain("test.google..com")); in matchDomainWithEmptyLabel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | DomainMatcher.java | 33 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()
|