Home
last modified time | relevance | path

Searched refs:AuthMatch (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java110 return AuthMatch.INDETERMINATE; in matchNAIRealm()
113 int bestMatch = AuthMatch.NONE; in matchNAIRealm()
118 if (bestMatch == AuthMatch.EXACT) { in matchNAIRealm()
182 int realmMatch = AuthMatch.NONE; in matchNAIRealmData()
185 realmMatch = AuthMatch.REALM; in matchNAIRealmData()
195 int eapMethodMatch = AuthMatch.NONE; in matchNAIRealmData()
198 if (eapMethodMatch != AuthMatch.NONE) { in matchNAIRealmData()
203 if (eapMethodMatch == AuthMatch.NONE) { in matchNAIRealmData()
204 return AuthMatch.NONE; in matchNAIRealmData()
207 if (realmMatch == AuthMatch.NONE) { in matchNAIRealmData()
[all …]
DAuthMatch.java26 public abstract class AuthMatch { class
DPasspointProvider.java350 if (authMatch == AuthMatch.NONE) { in match()
355 if ((authMatch & AuthMatch.REALM) == 0) { in match()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DANQPMatcherTest.java130 assertEquals(AuthMatch.INDETERMINATE, ANQPMatcher.matchNAIRealm(null, "test.com", in matchNAIRealmWithNullElement()
143 assertEquals(AuthMatch.INDETERMINATE, ANQPMatcher.matchNAIRealm(element, "test.com", in matchNAIRealmWithEmtpyRealmData()
160 assertEquals(AuthMatch.REALM, ANQPMatcher.matchNAIRealm(element, realm, in matchNAIRealmWithRealmMatch()
186 assertEquals(AuthMatch.METHOD, in matchNAIRealmWithMethodMatch()
209 assertEquals(AuthMatch.REALM | AuthMatch.METHOD, in matchNAIRealmWithRealmMethodMatch()
238 assertEquals(AuthMatch.EXACT, in matchNAIRealmWithExactMatch()
266 assertEquals(AuthMatch.NONE, in matchNAIRealmWithEAPMethodMismatch()
296 assertEquals(AuthMatch.NONE, in matchNAIRealmWithAuthTypeMismatch()