Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointConfigUserStoreData.java88 List<PasspointProvider> getProviders(); in getProviders()
95 void setProviders(List<PasspointProvider> providers); in setProviders()
126 mDataSource.setProviders(new ArrayList<PasspointProvider>()); in resetData()
165 private void serializeProviderList(XmlSerializer out, List<PasspointProvider> providerList) in serializeProviderList()
171 for (PasspointProvider provider : providerList) { in serializeProviderList()
188 private void serializeProvider(XmlSerializer out, PasspointProvider provider) in serializeProvider()
245 private List<PasspointProvider> deserializeProviderList(XmlPullParser in, int outerTagDepth) in deserializeProviderList()
247 List<PasspointProvider> providerList = new ArrayList<>(); in deserializeProviderList()
264 private PasspointProvider deserializeProvider(XmlPullParser in, int outerTagDepth) in deserializeProvider()
340 return new PasspointProvider(config, mKeyStore, mSimAccessor, providerId, creatorUid, in deserializeProvider()
DPasspointManager.java123 private final Map<String, PasspointProvider> mProviders;
208 public List<PasspointProvider> getProviders() { in getProviders()
209 List<PasspointProvider> providers = new ArrayList<>(); in getProviders()
210 for (Map.Entry<String, PasspointProvider> entry : mProviders.entrySet()) { in getProviders()
217 public void setProviders(List<PasspointProvider> providers) { in setProviders()
219 for (PasspointProvider provider : providers) { in setProviders()
288 for (Map.Entry<String, PasspointProvider> entry : getPasspointProviderWithPackage( in removePasspointProviderWithPackage()
296 private Map<String, PasspointProvider> getPasspointProviderWithPackage( in getPasspointProviderWithPackage()
422 PasspointProvider newProvider = mObjectFactory.makePasspointProvider( in addOrUpdateProvider()
581 for (Map.Entry<String, PasspointProvider> provider : mProviders.entrySet()) { in hasCarrierProvider()
[all …]
DPasspointObjectFactory.java60 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider()
63 return new PasspointProvider(config, keyStore, simAccessor, providerId, creatorUid, in makePasspointProvider()
DPasspointNetworkEvaluator.java63 PasspointNetworkCandidate(PasspointProvider provider, PasspointMatch matchStatus, in PasspointNetworkCandidate()
69 PasspointProvider mProvider;
135 Pair<PasspointProvider, PasspointMatch> bestProvider = in evaluateNetworks()
DPasspointProvider.java61 public class PasspointProvider { class
105 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() method in PasspointProvider
111 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() method in PasspointProvider
491 if (!(thatObject instanceof PasspointProvider)) { in equals()
494 PasspointProvider that = (PasspointProvider) thatObject; in equals()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java80 private static final PasspointProvider TEST_PROVIDER1 = generateProvider(TEST_CONFIG1);
81 private static final PasspointProvider TEST_PROVIDER2 = generateProvider(TEST_CONFIG2);
113 private static PasspointProvider generateProvider(WifiConfiguration config) { in generateProvider()
114 PasspointProvider provider = mock(PasspointProvider.class); in generateProvider()
214 Pair<PasspointProvider, PasspointMatch> homeProvider = Pair.create( in evaluateScansWithNetworkMatchingHomeProvider()
257 Pair<PasspointProvider, PasspointMatch> roamingProvider = Pair.create( in evaluateScansWithNetworkMatchingRoamingProvider()
300 Pair<PasspointProvider, PasspointMatch> homeProvider = Pair.create( in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork()
302 Pair<PasspointProvider, PasspointMatch> roamingProvider = Pair.create( in evaluateScansWithHomeProviderNewtorkAndRoamingProviderNetwork()
345 Pair<PasspointProvider, PasspointMatch> homeProvider = Pair.create( in evaluateScansWithActiveNetworkMatchingHomeProvider()
383 PasspointProvider testProvider = mock(PasspointProvider.class); in evaluateScanMatchingSIMProviderWithoutSIMCard()
[all …]
DPasspointManagerTest.java282 private PasspointProvider createMockProvider(PasspointConfiguration config) { in createMockProvider()
283 PasspointProvider provider = mock(PasspointProvider.class); in createMockProvider()
347 private PasspointProvider addTestProvider(String fqdn, String friendlyName, in addTestProvider()
350 PasspointProvider provider = createMockProvider(config); in addTestProvider()
365 private PasspointProvider addTestCarrierProvider(String fqdn, String imsi, String realm) { in addTestCarrierProvider()
367 PasspointProvider provider = createMockProvider(config); in addTestCarrierProvider()
632 PasspointProvider provider = createMockProvider(config); in addRemoveProviderWithValidUserCredential()
648 List<PasspointProvider> providers = mUserDataSource.getProviders(); in addRemoveProviderWithValidUserCredential()
678 PasspointProvider provider = createMockProvider(config); in addRemoveProviderWithValidSimCredential()
691 List<PasspointProvider> providers = mUserDataSource.getProviders(); in addRemoveProviderWithValidSimCredential()
[all …]
DPasspointConfigUserStoreDataTest.java243 List<PasspointProvider> providerList = new ArrayList<>(); in serializeAndDeserializeUserStoreData()
244 providerList.add(new PasspointProvider(createFullPasspointConfiguration(), in serializeAndDeserializeUserStoreData()
248 providerList.add(new PasspointProvider(createFullPasspointConfiguration(), in serializeAndDeserializeUserStoreData()
DPasspointProviderTest.java96 PasspointProvider mProvider;
127 private PasspointProvider createProvider(PasspointConfiguration config) { in createProvider()
128 return new PasspointProvider(config, mKeyStore, mSimAccessor, PROVIDER_ID, CREATOR_UID, in createProvider()
1185 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithUserCredential()
1227 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithSimCredential()
1266 assertEquals(passpointConfig, PasspointProvider.convertFromWifiConfig(wifiConfig)); in convertFromWifiConfigWithCertCredential()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMetricsTest.java84 import com.android.server.wifi.hotspot2.PasspointProvider;
466 PasspointProvider provider = mock(PasspointProvider.class); in buildMockScanDetail()
467 Pair<PasspointProvider, PasspointMatch> providerMatch = Pair.create(provider, null); in buildMockScanDetail()
538 private PasspointProvider createMockProvider(int eapType, boolean validateForR2) { in createMockProvider()
539 PasspointProvider provider = mock(PasspointProvider.class); in createMockProvider()
568 Map<String, PasspointProvider> providers = new HashMap<>(); in setAndIncrementMetrics()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiMetrics.java56 import com.android.server.wifi.hotspot2.PasspointProvider;
2083 Set<PasspointProvider> savedPasspointProviderProfiles = in incrementAvailableNetworksHistograms()
2084 new HashSet<PasspointProvider>(); in incrementAvailableNetworksHistograms()
2101 Pair<PasspointProvider, PasspointMatch> providerMatch = null; in incrementAvailableNetworksHistograms()
2102 PasspointProvider passpointProvider = null; in incrementAvailableNetworksHistograms()
2923 Map<String, PasspointProvider> providers) { in updateSavedPasspointProfilesInfo()
2930 for (Map.Entry<String, PasspointProvider> entry : providers.entrySet()) { in updateSavedPasspointProfilesInfo()
DWifiServiceImpl.java114 import com.android.server.wifi.hotspot2.PasspointProvider;
2037 PasspointProvider.convertFromWifiConfig(config); in addOrUpdateNetwork()