/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointManager.java | 127 private final Map<String, PasspointProvider> mProviders; 207 public List<PasspointProvider> getProviders() { in getProviders() 208 List<PasspointProvider> providers = new ArrayList<>(); in getProviders() 209 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getProviders() 216 public void setProviders(List<PasspointProvider> providers) { in setProviders() 218 for (PasspointProvider provider : providers) { in setProviders() 316 PasspointProvider provider = mProviders.get(config.getProfileKey()); in onUserConnectChoiceSet() 321 PasspointProvider provider = mProviders.get(choiceKey); in onUserConnectChoiceSet() 335 for (PasspointProvider provider : getPasspointProviderWithPackage(packageName)) { in removePasspointProviderWithPackage() 341 private List<PasspointProvider> getPasspointProviderWithPackage( in getPasspointProviderWithPackage() [all …]
|
D | PasspointConfigUserStoreData.java | 97 List<PasspointProvider> getProviders(); in getProviders() 104 void setProviders(List<PasspointProvider> providers); in setProviders() 139 mDataSource.setProviders(new ArrayList<PasspointProvider>()); in resetData() 178 private void serializeProviderList(XmlSerializer out, List<PasspointProvider> providerList) in serializeProviderList() 184 for (PasspointProvider provider : providerList) { in serializeProviderList() 198 private void serializeProvider(XmlSerializer out, PasspointProvider provider) in serializeProvider() 258 private List<PasspointProvider> deserializeProviderList(XmlPullParser in, int outerTagDepth) in deserializeProviderList() 260 List<PasspointProvider> providerList = new ArrayList<>(); in deserializeProviderList() 277 private PasspointProvider deserializeProvider(XmlPullParser in, int outerTagDepth) in deserializeProvider() 372 PasspointProvider provider = new PasspointProvider(config, mKeyStore, in deserializeProvider()
|
D | PasspointNetworkNominateHelper.java | 74 PasspointNetworkCandidate(PasspointProvider provider, PasspointMatch matchStatus, in PasspointNetworkCandidate() 80 PasspointProvider mProvider; 190 Map<PasspointProvider, List<PasspointNetworkCandidate>> candidatesPerProvider = in updateBestMatchScanDetailForProviders() 231 Map<PasspointProvider, List<PasspointNetworkCandidate>> candidatesPerProvider = in findBestMatchScanDetailForProviders() 235 for (Map.Entry<PasspointProvider, List<PasspointNetworkCandidate>> candidates : in findBestMatchScanDetailForProviders() 259 private Map<PasspointProvider, List<PasspointNetworkCandidate>> 262 Map<PasspointProvider, List<PasspointNetworkCandidate>> candidatesPerProvider = in getMatchedCandidateGroupByProvider() 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()
|
D | PasspointProvider.java | 77 public class PasspointProvider { class 139 public static class ConnectionTimeComparator implements Comparator<PasspointProvider> { 140 public int compare(PasspointProvider a, PasspointProvider b) { in compare() 146 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() method in PasspointProvider 153 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() method in PasspointProvider 726 if (!(thatObject instanceof PasspointProvider)) { in equals() 729 PasspointProvider that = (PasspointProvider) thatObject; in equals()
|
D | PasspointObjectFactory.java | 67 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider() 70 return new PasspointProvider(config, keyStore, wifiCarrierInfoManager, providerId, in makePasspointProvider()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 338 private PasspointProvider createMockProvider(PasspointConfiguration config) { in createMockProvider() 351 private PasspointProvider createMockProvider( in createMockProvider() 353 PasspointProvider provider = mock(PasspointProvider.class); in createMockProvider() 421 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider() 438 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider() 451 PasspointProvider provider = createMockProvider(config, wifiConfig, isSuggestion); in addTestProvider() 619 PasspointProvider provider = createMockProvider(config); in addProviderWithBackgroundUser() 640 PasspointProvider provider = createMockProvider(config); in addRemoveSavedProviderWithValidUserCredential() 656 List<PasspointProvider> providers = mUserDataSource.getProviders(); in addRemoveSavedProviderWithValidUserCredential() 722 private void verifyEnableAutojoin(PasspointProvider provider, boolean useFqdn) { in verifyEnableAutojoin() [all …]
|
D | PasspointNetworkNominateHelperTest.java | 95 private static PasspointProvider sTestProvider1; 96 private static PasspointProvider sTestProvider2; 128 private static PasspointProvider generateProvider(WifiConfiguration config) { in generateProvider() 129 PasspointProvider provider = mock(PasspointProvider.class); in generateProvider() 242 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingHomeProvider() 297 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNoInternetBit() 339 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingRoamingProvider() 384 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 386 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork() 421 PasspointProvider testProvider = generateProvider(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() [all …]
|
D | PasspointConfigUserStoreDataTest.java | 256 List<PasspointProvider> providerList = new ArrayList<>(); in serializeAndDeserializeUserStoreData() 257 PasspointProvider provider1 = new PasspointProvider(createFullPasspointConfiguration(), in serializeAndDeserializeUserStoreData() 262 PasspointProvider provider2 = new PasspointProvider(createFullPasspointConfiguration(), in serializeAndDeserializeUserStoreData() 284 List<PasspointProvider> captured = providersCaptor.getValue(); in serializeAndDeserializeUserStoreData()
|
D | PasspointProviderTest.java | 154 PasspointProvider mProvider; 187 private PasspointProvider createProvider(PasspointConfiguration config) { in createProvider() 188 return new PasspointProvider(config, mKeyStore, mWifiCarrierInfoManager, PROVIDER_ID, in createProvider() 1407 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithUserCredential() 1431 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithSimCredential() 1454 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithCertCredential() 2046 PasspointProvider leastRecentProvider = createProvider(config1); in testConnectionTimeComparator() 2047 PasspointProvider recentProvider = createProvider(config2); in testConnectionTimeComparator() 2048 PasspointProvider mostRecentProvider = createProvider(config3); in testConnectionTimeComparator() 2059 List<PasspointProvider> providerList = in testConnectionTimeComparator() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiMetricsTest.java | 113 import com.android.server.wifi.hotspot2.PasspointProvider; 650 PasspointProvider provider = mock(PasspointProvider.class); in buildMockScanDetail() 651 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = new ArrayList<>(); in buildMockScanDetail() 750 private PasspointProvider createMockProvider(int eapType, boolean validateForR2) { in createMockProvider() 751 PasspointProvider provider = mock(PasspointProvider.class); in createMockProvider() 780 Map<String, PasspointProvider> providers = new HashMap<>(); in setAndIncrementMetrics()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiMetrics.java | 87 import com.android.server.wifi.hotspot2.PasspointProvider; 4174 Set<PasspointProvider> savedPasspointProviderProfiles = in incrementAvailableNetworksHistograms() 4175 new HashSet<PasspointProvider>(); in incrementAvailableNetworksHistograms() 4194 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = null; in incrementAvailableNetworksHistograms() 4261 for (Pair<PasspointProvider, PasspointMatch> passpointProvider : in incrementAvailableNetworksHistograms() 5258 Map<String, PasspointProvider> providers) { in updateSavedPasspointProfilesInfo() 5265 for (Map.Entry<String, PasspointProvider> entry : providers.entrySet()) { in updateSavedPasspointProfilesInfo()
|
D | WifiServiceImpl.java | 214 import com.android.server.wifi.hotspot2.PasspointProvider; 3952 PasspointProvider.convertFromWifiConfig(config); in addOrUpdateNetworkInternal()
|
/packages/modules/Wifi/service/tests/wifitests/ |
D | Android.bp | 920 "com.android.server.wifi.hotspot2.PasspointProvider", 921 "com.android.server.wifi.hotspot2.PasspointProvider$*", 922 "com.android.server.wifi.hotspot2.PasspointProvider.**",
|