Home
last modified time | relevance | path

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

123

/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java53 private static void verifyParcel(PasspointConfiguration writeConfig) throws Exception { in verifyParcel()
58 PasspointConfiguration readConfig = in verifyParcel()
59 PasspointConfiguration.CREATOR.createFromParcel(parcel); in verifyParcel()
70 verifyParcel(new PasspointConfiguration()); in verifyParcelWithDefault()
90 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutServiceNames()
102 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutHomeSP()
114 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutCredential()
126 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutPolicy()
138 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutSubscriptionUpdate()
151 PasspointConfiguration config = PasspointTestUtils.createConfig(); in verifyParcelWithoutTrustRootCertList()
[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.java133 public static PasspointConfiguration createConfig() { in createConfig()
134 PasspointConfiguration config = new PasspointConfiguration(); in createConfig()
167 public static PasspointConfiguration createR2Config() { in createR2Config()
168 PasspointConfiguration config = createConfig(); in createR2Config()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java30 import android.net.wifi.hotspot2.PasspointConfiguration;
155 private PasspointProvider createProvider(PasspointConfiguration config) { in createProvider()
167 private void verifyInstalledConfig(PasspointConfiguration expectedConfig, boolean equals) { in verifyInstalledConfig()
168 PasspointConfiguration actualConfig = mProvider.getConfig(); in verifyInstalledConfig()
239 private PasspointConfiguration generateTestPasspointConfiguration( in generateTestPasspointConfiguration()
241 PasspointConfiguration config = new PasspointConfiguration(); in generateTestPasspointConfiguration()
301 PasspointConfiguration passpointConfig, WifiConfiguration wifiConfig) { in verifyWifiConfigWithTestData()
444 PasspointConfiguration config = generateTestPasspointConfiguration( in verifyModifyOriginalConfig()
464 PasspointConfiguration config = generateTestPasspointConfiguration( in verifyModifyRetrievedConfig()
471 PasspointConfiguration retrievedConfig = mProvider.getConfig(); in verifyModifyRetrievedConfig()
[all …]
DPasspointXmlUtilsTest.java22 import android.net.wifi.hotspot2.PasspointConfiguration;
63 private PasspointConfiguration createFullPasspointConfiguration() throws Exception { in createFullPasspointConfiguration()
68 PasspointConfiguration config = new PasspointConfiguration(); in createFullPasspointConfiguration()
188 private void serializeAndDeserializePasspointConfiguration(PasspointConfiguration testConfig) in serializeAndDeserializePasspointConfiguration()
201 PasspointConfiguration deserializedConfig = in serializeAndDeserializePasspointConfiguration()
225 serializeAndDeserializePasspointConfiguration(new PasspointConfiguration()); in serializeAndDeserializeEmptyPasspointConfiguration()
DPasspointManagerTest.java62 import android.net.wifi.hotspot2.PasspointConfiguration;
252 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig()
253 List<PasspointConfiguration> installedConfigs = in verifyInstalledConfig()
259 private PasspointProvider createMockProvider(PasspointConfiguration config) { in createMockProvider()
273 PasspointConfiguration config, WifiConfiguration wifiConfig, boolean isSuggestion) { in createMockProvider()
289 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential()
300 private PasspointConfiguration createTestConfigWithUserCredentialAndRealm(String fqdn, in createTestConfigWithUserCredentialAndRealm()
302 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithUserCredentialAndRealm()
330 private PasspointConfiguration createTestConfigWithSimCredential(String fqdn, String imsi, in createTestConfigWithSimCredential()
332 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithSimCredential()
[all …]
DPasspointConfigUserStoreDataTest.java28 import android.net.wifi.hotspot2.PasspointConfiguration;
99 private PasspointConfiguration createFullPasspointConfiguration() throws Exception { in createFullPasspointConfiguration()
104 PasspointConfiguration config = new PasspointConfiguration(); in createFullPasspointConfiguration()
/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/
DWifiNetworkSuggestionTest.java22 import android.net.wifi.hotspot2.PasspointConfiguration;
357 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderForPasspointNetworkWithReqAppInteractionMetered()
401 PasspointConfiguration passpointConfiguration = new PasspointConfiguration(); in testWifiNetworkSuggestionBuilderSetPasspointConfigWithNonValid()
516 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothSsidAndPasspointConfig()
530 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothWpa2PassphraseAndPasspointConfig()
544 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothWpa3PassphraseAndPasspointConfig()
559 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothEnterpriseAndPasspointConfig()
573 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothEnhancedOpenAndPasspointConfig()
587 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testWifiNetworkSuggestionBuilderWithBothHiddenSsidAndPasspointConfig()
635 PasspointConfiguration passpointConfiguration = PasspointTestUtils.createConfig(); in testPasspointNetworkSuggestionParcel()
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DPasspointConfiguration.java53 public final class PasspointConfiguration implements Parcelable { class
536 public PasspointConfiguration() {} in PasspointConfiguration() method in PasspointConfiguration
543 public PasspointConfiguration(PasspointConfiguration source) { in PasspointConfiguration() method in PasspointConfiguration
617 if (!(thatObject instanceof PasspointConfiguration)) { in equals()
620 PasspointConfiguration that = (PasspointConfiguration) thatObject; in equals()
791 public static final @android.annotation.NonNull Creator<PasspointConfiguration> CREATOR =
792 new Creator<PasspointConfiguration>() {
794 public PasspointConfiguration createFromParcel(Parcel in) {
795 PasspointConfiguration config = new PasspointConfiguration();
823 public PasspointConfiguration[] newArray(int size) {
[all …]
/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()
213 PasspointConfiguration expectedConfig = generateConfigurationFromPPSMOTree(); in parseValidPPSMOTree()
214 PasspointConfiguration actualConfig = PpsMoParser.parseMoText(ppsMoTree); in parseValidPPSMOTree()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DPasspointWifiEntryTest.java41 import android.net.wifi.hotspot2.PasspointConfiguration;
92 PasspointConfiguration passpointConfiguration = getPasspointConfiguration(); in testGetSummary_expiredTimeNotAvailable_notShowExpired()
105 PasspointConfiguration passpointConfiguration = getPasspointConfiguration(); in testGetSummary_expired_showExpired()
117 private PasspointConfiguration getPasspointConfiguration() { in getPasspointConfiguration()
118 PasspointConfiguration passpointConfiguration = new PasspointConfiguration(); in getPasspointConfiguration()
DWifiPickerTrackerTest.java39 import android.net.wifi.hotspot2.PasspointConfiguration;
512 final PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetWifiEntries_passpointInRange_returnsPasspointWifiEntry()
547 final PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetWifiEntries_passpointOutOfRange_returnsNull()
585 final PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetConnectedEntry_alreadyConnectedToPasspoint_returnsPasspointEntry()
DSavedNetworkTrackerTest.java36 import android.net.wifi.hotspot2.PasspointConfiguration;
320 final PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetSubscriptionWifiEntries_returnsPasspointEntries()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointProvider.java25 import android.net.wifi.hotspot2.PasspointConfiguration;
80 private final PasspointConfiguration mConfig;
110 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
117 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider()
123 mConfig = new PasspointConfiguration(config); in PasspointProvider()
171 public PasspointConfiguration getConfig() { in getConfig()
173 return new PasspointConfiguration(mConfig); in getConfig()
548 public static PasspointConfiguration convertFromWifiConfig(WifiConfiguration wifiConfig) { in convertFromWifiConfig()
549 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig()
692 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork()
DPasspointObjectFactory.java20 import android.net.wifi.hotspot2.PasspointConfiguration;
61 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider()
DPasspointManager.java34 import android.net.wifi.hotspot2.PasspointConfiguration;
394 public boolean addOrUpdateProvider(PasspointConfiguration config, int uid, in addOrUpdateProvider()
692 public List<PasspointConfiguration> getProviderConfigs(int callingUid, in getProviderConfigs()
694 List<PasspointConfiguration> configs = new ArrayList<>(); in getProviderConfigs()
1048 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
1050 Map<OsuProvider, PasspointConfiguration> matchingPasspointConfigs = new HashMap<>(); in getMatchingPasspointConfigsForOsuProviders()
1056 PasspointConfiguration passpointConfiguration = provider.getConfig(); in getMatchingPasspointConfigsForOsuProviders()
1175 PasspointConfiguration passpointConfig = in addWifiConfig()
1231 private boolean isExpired(@NonNull PasspointConfiguration config) { in isExpired()
1256 @NonNull PasspointConfiguration passpointConfiguration, in getMatchingScanResults()
/frameworks/base/wifi/java/android/net/wifi/
DWifiNetworkSuggestion.java27 import android.net.wifi.hotspot2.PasspointConfiguration;
86 private @Nullable PasspointConfiguration mPasspointConfiguration;
305 @NonNull PasspointConfiguration passpointConfig) { in setPasspointConfig()
715 public final PasspointConfiguration passpointConfiguration;
754 @Nullable PasspointConfiguration passpointConfiguration, in WifiNetworkSuggestion()
911 public PasspointConfiguration getPasspointConfig() { in getPasspointConfig()
DIWifiManager.aidl22 import android.net.wifi.hotspot2.PasspointConfiguration;
71 boolean addOrUpdatePasspointConfiguration(in PasspointConfiguration config, String packageName); in addOrUpdatePasspointConfiguration()
75 List<PasspointConfiguration> getPasspointConfigurations(in String packageName); in getPasspointConfigurations()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DPasspointNetworkDetailsTracker.java37 import android.net.wifi.hotspot2.PasspointConfiguration;
77 Optional<PasspointConfiguration> optionalPasspointConfig = in PasspointNetworkDetailsTracker()
201 Map<OsuProvider, PasspointConfiguration> osuProviderToPasspointConfig = in updateOsuWifiEntryScans()
211 PasspointConfiguration provisionedConfig = in updateOsuWifiEntryScans()
DSavedNetworkTracker.java34 import android.net.wifi.hotspot2.PasspointConfiguration;
346 private void updatePasspointWifiEntryConfigs(@NonNull List<PasspointConfiguration> configs) { in updatePasspointWifiEntryConfigs()
349 final Map<String, PasspointConfiguration> passpointConfigsByKey = in updatePasspointWifiEntryConfigs()
359 final PasspointConfiguration cachedConfig = passpointConfigsByKey.remove(key); in updatePasspointWifiEntryConfigs()
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java19 import android.net.wifi.hotspot2.PasspointConfiguration;
381 public static PasspointConfiguration parseMoText(String xmlString) { in parseMoText()
401 PasspointConfiguration config = null; in parseMoText()
453 private static PasspointConfiguration parsePpsNode(XMLNode node) in parsePpsNode()
455 PasspointConfiguration config = null; in parsePpsNode()
645 private static PasspointConfiguration parsePpsInstance(PPSNode root) in parsePpsInstance()
651 PasspointConfiguration config = new PasspointConfiguration(); in parsePpsInstance()
1554 private static void parseSubscriptionParameter(PPSNode node, PasspointConfiguration config) in parseSubscriptionParameter()
1589 private static void parseUsageLimits(PPSNode node, PasspointConfiguration config) in parseUsageLimits()
1658 private static void parseVendorAndroidExtension(PPSNode node, PasspointConfiguration config) in parseVendorAndroidExtension()
[all …]
/frameworks/base/wifi/aidl-export/android/net/wifi/hotspot2/
DPasspointConfiguration.aidl19 parcelable PasspointConfiguration;
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DNetworkSuggestionStoreDataTest.java25 import android.net.wifi.hotspot2.PasspointConfiguration;
492 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential()
494 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithUserCredential()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DBaseWifiService.java43 import android.net.wifi.hotspot2.PasspointConfiguration;
118 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders()
130 PasspointConfiguration config, String packageName) { in addOrUpdatePasspointConfiguration()
140 public List<PasspointConfiguration> getPasspointConfigurations(String packageName) { in getPasspointConfigurations()

123