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.java242 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingHomeProvider()
243 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithNetworkMatchingHomeProvider()
297 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNoInternetBit()
298 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithNoInternetBit()
339 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingRoamingProvider()
340 roamingProvider.add(Pair.create(sTestProvider1, PasspointMatch.RoamingProvider)); in evaluateScansWithNetworkMatchingRoamingProvider()
384 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
385 homeProvider.add(Pair.create(sTestProvider1, PasspointMatch.HomeProvider)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
386 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
387 roamingProvider.add(Pair.create(sTestProvider2, PasspointMatch.RoamingProvider)); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
[all …]
DPasspointProviderTest.java678 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithoutNAIRealm()
703 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithNAIRealmMatch()
729 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithNAIRealmMismatch()
753 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWith3GPPNetworkDomainName()
782 assertEquals(PasspointMatch.HomeProvider, in matchFQDNOverRoamingProvider()
807 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithoutNAIRealm()
840 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithNAIRealmMatch()
865 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithNAIRealmMisMatch()
888 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithoutNAIRealm()
915 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithNAIRealmMatch()
[all …]
DPasspointManagerTest.java1100 .thenReturn(PasspointMatch.HomeProvider); in matchProviderAsHomeProvider()
1101 List<Pair<PasspointProvider, PasspointMatch>> results = in matchProviderAsHomeProvider()
1103 Pair<PasspointProvider, PasspointMatch> result = results.get(0); in matchProviderAsHomeProvider()
1104 assertEquals(PasspointMatch.HomeProvider, result.second); in matchProviderAsHomeProvider()
1121 .thenReturn(PasspointMatch.RoamingProvider); in matchProviderAsRoamingProvider()
1122 List<Pair<PasspointProvider, PasspointMatch>> results = in matchProviderAsRoamingProvider()
1124 Pair<PasspointProvider, PasspointMatch> result = results.get(0); in matchProviderAsRoamingProvider()
1125 assertEquals(PasspointMatch.RoamingProvider, result.second); in matchProviderAsRoamingProvider()
1142 .thenReturn(PasspointMatch.None); in matchProviderWithNoMatch()
1207 .thenReturn(PasspointMatch.HomeProvider); in getAllMatchingProvidersUpdatedConfigWithFullImsiSimCredential()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java466 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements, in match()
475 return PasspointMatch.None; in match()
486 + " is installed, final match: " + PasspointMatch.None); in match()
488 return PasspointMatch.None; in match()
494 PasspointMatch providerMatch = matchFqdnAndRcoi(anqpElements, roamingConsortiumFromAp, in match()
498 if (providerMatch == PasspointMatch.None && ANQPMatcher.matchThreeGPPNetwork( in match()
505 return PasspointMatch.RoamingProvider; in match()
527 if (providerMatch == PasspointMatch.None) { in match()
528 providerMatch = PasspointMatch.RoamingProvider; in match()
897 private PasspointMatch matchFqdnAndRcoi(Map<ANQPElementType, ANQPElement> anqpElements, in matchFqdnAndRcoi()
[all …]
DPasspointNetworkNominateHelper.java19 import static com.android.server.wifi.hotspot2.PasspointMatch.HomeProvider;
74 PasspointNetworkCandidate(PasspointProvider provider, PasspointMatch matchStatus, in PasspointNetworkCandidate()
81 PasspointMatch mMatchStatus;
268 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = in getMatchedCandidateGroupByProvider()
282 List<Pair<PasspointProvider, PasspointMatch>> homeProviders = in getMatchedCandidateGroupByProvider()
290 for (Pair<PasspointProvider, PasspointMatch> matchedProvider : matchedProviders) { in getMatchedCandidateGroupByProvider()
DPasspointManager.java854 public @NonNull List<Pair<PasspointProvider, PasspointMatch>> matchProvider( in matchProvider()
869 public @NonNull List<Pair<PasspointProvider, PasspointMatch>> matchProvider( in matchProvider()
874 List<Pair<PasspointProvider, PasspointMatch>> allMatches = getAllMatchedProviders( in matchProvider()
891 public @NonNull List<Pair<PasspointProvider, PasspointMatch>> getAllMatchedProviders( in getAllMatchedProviders()
903 private @NonNull List<Pair<PasspointProvider, PasspointMatch>> getAllMatchedProviders( in getAllMatchedProviders()
909 List<Pair<PasspointProvider, PasspointMatch>> allMatches = new ArrayList<>(); in getAllMatchedProviders()
948 PasspointMatch matchStatus = provider.match(anqpEntry.getElements(), in getAllMatchedProviders()
950 if (matchStatus == PasspointMatch.HomeProvider in getAllMatchedProviders()
951 || matchStatus == PasspointMatch.RoamingProvider) { in getAllMatchedProviders()
959 for (Pair<PasspointProvider, PasspointMatch> match : allMatches) { in getAllMatchedProviders()
[all …]
DPasspointMatch.java3 public enum PasspointMatch { enum
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp911 "com.android.server.wifi.hotspot2.PasspointMatch",
912 "com.android.server.wifi.hotspot2.PasspointMatch$*",
913 "com.android.server.wifi.hotspot2.PasspointMatch.**",
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java86 import com.android.server.wifi.hotspot2.PasspointMatch;
4194 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = null; in incrementAvailableNetworksHistograms()
4261 for (Pair<PasspointProvider, PasspointMatch> passpointProvider : in incrementAvailableNetworksHistograms()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java112 import com.android.server.wifi.hotspot2.PasspointMatch;
651 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = new ArrayList<>(); in buildMockScanDetail()