Home
last modified time | relevance | path

Searched refs:PasspointMatch (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkNominateHelperTest.java216 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingHomeProvider()
217 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithNetworkMatchingHomeProvider()
263 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNoInternetBit()
264 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithNoInternetBit()
304 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingRoamingProvider()
305 roamingProvider.add(Pair.create(sTestProvider1, PasspointMatch.RoamingProvider)); in evaluateScansWithNetworkMatchingRoamingProvider()
347 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
348 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
349 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
350 roamingProvider.add(Pair.create(sTestProvider2, PasspointMatch.RoamingProvider)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
[all …]
DPasspointProviderTest.java669 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithoutNAIRealm()
694 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithNAIRealmMatch()
720 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithNAIRealmMismatch()
744 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWith3GPPNetworkDomainName()
773 assertEquals(PasspointMatch.HomeProvider, in matchFQDNOverRoamingProvider()
798 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithoutNAIRealm()
825 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithNAIRealmMatch()
850 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithNAIRealmMisMatch()
873 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithoutNAIRealm()
900 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithNAIRealmMatch()
[all …]
DPasspointManagerTest.java1058 .thenReturn(PasspointMatch.HomeProvider); in matchProviderAsHomeProvider()
1059 List<Pair<PasspointProvider, PasspointMatch>> results = in matchProviderAsHomeProvider()
1061 Pair<PasspointProvider, PasspointMatch> result = results.get(0); in matchProviderAsHomeProvider()
1062 assertEquals(PasspointMatch.HomeProvider, result.second); in matchProviderAsHomeProvider()
1079 .thenReturn(PasspointMatch.RoamingProvider); in matchProviderAsRoamingProvider()
1080 List<Pair<PasspointProvider, PasspointMatch>> results = in matchProviderAsRoamingProvider()
1082 Pair<PasspointProvider, PasspointMatch> result = results.get(0); in matchProviderAsRoamingProvider()
1083 assertEquals(PasspointMatch.RoamingProvider, result.second); in matchProviderAsRoamingProvider()
1101 .thenReturn(PasspointMatch.RoamingProvider); in matchScanResultWithMultipleProviderAsHomeAndRoaming()
1103 .thenReturn(PasspointMatch.RoamingProvider); in matchScanResultWithMultipleProviderAsHomeAndRoaming()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java420 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements, in match()
428 return PasspointMatch.None; in match()
439 + " is installed, final match: " + PasspointMatch.None); in match()
441 return PasspointMatch.None; in match()
447 PasspointMatch providerMatch = matchFqdnAndRcoi(anqpElements, roamingConsortiumFromAp, in match()
451 if (providerMatch == PasspointMatch.None && ANQPMatcher.matchThreeGPPNetwork( in match()
458 return PasspointMatch.RoamingProvider; in match()
480 if (providerMatch == PasspointMatch.None) { in match()
481 providerMatch = PasspointMatch.RoamingProvider; in match()
836 private PasspointMatch matchFqdnAndRcoi(Map<ANQPElementType, ANQPElement> anqpElements, in matchFqdnAndRcoi()
[all …]
DPasspointManager.java798 public @NonNull List<Pair<PasspointProvider, PasspointMatch>> matchProvider( in matchProvider()
816 public @NonNull List<Pair<PasspointProvider, PasspointMatch>> matchProvider( in matchProvider()
818 List<Pair<PasspointProvider, PasspointMatch>> allMatches = getAllMatchedProviders( in matchProvider()
823 List<Pair<PasspointProvider, PasspointMatch>> homeProviders = new ArrayList<>(); in matchProvider()
824 List<Pair<PasspointProvider, PasspointMatch>> roamingProviders = new ArrayList<>(); in matchProvider()
825 for (Pair<PasspointProvider, PasspointMatch> match : allMatches) { in matchProvider()
829 if (match.second == PasspointMatch.HomeProvider) { in matchProvider()
860 public @NonNull List<Pair<PasspointProvider, PasspointMatch>> getAllMatchedProviders( in getAllMatchedProviders()
872 private @NonNull List<Pair<PasspointProvider, PasspointMatch>> getAllMatchedProviders( in getAllMatchedProviders()
874 List<Pair<PasspointProvider, PasspointMatch>> allMatches = new ArrayList<>(); in getAllMatchedProviders()
[all …]
DPasspointNetworkNominateHelper.java53 PasspointNetworkCandidate(PasspointProvider provider, PasspointMatch matchStatus, in PasspointNetworkCandidate()
60 PasspointMatch mMatchStatus;
145 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = in findBestMatchScanDetailForProviders()
150 for (Pair<PasspointProvider, PasspointMatch> matchedProvider : matchedProviders) { in findBestMatchScanDetailForProviders()
192 config.isHomeProviderNetwork = candidate.mMatchStatus == PasspointMatch.HomeProvider; in createWifiConfigForProvider()
240 .filter(candidate -> candidate.mMatchStatus == PasspointMatch.HomeProvider) in findHomeNetworksIfPossible()
DPasspointMatch.java3 public enum PasspointMatch { enum
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp606 "com.android.server.wifi.hotspot2.PasspointMatch",
607 "com.android.server.wifi.hotspot2.PasspointMatch$*",
608 "com.android.server.wifi.hotspot2.PasspointMatch.**",
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java77 import com.android.server.wifi.hotspot2.PasspointMatch;
3440 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = null; in incrementAvailableNetworksHistograms()
3507 for (Pair<PasspointProvider, PasspointMatch> passpointProvider : in incrementAvailableNetworksHistograms()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java103 import com.android.server.wifi.hotspot2.PasspointMatch;
619 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = new ArrayList<>(); in buildMockScanDetail()