Searched refs:PasspointMatch (Results 1 – 9 of 9) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluatorTest.java | 214 Pair<PasspointProvider, PasspointMatch> homeProvider = Pair.create( in evaluateScansWithNetworkMatchingHomeProvider() 215 TEST_PROVIDER1, PasspointMatch.HomeProvider); in evaluateScansWithNetworkMatchingHomeProvider() 257 Pair<PasspointProvider, PasspointMatch> roamingProvider = Pair.create( in evaluateScansWithNetworkMatchingRoamingProvider() 258 TEST_PROVIDER1, PasspointMatch.RoamingProvider); in evaluateScansWithNetworkMatchingRoamingProvider() 300 Pair<PasspointProvider, PasspointMatch> homeProvider = Pair.create( in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork() 301 TEST_PROVIDER1, PasspointMatch.HomeProvider); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork() 302 Pair<PasspointProvider, PasspointMatch> roamingProvider = Pair.create( in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork() 303 TEST_PROVIDER2, PasspointMatch.RoamingProvider); in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork() 345 Pair<PasspointProvider, PasspointMatch> homeProvider = Pair.create( in evaluateScansWithActiveNetworkMatchingHomeProvider() 346 TEST_PROVIDER1, PasspointMatch.HomeProvider); in evaluateScansWithActiveNetworkMatchingHomeProvider() [all …]
|
D | PasspointProviderTest.java | 440 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithoutNAIRealm() 476 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithNAIRealmMatch() 512 assertEquals(PasspointMatch.None, mProvider.match(anqpElementMap, mRoamingConsortium)); in matchFQDNWithNAIRealmMismatch() 542 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWith3GPPNetworkDomainName() 585 assertEquals(PasspointMatch.HomeProvider, in matchFQDNOverRoamingProvider() 617 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithoutNAIRealm() 655 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithNAIRealmMatch() 692 assertEquals(PasspointMatch.None, in matchRoamingConsortiumWithNAIRealmMisMatch() 725 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithoutNAIRealm() 764 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithNAIRealmMatch() [all …]
|
D | PasspointManagerTest.java | 870 .thenReturn(PasspointMatch.HomeProvider); in matchProviderAsHomeProvider() 871 Pair<PasspointProvider, PasspointMatch> result = in matchProviderAsHomeProvider() 873 assertEquals(PasspointMatch.HomeProvider, result.second); in matchProviderAsHomeProvider() 889 .thenReturn(PasspointMatch.RoamingProvider); in matchProviderAsRoamingProvider() 890 Pair<PasspointProvider, PasspointMatch> result = in matchProviderAsRoamingProvider() 892 assertEquals(PasspointMatch.RoamingProvider, result.second); in matchProviderAsRoamingProvider() 908 .thenReturn(PasspointMatch.None); in matchProviderWithNoMatch() 980 .thenReturn(PasspointMatch.HomeProvider); in getAllMatchingFqdnsForScanResults() 982 .thenReturn(PasspointMatch.RoamingProvider); in getAllMatchingFqdnsForScanResults() 984 .thenReturn(PasspointMatch.None); in getAllMatchingFqdnsForScanResults()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 63 PasspointNetworkCandidate(PasspointProvider provider, PasspointMatch matchStatus, in PasspointNetworkCandidate() 70 PasspointMatch mMatchStatus; 135 Pair<PasspointProvider, PasspointMatch> bestProvider = in evaluateNetworks() 225 if (networkInfo.mMatchStatus == PasspointMatch.HomeProvider) { in createWifiConfigForProvider() 276 PasspointMatch match = candidate.mMatchStatus; in findBestNetwork() 280 int score = PasspointNetworkScore.calculateScore(match == PasspointMatch.HomeProvider, in findBestNetwork()
|
D | PasspointProvider.java | 333 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements, in match() 335 PasspointMatch providerMatch = matchProviderExceptFor3GPP(anqpElements, roamingConsortium); in match() 338 if (providerMatch == PasspointMatch.None && ANQPMatcher.matchThreeGPPNetwork( in match() 341 return PasspointMatch.RoamingProvider; in match() 351 return PasspointMatch.None; in match() 361 return providerMatch == PasspointMatch.None ? PasspointMatch.RoamingProvider in match() 579 private PasspointMatch matchProviderExceptFor3GPP( in matchProviderExceptFor3GPP() 586 return PasspointMatch.HomeProvider; in matchProviderExceptFor3GPP() 594 return PasspointMatch.RoamingProvider; in matchProviderExceptFor3GPP() 603 return PasspointMatch.RoamingProvider; in matchProviderExceptFor3GPP() [all …]
|
D | PasspointManager.java | 728 public Pair<PasspointProvider, PasspointMatch> matchProvider(ScanResult scanResult) { in matchProvider() 729 List<Pair<PasspointProvider, PasspointMatch>> allMatches = getAllMatchedProviders( in matchProvider() 734 Pair<PasspointProvider, PasspointMatch> bestMatch = null; in matchProvider() 735 for (Pair<PasspointProvider, PasspointMatch> match : allMatches) { in matchProvider() 736 if (match.second == PasspointMatch.HomeProvider) { in matchProvider() 740 if (match.second == PasspointMatch.RoamingProvider && bestMatch == null) { in matchProvider() 747 bestMatch.second == PasspointMatch.HomeProvider ? "Home Provider" in matchProvider() 763 public List<Pair<PasspointProvider, PasspointMatch>> getAllMatchedProviders( in getAllMatchedProviders() 765 List<Pair<PasspointProvider, PasspointMatch>> allMatches = new ArrayList<>(); in getAllMatchedProviders() 794 PasspointMatch matchStatus = provider.match(anqpEntry.getElements(), in getAllMatchedProviders() [all …]
|
D | PasspointMatch.java | 3 public enum PasspointMatch { enum
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 55 import com.android.server.wifi.hotspot2.PasspointMatch; 2101 Pair<PasspointProvider, PasspointMatch> providerMatch = null; in incrementAvailableNetworksHistograms()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 83 import com.android.server.wifi.hotspot2.PasspointMatch; 467 Pair<PasspointProvider, PasspointMatch> providerMatch = Pair.create(provider, null); in buildMockScanDetail()
|