Home
last modified time | relevance | path

Searched refs:PasspointProvider (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java125 private final Map<String, PasspointProvider> mProviders;
198 public List<PasspointProvider> getProviders() { in getProviders()
199 List<PasspointProvider> providers = new ArrayList<>(); in getProviders()
200 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getProviders()
207 public void setProviders(List<PasspointProvider> providers) { in setProviders()
209 for (PasspointProvider provider : providers) { in setProviders()
298 PasspointProvider provider = mProviders.get(config.getProfileKey()); in onUserConnectChoiceSet()
303 PasspointProvider provider = mProviders.get(choiceKey); in onUserConnectChoiceSet()
317 for (Map.Entry<String, PasspointProvider> entry : getPasspointProviderWithPackage( in removePasspointProviderWithPackage()
324 private Map<String, PasspointProvider> getPasspointProviderWithPackage( in getPasspointProviderWithPackage()
[all …]
DPasspointConfigUserStoreData.java96 List<PasspointProvider> getProviders(); in getProviders()
103 void setProviders(List<PasspointProvider> providers); in setProviders()
138 mDataSource.setProviders(new ArrayList<PasspointProvider>()); in resetData()
177 private void serializeProviderList(XmlSerializer out, List<PasspointProvider> providerList) in serializeProviderList()
183 for (PasspointProvider provider : providerList) { in serializeProviderList()
197 private void serializeProvider(XmlSerializer out, PasspointProvider provider) in serializeProvider()
256 private List<PasspointProvider> deserializeProviderList(XmlPullParser in, int outerTagDepth) in deserializeProviderList()
258 List<PasspointProvider> providerList = new ArrayList<>(); in deserializeProviderList()
275 private PasspointProvider deserializeProvider(XmlPullParser in, int outerTagDepth) in deserializeProvider()
366 PasspointProvider provider = new PasspointProvider(config, mKeyStore, in deserializeProvider()
DPasspointNetworkNominateHelper.java53 PasspointNetworkCandidate(PasspointProvider provider, PasspointMatch matchStatus, in PasspointNetworkCandidate()
59 PasspointProvider mProvider;
141 Map<PasspointProvider, List<PasspointNetworkCandidate>> candidatesPerProvider = in findBestMatchScanDetailForProviders()
145 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = in findBestMatchScanDetailForProviders()
150 for (Pair<PasspointProvider, PasspointMatch> matchedProvider : matchedProviders) { in findBestMatchScanDetailForProviders()
DPasspointObjectFactory.java66 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider()
69 return new PasspointProvider(config, keyStore, wifiCarrierInfoManager, providerId, in makePasspointProvider()
DPasspointProvider.java74 public class PasspointProvider { class
124 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() method in PasspointProvider
131 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() method in PasspointProvider
671 if (!(thatObject instanceof PasspointProvider)) { in equals()
674 PasspointProvider that = (PasspointProvider) thatObject; in equals()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java304 private PasspointProvider createMockProvider(PasspointConfiguration config) { in createMockProvider()
317 private PasspointProvider createMockProvider( in createMockProvider()
319 PasspointProvider provider = mock(PasspointProvider.class); in createMockProvider()
392 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider()
407 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider()
412 PasspointProvider provider = createMockProvider(config, wifiConfig, isSuggestion); in addTestProvider()
578 PasspointProvider provider = createMockProvider(config); in addProviderWithBackgroundUser()
599 PasspointProvider provider = createMockProvider(config); in addRemoveSavedProviderWithValidUserCredential()
615 List<PasspointProvider> providers = mUserDataSource.getProviders(); in addRemoveSavedProviderWithValidUserCredential()
681 private void verifyEnableAutojoin(PasspointProvider provider, boolean useFqdn) { in verifyEnableAutojoin()
[all …]
DPasspointNetworkNominateHelperTest.java88 private static PasspointProvider sTestProvider1;
89 private static PasspointProvider sTestProvider2;
117 private static PasspointProvider generateProvider(WifiConfiguration config) { in generateProvider()
118 PasspointProvider provider = mock(PasspointProvider.class); in generateProvider()
216 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingHomeProvider()
263 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithNoInternetBit()
304 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithNetworkMatchingRoamingProvider()
347 List<Pair<PasspointProvider, PasspointMatch>> homeProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
349 List<Pair<PasspointProvider, PasspointMatch>> roamingProvider = new ArrayList<>(); in evaluateScansWithHomeProviderNetworkAndRoamingProviderNetwork()
384 PasspointProvider testProvider = generateProvider(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
[all …]
DPasspointConfigUserStoreDataTest.java255 List<PasspointProvider> providerList = new ArrayList<>(); in serializeAndDeserializeUserStoreData()
256 PasspointProvider provider1 = new PasspointProvider(createFullPasspointConfiguration(), in serializeAndDeserializeUserStoreData()
261 PasspointProvider provider2 = new PasspointProvider(createFullPasspointConfiguration(), in serializeAndDeserializeUserStoreData()
DPasspointProviderTest.java145 PasspointProvider mProvider;
178 private PasspointProvider createProvider(PasspointConfiguration config) { in createProvider()
179 return new PasspointProvider(config, mKeyStore, mWifiCarrierInfoManager, PROVIDER_ID, in createProvider()
1386 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithUserCredential()
1410 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithSimCredential()
1433 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithCertCredential()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java104 import com.android.server.wifi.hotspot2.PasspointProvider;
618 PasspointProvider provider = mock(PasspointProvider.class); in buildMockScanDetail()
619 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = new ArrayList<>(); in buildMockScanDetail()
717 private PasspointProvider createMockProvider(int eapType, boolean validateForR2) { in createMockProvider()
718 PasspointProvider provider = mock(PasspointProvider.class); in createMockProvider()
747 Map<String, PasspointProvider> providers = new HashMap<>(); in setAndIncrementMetrics()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp615 "com.android.server.wifi.hotspot2.PasspointProvider",
616 "com.android.server.wifi.hotspot2.PasspointProvider$*",
617 "com.android.server.wifi.hotspot2.PasspointProvider.**",
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMetrics.java78 import com.android.server.wifi.hotspot2.PasspointProvider;
3420 Set<PasspointProvider> savedPasspointProviderProfiles = in incrementAvailableNetworksHistograms()
3421 new HashSet<PasspointProvider>(); in incrementAvailableNetworksHistograms()
3440 List<Pair<PasspointProvider, PasspointMatch>> matchedProviders = null; in incrementAvailableNetworksHistograms()
3507 for (Pair<PasspointProvider, PasspointMatch> passpointProvider : in incrementAvailableNetworksHistograms()
4508 Map<String, PasspointProvider> providers) { in updateSavedPasspointProfilesInfo()
4515 for (Map.Entry<String, PasspointProvider> entry : providers.entrySet()) { in updateSavedPasspointProfilesInfo()
DWifiServiceImpl.java137 import com.android.server.wifi.hotspot2.PasspointProvider;
2741 PasspointProvider.convertFromWifiConfig(config); in addOrUpdateNetworkInternal()