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() 513 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWithNAIRealmMismatch() 544 assertEquals(PasspointMatch.HomeProvider, in matchFQDNWith3GPPNetworkDomainName() 587 assertEquals(PasspointMatch.HomeProvider, in matchFQDNOverRoamingProvider() 619 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithoutNAIRealm() 657 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithNAIRealmMatch() 694 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumWithNAIRealmMisMatch() 727 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithoutNAIRealm() 766 assertEquals(PasspointMatch.RoamingProvider, in matchRoamingConsortiumIeWithNAIRealmMatch() [all …]
|
D | PasspointManagerTest.java | 872 .thenReturn(PasspointMatch.HomeProvider); in matchProviderAsHomeProvider() 873 Pair<PasspointProvider, PasspointMatch> result = in matchProviderAsHomeProvider() 875 assertEquals(PasspointMatch.HomeProvider, result.second); in matchProviderAsHomeProvider() 891 .thenReturn(PasspointMatch.RoamingProvider); in matchProviderAsRoamingProvider() 892 Pair<PasspointProvider, PasspointMatch> result = in matchProviderAsRoamingProvider() 894 assertEquals(PasspointMatch.RoamingProvider, result.second); in matchProviderAsRoamingProvider() 910 .thenReturn(PasspointMatch.None); in matchProviderWithNoMatch() 982 .thenReturn(PasspointMatch.HomeProvider); in getAllMatchingFqdnsForScanResults() 984 .thenReturn(PasspointMatch.RoamingProvider); in getAllMatchingFqdnsForScanResults() 986 .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() 272 PasspointMatch match = candidate.mMatchStatus; in findBestNetwork() 276 int score = PasspointNetworkScore.calculateScore(match == PasspointMatch.HomeProvider, in findBestNetwork()
|
D | PasspointProvider.java | 334 public PasspointMatch match(Map<ANQPElementType, ANQPElement> anqpElements, in match() 338 PasspointMatch providerMatch = matchFqdnAndRcoi(anqpElements, roamingConsortiumFromAp); in match() 341 if (providerMatch == PasspointMatch.None && ANQPMatcher.matchThreeGPPNetwork( in match() 348 return PasspointMatch.RoamingProvider; in match() 370 if (providerMatch == PasspointMatch.None) { in match() 371 providerMatch = PasspointMatch.RoamingProvider; in match() 645 private PasspointMatch matchFqdnAndRcoi( in matchFqdnAndRcoi() 656 return PasspointMatch.HomeProvider; in matchFqdnAndRcoi() 669 return PasspointMatch.HomeProvider; in matchFqdnAndRcoi() 684 return PasspointMatch.HomeProvider; in matchFqdnAndRcoi() [all …]
|
D | PasspointManager.java | 746 public Pair<PasspointProvider, PasspointMatch> matchProvider(ScanResult scanResult) { in matchProvider() 747 List<Pair<PasspointProvider, PasspointMatch>> allMatches = getAllMatchedProviders( in matchProvider() 752 Pair<PasspointProvider, PasspointMatch> bestMatch = null; in matchProvider() 753 for (Pair<PasspointProvider, PasspointMatch> match : allMatches) { in matchProvider() 754 if (match.second == PasspointMatch.HomeProvider) { in matchProvider() 758 if (match.second == PasspointMatch.RoamingProvider && bestMatch == null) { in matchProvider() 765 bestMatch.second == PasspointMatch.HomeProvider ? "Home Provider" in matchProvider() 781 public List<Pair<PasspointProvider, PasspointMatch>> getAllMatchedProviders( in getAllMatchedProviders() 783 List<Pair<PasspointProvider, PasspointMatch>> allMatches = new ArrayList<>(); in getAllMatchedProviders() 812 PasspointMatch matchStatus = provider.match(anqpEntry.getElements(), in getAllMatchedProviders() [all …]
|
D | PasspointMatch.java | 3 public enum PasspointMatch { enum
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 83 import com.android.server.wifi.hotspot2.PasspointMatch; 465 Pair<PasspointProvider, PasspointMatch> providerMatch = Pair.create(provider, null); in buildMockScanDetail()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 55 import com.android.server.wifi.hotspot2.PasspointMatch; 2206 Pair<PasspointProvider, PasspointMatch> providerMatch = null; in incrementAvailableNetworksHistograms()
|