Home
last modified time | relevance | path

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

12

/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java20 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_NUMBER_OF_ENTRIES;
21 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_NUMBER_OF_OI;
22 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_STRING_LENGTH;
73 private static void verifyParcel(PasspointConfiguration writeConfig) throws Exception { in verifyParcel()
78 PasspointConfiguration readConfig = in verifyParcel()
79 PasspointConfiguration.CREATOR.createFromParcel(parcel); in verifyParcel()
90 verifyParcel(new PasspointConfiguration()); in verifyParcelWithDefault()
110 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutServiceNames()
122 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutHomeSP()
134 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutCredential()
[all …]
DConfigParserTest.java85 private PasspointConfiguration generateConfigurationFromProfile() { in generateConfigurationFromProfile()
86 PasspointConfiguration config = new PasspointConfiguration(); in generateConfigurationFromProfile()
127 PasspointConfiguration expectedConfig = generateConfigurationFromProfile(); in parseConfigFile()
128 PasspointConfiguration actualConfig = in parseConfigFile()
216 PasspointConfiguration expectedConfig = generateConfigurationFromProfile(); in parseConfigFileWithUpdateIdentifier()
217 PasspointConfiguration actualConfig = in parseConfigFileWithUpdateIdentifier()
DPasspointTestUtils.java137 public static PasspointConfiguration createConfig() { in createConfig()
138 PasspointConfiguration config = new PasspointConfiguration(); in createConfig()
173 public static PasspointConfiguration createR2Config() { in createR2Config()
174 PasspointConfiguration config = createConfig(); in createR2Config()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java33 import android.net.wifi.hotspot2.PasspointConfiguration;
187 private PasspointProvider createProvider(PasspointConfiguration config) { in createProvider()
199 private void verifyInstalledConfig(PasspointConfiguration expectedConfig, boolean equals) { in verifyInstalledConfig()
200 PasspointConfiguration actualConfig = mProvider.getConfig(); in verifyInstalledConfig()
271 private PasspointConfiguration generateTestPasspointConfiguration( in generateTestPasspointConfiguration()
273 PasspointConfiguration config = new PasspointConfiguration(); in generateTestPasspointConfiguration()
332 PasspointConfiguration passpointConfig, WifiConfiguration wifiConfig) { in verifyWifiConfigWithTestData()
480 PasspointConfiguration config = generateTestPasspointConfiguration( in verifyModifyOriginalConfig()
500 PasspointConfiguration config = generateTestPasspointConfiguration( in verifyModifyRetrievedConfig()
507 PasspointConfiguration retrievedConfig = mProvider.getConfig(); in verifyModifyRetrievedConfig()
[all …]
DPasspointXmlUtilsTest.java21 import android.net.wifi.hotspot2.PasspointConfiguration;
69 private PasspointConfiguration createFullPasspointConfiguration() throws Exception { in createFullPasspointConfiguration()
74 PasspointConfiguration config = new PasspointConfiguration(); in createFullPasspointConfiguration()
210 private void serializeAndDeserializePasspointConfiguration(PasspointConfiguration testConfig) in serializeAndDeserializePasspointConfiguration()
223 PasspointConfiguration deserializedConfig = in serializeAndDeserializePasspointConfiguration()
247 serializeAndDeserializePasspointConfiguration(new PasspointConfiguration()); in serializeAndDeserializeEmptyPasspointConfiguration()
265 PasspointConfiguration expectedConfig = new PasspointConfiguration(); in deserializePasspointConfigurationWithUnknownTag()
DPasspointManagerTest.java69 import android.net.wifi.hotspot2.PasspointConfiguration;
331 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig()
332 List<PasspointConfiguration> installedConfigs = in verifyInstalledConfig()
338 private PasspointProvider createMockProvider(PasspointConfiguration config) { in createMockProvider()
352 PasspointConfiguration config, WifiConfiguration wifiConfig, boolean isSuggestion) { in createMockProvider()
368 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential()
379 private PasspointConfiguration createTestConfigWithUserCredentialAndRealm(String fqdn, in createTestConfigWithUserCredentialAndRealm()
381 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithUserCredentialAndRealm()
404 private PasspointConfiguration createTestConfigWithSimCredential(String fqdn, String imsi, in createTestConfigWithSimCredential()
406 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithSimCredential()
[all …]
DPasspointConfigUserStoreDataTest.java29 import android.net.wifi.hotspot2.PasspointConfiguration;
102 private PasspointConfiguration createFullPasspointConfiguration() throws Exception { in createFullPasspointConfiguration()
107 PasspointConfiguration config = new PasspointConfiguration(); in createFullPasspointConfiguration()
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java63 public final class PasspointConfiguration implements Parcelable { class
732 public PasspointConfiguration() {} in PasspointConfiguration() method in PasspointConfiguration
739 public PasspointConfiguration(PasspointConfiguration source) { in PasspointConfiguration() method in PasspointConfiguration
827 if (!(thatObject instanceof PasspointConfiguration)) { in equals()
830 PasspointConfiguration that = (PasspointConfiguration) thatObject; in equals()
1079 public static final @android.annotation.NonNull Creator<PasspointConfiguration> CREATOR =
1080 new Creator<PasspointConfiguration>() {
1082 public PasspointConfiguration createFromParcel(Parcel in) {
1083 PasspointConfiguration config = new PasspointConfiguration();
1119 public PasspointConfiguration[] newArray(int size) {
[all …]
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()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/omadm/
DPpsMoParserTest.java22 import android.net.wifi.hotspot2.PasspointConfiguration;
90 private PasspointConfiguration generateConfigurationFromPPSMOTree() throws Exception { in generateConfigurationFromPPSMOTree()
95 PasspointConfiguration config = new PasspointConfiguration(); in generateConfigurationFromPPSMOTree()
223 PasspointConfiguration expectedConfig = generateConfigurationFromPPSMOTree(); in parseValidPPSMOTree()
224 PasspointConfiguration actualConfig = PpsMoParser.parseMoText(ppsMoTree); in parseValidPPSMOTree()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiNetworkSuggestionTest.java29 import android.net.wifi.hotspot2.PasspointConfiguration;
698 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderForPasspointNetworkWithReqAppInteractionMetered()
743 PasspointConfiguration passpointConfiguration = new PasspointConfiguration(); in testWifiNetworkSuggestionBuilderSetPasspointConfigWithNonValid()
860 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothSsidAndPasspointConfig()
874 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothWpa2PassphraseAndPasspointConfig()
888 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothWpa3PassphraseAndPasspointConfig()
906 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothEnterpriseAndPasspointConfig()
920 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothEnhancedOpenAndPasspointConfig()
934 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothHiddenSsidAndPasspointConfig()
979 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderSetMacRandomizationPasspoint()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DHomeSp.java19 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_HESSID_VALUE;
20 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_NUMBER_OF_ENTRIES;
21 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_NUMBER_OF_OI;
22 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_OI_VALUE;
23 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_STRING_LENGTH;
24 import static android.net.wifi.hotspot2.PasspointConfiguration.MAX_URL_BYTES;
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java19 import android.net.wifi.hotspot2.PasspointConfiguration;
387 public static PasspointConfiguration parseMoText(String xmlString) { in parseMoText()
409 PasspointConfiguration config = null; in parseMoText()
461 private static PasspointConfiguration parsePpsNode(XMLNode node) in parsePpsNode()
463 PasspointConfiguration config = null; in parsePpsNode()
653 private static PasspointConfiguration parsePpsInstance(PPSNode root) in parsePpsInstance()
659 PasspointConfiguration config = new PasspointConfiguration(); in parsePpsInstance()
1562 private static void parseSubscriptionParameter(PPSNode node, PasspointConfiguration config) in parseSubscriptionParameter()
1597 private static void parseUsageLimits(PPSNode node, PasspointConfiguration config) in parseUsageLimits()
1667 PasspointConfiguration config) throws ParsingException { in parseVendorWbaExtensionNai()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java30 import android.net.wifi.hotspot2.PasspointConfiguration;
91 private final PasspointConfiguration mConfig;
146 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
153 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
159 mConfig = new PasspointConfiguration(config); in PasspointProvider()
242 public PasspointConfiguration getConfig() { in getConfig()
244 return new PasspointConfiguration(mConfig); in getConfig()
663 public static PasspointConfiguration convertFromWifiConfig(WifiConfiguration wifiConfig) { in convertFromWifiConfig()
664 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig()
825 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork()
DPasspointObjectFactory.java20 import android.net.wifi.hotspot2.PasspointConfiguration;
67 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider()
DPasspointManager.java38 import android.net.wifi.hotspot2.PasspointConfiguration;
482 public boolean addOrUpdateProvider(PasspointConfiguration config, int uid, in addOrUpdateProvider()
827 public List<PasspointConfiguration> getProviderConfigs(int callingUid, in getProviderConfigs()
829 List<PasspointConfiguration> configs = new ArrayList<>(); in getProviderConfigs()
1154 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
1156 Map<OsuProvider, PasspointConfiguration> matchingPasspointConfigs = new HashMap<>(); in getMatchingPasspointConfigsForOsuProviders()
1162 PasspointConfiguration passpointConfiguration = provider.getConfig(); in getMatchingPasspointConfigsForOsuProviders()
1357 PasspointConfiguration passpointConfig = in addWifiConfig()
1413 private boolean isExpired(@NonNull PasspointConfiguration config) { in isExpired()
1438 @NonNull PasspointConfiguration passpointConfiguration, in getMatchingScanResults()
DPasspointXmlUtils.java19 import android.net.wifi.hotspot2.PasspointConfiguration;
139 PasspointConfiguration config) throws XmlPullParserException, IOException { in serializePasspointConfiguration()
194 public static PasspointConfiguration deserializePasspointConfiguration(XmlPullParser in, in deserializePasspointConfiguration()
196 PasspointConfiguration config = new PasspointConfiguration(); in deserializePasspointConfiguration()
DPasspointProvisioner.java31 import android.net.wifi.hotspot2.PasspointConfiguration;
189 private PasspointConfiguration mPasspointConfiguration;
885 private PasspointConfiguration buildPasspointConfiguration(@NonNull PpsMoData moData) { in buildPasspointConfiguration()
888 PasspointConfiguration passpointConfiguration = PpsMoParser.parseMoText(moTree); in buildPasspointConfiguration()
910 private void retrieveTrustRootCerts(@NonNull PasspointConfiguration passpointConfig) { in retrieveTrustRootCerts()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiNetworkSuggestion.java31 import android.net.wifi.hotspot2.PasspointConfiguration;
133 private @Nullable PasspointConfiguration mPasspointConfiguration;
514 @NonNull PasspointConfiguration passpointConfig) { in setPasspointConfig()
519 mPasspointConfiguration = new PasspointConfiguration(passpointConfig); in setPasspointConfig()
1322 public final PasspointConfiguration passpointConfiguration;
1368 @Nullable PasspointConfiguration passpointConfiguration, in WifiNetworkSuggestion()
1550 public PasspointConfiguration getPasspointConfig() { in getPasspointConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java29 import android.net.wifi.hotspot2.PasspointConfiguration;
522 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential()
524 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithUserCredential()
DWifiNetworkSuggestionsManagerTest.java82 import android.net.wifi.hotspot2.PasspointConfiguration;
347 PasspointConfiguration passpointConfiguration = in testAddNetworkSuggestionsSuccess()
368 when(mPasspointManager.addOrUpdateProvider(any(PasspointConfiguration.class), in testAddNetworkSuggestionsSuccess()
404 PasspointConfiguration passpointConfiguration = in testRemoveNetworkSuggestionsSuccess()
424 when(mPasspointManager.addOrUpdateProvider(any(PasspointConfiguration.class), in testRemoveNetworkSuggestionsSuccess()
652 PasspointConfiguration passpointConfiguration = in testRemoveAllNetworkSuggestionsSuccess()
673 when(mPasspointManager.addOrUpdateProvider(any(PasspointConfiguration.class), in testRemoveAllNetworkSuggestionsSuccess()
743 PasspointConfiguration passpointConfiguration = in testAddNetworkSuggestionsSuccessOnInPlaceModificationWhenNotInWcm()
2133 PasspointConfiguration passpointConfiguration = in testNetworkSuggestionsConfigStoreLoad()
3240 PasspointConfiguration passpointConfiguration = in testOnPasspointNetworkConnectionSuccessWithOneMatch()
[all …]
/packages/modules/Wifi/framework/aidl-export/android/net/wifi/hotspot2/
DPasspointConfiguration.aidl19 parcelable PasspointConfiguration;
/packages/apps/CertInstaller/src/com/android/certinstaller/
DWiFiInstaller.java14 import android.net.wifi.hotspot2.PasspointConfiguration;
37 private PasspointConfiguration mPasspointConfig;
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt414 …igParser;->createPasspointConfig(Ljava/util/Map;)Landroid/net/wifi/hotspot2/PasspointConfiguration;
551 …oid/net/wifi/hotspot2/omadm/PpsMoParser$PPSNode;)Landroid/net/wifi/hotspot2/PasspointConfiguration;
552 …psNode(Landroid/net/wifi/hotspot2/omadm/XMLNode;)Landroid/net/wifi/hotspot2/PasspointConfiguration;
561 …id/net/wifi/hotspot2/omadm/PpsMoParser$PPSNode;Landroid/net/wifi/hotspot2/PasspointConfiguration;)V
566 …id/net/wifi/hotspot2/omadm/PpsMoParser$PPSNode;Landroid/net/wifi/hotspot2/PasspointConfiguration;)V
614 Landroid/net/wifi/hotspot2/PasspointConfiguration;->CERTIFICATE_SHA256_BYTES:I
615 Landroid/net/wifi/hotspot2/PasspointConfiguration;->getCredentialPriority()I
616 Landroid/net/wifi/hotspot2/PasspointConfiguration;->getPolicy()Landroid/net/wifi/hotspot2/pps/Polic…
617 Landroid/net/wifi/hotspot2/PasspointConfiguration;->getSubscriptionCreationTimeInMillis()J
618 Landroid/net/wifi/hotspot2/PasspointConfiguration;->getSubscriptionExpirationTimeInMillis()J
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/addappnetworks/
DAddAppNetworksFragment.java31 import android.net.wifi.hotspot2.PasspointConfiguration;
325 PasspointConfiguration specifiecPassPointConfiguration) { in isSavedPasspointConfiguration()
393 final PasspointConfiguration passpointConfig = suggestion.getPasspointConfig(); in filterSavedNetworks()
651 final PasspointConfiguration passpointConfig =

12