Home
last modified time | relevance | path

Searched refs:PasspointConfiguration (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java148 private static PasspointConfiguration createConfig() { in createConfig()
149 PasspointConfiguration config = new PasspointConfiguration(); in createConfig()
183 private static void verifyParcel(PasspointConfiguration writeConfig) throws Exception { in verifyParcel()
188 PasspointConfiguration readConfig = in verifyParcel()
189 PasspointConfiguration.CREATOR.createFromParcel(parcel); in verifyParcel()
200 verifyParcel(new PasspointConfiguration()); in verifyParcelWithDefault()
220 PasspointConfiguration config = createConfig(); in verifyParcelWithoutServiceNames()
232 PasspointConfiguration config = createConfig(); in verifyParcelWithoutHomeSP()
244 PasspointConfiguration config = createConfig(); in verifyParcelWithoutCredential()
256 PasspointConfiguration config = createConfig(); in verifyParcelWithoutPolicy()
[all …]
DConfigParserTest.java83 private PasspointConfiguration generateConfigurationFromProfile() { in generateConfigurationFromProfile()
84 PasspointConfiguration config = new PasspointConfiguration(); in generateConfigurationFromProfile()
125 PasspointConfiguration expectedConfig = generateConfigurationFromProfile(); in parseConfigFile()
126 PasspointConfiguration actualConfig = in parseConfigFile()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java30 import android.net.wifi.hotspot2.PasspointConfiguration;
127 private PasspointProvider createProvider(PasspointConfiguration config) { in createProvider()
139 private void verifyInstalledConfig(PasspointConfiguration expectedConfig, boolean equals) { in verifyInstalledConfig()
140 PasspointConfiguration actualConfig = mProvider.getConfig(); in verifyInstalledConfig()
210 PasspointConfiguration config = new PasspointConfiguration(); in verifyModifyOriginalConfig()
235 PasspointConfiguration config = new PasspointConfiguration(); in verifyModifyRetrievedConfig()
247 PasspointConfiguration retrievedConfig = mProvider.getConfig(); in verifyModifyRetrievedConfig()
260 PasspointConfiguration config = new PasspointConfiguration(); in installCertsAndKeysSuccess()
292 PasspointConfiguration curConfig = mProvider.getConfig(); in installCertsAndKeysSuccess()
312 PasspointConfiguration config = new PasspointConfiguration(); in installCertsAndKeysFailure()
[all …]
DPasspointXmlUtilsTest.java22 import android.net.wifi.hotspot2.PasspointConfiguration;
62 private PasspointConfiguration createFullPasspointConfiguration() throws Exception { in createFullPasspointConfiguration()
67 PasspointConfiguration config = new PasspointConfiguration(); in createFullPasspointConfiguration()
187 private void serializeAndDeserializePasspointConfiguration(PasspointConfiguration testConfig) in serializeAndDeserializePasspointConfiguration()
200 PasspointConfiguration deserializedConfig = in serializeAndDeserializePasspointConfiguration()
224 serializeAndDeserializePasspointConfiguration(new PasspointConfiguration()); in serializeAndDeserializeEmptyPasspointConfiguration()
DPasspointManagerTest.java57 import android.net.wifi.hotspot2.PasspointConfiguration;
234 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig()
235 List<PasspointConfiguration> installedConfigs = mManager.getProviderConfigs(); in verifyInstalledConfig()
246 private PasspointProvider createMockProvider(PasspointConfiguration config) { in createMockProvider()
258 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential()
260 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithUserCredential()
288 private PasspointConfiguration createTestConfigWithSimCredential(String fqdn, String imsi, in createTestConfigWithSimCredential()
290 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithSimCredential()
313 PasspointConfiguration config = createTestConfigWithUserCredential(fqdn, friendlyName); in addTestProvider()
330 PasspointConfiguration config = createTestConfigWithSimCredential(fqdn, imsi, realm); in addTestCarrierProvider()
[all …]
DPasspointConfigUserStoreDataTest.java22 import android.net.wifi.hotspot2.PasspointConfiguration;
91 private PasspointConfiguration createFullPasspointConfiguration() throws Exception { in createFullPasspointConfiguration()
96 PasspointConfiguration config = new PasspointConfiguration(); in createFullPasspointConfiguration()
DPasspointNetworkEvaluatorTest.java38 import android.net.wifi.hotspot2.PasspointConfiguration;
84 @Mock PasspointConfiguration mPasspointConfiguration;
115 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in generateProvider()
DPasspointProvisionerTest.java50 import android.net.wifi.hotspot2.PasspointConfiguration;
194 @Mock PasspointConfiguration mPasspointConfiguration;
916 mWifiManager).addOrUpdatePasspointConfiguration(any(PasspointConfiguration.class)); in verifyHandlingErrorForAddingPasspointConfiguration()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java45 public final class PasspointConfiguration implements Parcelable { class
375 public PasspointConfiguration() {} in PasspointConfiguration() method in PasspointConfiguration
382 public PasspointConfiguration(PasspointConfiguration source) { in PasspointConfiguration() method in PasspointConfiguration
446 if (!(thatObject instanceof PasspointConfiguration)) { in equals()
449 PasspointConfiguration that = (PasspointConfiguration) thatObject; in equals()
603 public static final @android.annotation.NonNull Creator<PasspointConfiguration> CREATOR =
604 new Creator<PasspointConfiguration>() {
606 public PasspointConfiguration createFromParcel(Parcel in) {
607 PasspointConfiguration config = new PasspointConfiguration();
630 public PasspointConfiguration[] newArray(int size) {
[all …]
DPasspointConfiguration.aidl19 parcelable PasspointConfiguration;
DConfigParser.java139 public static PasspointConfiguration parsePasspointConfig(String mimeType, byte[] data) { in parsePasspointConfig()
168 private static PasspointConfiguration createPasspointConfig(Map<String, byte[]> mimeParts) in createPasspointConfig()
175 PasspointConfiguration config = PpsMoParser.parseMoText(new String(profileData)); in createPasspointConfig()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiSavedConfigUtils.java21 import android.net.wifi.hotspot2.PasspointConfiguration;
56 List<PasspointConfiguration> savedPasspointConfigs = in getAllConfigs()
59 for (PasspointConfiguration config : savedPasspointConfigs) { in getAllConfigs()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java22 import android.net.wifi.hotspot2.PasspointConfiguration;
88 private PasspointConfiguration generateConfigurationFromPPSMOTree() throws Exception { in generateConfigurationFromPPSMOTree()
93 PasspointConfiguration config = new PasspointConfiguration(); in generateConfigurationFromPPSMOTree()
210 PasspointConfiguration expectedConfig = generateConfigurationFromPPSMOTree(); in parseValidPPSMOTree()
211 PasspointConfiguration actualConfig = PpsMoParser.parseMoText(ppsMoTree); in parseValidPPSMOTree()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java23 import android.net.wifi.hotspot2.PasspointConfiguration;
72 private final PasspointConfiguration mConfig;
105 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
111 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
118 mConfig = new PasspointConfiguration(config); in PasspointProvider()
151 public PasspointConfiguration getConfig() { in getConfig()
153 return new PasspointConfiguration(mConfig); in getConfig()
430 public static PasspointConfiguration convertFromWifiConfig(WifiConfiguration wifiConfig) { in convertFromWifiConfig()
431 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig()
563 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork()
DPasspointManager.java33 import android.net.wifi.hotspot2.PasspointConfiguration;
354 public boolean addOrUpdateProvider(PasspointConfiguration config, int uid, String packageName) { in addOrUpdateProvider()
485 public PasspointConfiguration createEphemeralPasspointConfigForCarrier(int eapMethod) { in createEphemeralPasspointConfigForCarrier()
504 PasspointConfiguration config = new PasspointConfiguration(); in createEphemeralPasspointConfigForCarrier()
543 PasspointConfiguration installedConfig = provider.getValue().getConfig(); in hasCarrierProvider()
574 public boolean installEphemeralPasspointConfigForCarrier(PasspointConfiguration config) { in installEphemeralPasspointConfigForCarrier()
668 public List<PasspointConfiguration> getProviderConfigs() { in getProviderConfigs()
669 List<PasspointConfiguration> configs = new ArrayList<>(); in getProviderConfigs()
968 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
970 Map<OsuProvider, PasspointConfiguration> matchingPasspointConfigs = new HashMap<>(); in getMatchingPasspointConfigsForOsuProviders()
[all …]
DPasspointObjectFactory.java20 import android.net.wifi.hotspot2.PasspointConfiguration;
60 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider()
DPasspointXmlUtils.java19 import android.net.wifi.hotspot2.PasspointConfiguration;
123 PasspointConfiguration config) throws XmlPullParserException, IOException { in serializePasspointConfiguration()
160 public static PasspointConfiguration deserializePasspointConfiguration(XmlPullParser in, in deserializePasspointConfiguration()
162 PasspointConfiguration config = new PasspointConfiguration(); in deserializePasspointConfiguration()
DPasspointConfigUserStoreData.java19 import android.net.wifi.hotspot2.PasspointConfiguration;
276 PasspointConfiguration config = null; in deserializeProvider()
DPasspointNetworkEvaluator.java24 import android.net.wifi.hotspot2.PasspointConfiguration;
206 PasspointConfiguration carrierConfig = in createEphemeralProfileForMatchingAp()
DPasspointProvisioner.java28 import android.net.wifi.hotspot2.PasspointConfiguration;
186 private PasspointConfiguration mPasspointConfiguration;
863 private PasspointConfiguration buildPasspointConfiguration(@NonNull PpsMoData moData) { in buildPasspointConfiguration()
866 PasspointConfiguration passpointConfiguration = PpsMoParser.parseMoText(moTree); in buildPasspointConfiguration()
888 private void retrieveTrustRootCerts(@NonNull PasspointConfiguration passpointConfig) { in retrieveTrustRootCerts()
/frameworks/base/wifi/java/com/android/server/wifi/
DBaseWifiService.java37 import android.net.wifi.hotspot2.PasspointConfiguration;
105 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
117 PasspointConfiguration config, String packageName) { in addOrUpdatePasspointConfiguration()
127 public List<PasspointConfiguration> getPasspointConfigurations(String packageName) { in getPasspointConfigurations()
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl22 import android.net.wifi.hotspot2.PasspointConfiguration;
74 boolean addOrUpdatePasspointConfiguration(in PasspointConfiguration config, String packageName); in addOrUpdatePasspointConfiguration()
78 List<PasspointConfiguration> getPasspointConfigurations(in String packageName); in getPasspointConfigurations()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java19 import android.net.wifi.hotspot2.PasspointConfiguration;
340 public static PasspointConfiguration parseMoText(String xmlString) { in parseMoText()
360 PasspointConfiguration config = null; in parseMoText()
412 private static PasspointConfiguration parsePpsNode(XMLNode node) in parsePpsNode()
414 PasspointConfiguration config = null; in parsePpsNode()
604 private static PasspointConfiguration parsePpsInstance(PPSNode root) in parsePpsInstance()
610 PasspointConfiguration config = new PasspointConfiguration(); in parsePpsInstance()
1512 private static void parseSubscriptionParameter(PPSNode node, PasspointConfiguration config) in parseSubscriptionParameter()
1547 private static void parseUsageLimits(PPSNode node, PasspointConfiguration config) in parseUsageLimits()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java48 import android.net.wifi.hotspot2.PasspointConfiguration;
290 PasspointConfiguration config = new PasspointConfiguration();
1283 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetKey_matchesKeysCorrectly()
1468 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_connectsAfterProvisioning()
1473 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_connectsAfterProvisioning()
1502 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
1507 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java80 import android.net.wifi.hotspot2.PasspointConfiguration;
1960 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
2036 PasspointConfiguration passpointConfig = in addOrUpdateNetwork()
2270 PasspointConfiguration config, String packageName) { in addOrUpdatePasspointConfiguration()
2314 public List<PasspointConfiguration> getPasspointConfigurations(String packageName) { in getPasspointConfigurations()
2957 List<PasspointConfiguration> configs = mClientModeImpl.syncGetPasspointConfigs( in factoryReset()
2960 for (PasspointConfiguration config : configs) { in factoryReset()

12