/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | PasspointConfigurationTest.java | 53 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 …]
|
D | ConfigParserTest.java | 85 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()
|
D | PasspointTestUtils.java | 133 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/ |
D | PasspointProviderTest.java | 30 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 …]
|
D | PasspointXmlUtilsTest.java | 22 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()
|
D | PasspointManagerTest.java | 62 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 …]
|
D | PasspointConfigUserStoreDataTest.java | 28 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/ |
D | WifiSavedConfigUtils.java | 21 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/ |
D | WifiNetworkSuggestionTest.java | 22 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/ |
D | PasspointConfiguration.java | 53 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/ |
D | PpsMoParserTest.java | 22 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/ |
D | PasspointWifiEntryTest.java | 41 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()
|
D | WifiPickerTrackerTest.java | 39 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()
|
D | SavedNetworkTrackerTest.java | 36 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/ |
D | PasspointProvider.java | 25 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()
|
D | PasspointObjectFactory.java | 20 import android.net.wifi.hotspot2.PasspointConfiguration; 61 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider()
|
D | PasspointManager.java | 34 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/ |
D | WifiNetworkSuggestion.java | 27 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()
|
D | IWifiManager.aidl | 22 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/ |
D | PasspointNetworkDetailsTracker.java | 37 import android.net.wifi.hotspot2.PasspointConfiguration; 77 Optional<PasspointConfiguration> optionalPasspointConfig = in PasspointNetworkDetailsTracker() 201 Map<OsuProvider, PasspointConfiguration> osuProviderToPasspointConfig = in updateOsuWifiEntryScans() 211 PasspointConfiguration provisionedConfig = in updateOsuWifiEntryScans()
|
D | SavedNetworkTracker.java | 34 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/ |
D | PpsMoParser.java | 19 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/ |
D | PasspointConfiguration.aidl | 19 parcelable PasspointConfiguration;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | NetworkSuggestionStoreDataTest.java | 25 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/ |
D | BaseWifiService.java | 43 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()
|