/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
D | PasspointConfigurationTest.java | 148 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 …]
|
D | ConfigParserTest.java | 83 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/ |
D | PasspointProviderTest.java | 30 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 …]
|
D | PasspointXmlUtilsTest.java | 22 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()
|
D | PasspointManagerTest.java | 68 import android.net.wifi.hotspot2.PasspointConfiguration; 270 private void verifyInstalledConfig(PasspointConfiguration expectedConfig) { in verifyInstalledConfig() 271 List<PasspointConfiguration> installedConfigs = in verifyInstalledConfig() 283 private PasspointProvider createMockProvider(PasspointConfiguration config) { in createMockProvider() 296 private PasspointConfiguration createTestConfigWithUserCredential(String fqdn, in createTestConfigWithUserCredential() 298 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithUserCredential() 326 private PasspointConfiguration createTestConfigWithSimCredential(String fqdn, String imsi, in createTestConfigWithSimCredential() 328 PasspointConfiguration config = new PasspointConfiguration(); in createTestConfigWithSimCredential() 351 PasspointConfiguration config = createTestConfigWithUserCredential(fqdn, friendlyName); in addTestProvider() 368 PasspointConfiguration config = createTestConfigWithSimCredential(fqdn, imsi, realm); in addTestCarrierProvider() [all …]
|
D | PasspointConfigUserStoreDataTest.java | 22 import android.net.wifi.hotspot2.PasspointConfiguration; 92 private PasspointConfiguration createFullPasspointConfiguration() throws Exception { in createFullPasspointConfiguration() 97 PasspointConfiguration config = new PasspointConfiguration(); in createFullPasspointConfiguration()
|
D | PasspointNetworkEvaluatorTest.java | 38 import android.net.wifi.hotspot2.PasspointConfiguration; 84 @Mock PasspointConfiguration mPasspointConfiguration; 115 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in generateProvider()
|
D | PasspointProvisionerTest.java | 50 import android.net.wifi.hotspot2.PasspointConfiguration; 193 @Mock PasspointConfiguration mPasspointConfiguration; 915 mWifiManager).addOrUpdatePasspointConfiguration(any(PasspointConfiguration.class)); in verifyHandlingErrorForAddingPasspointConfiguration()
|
/frameworks/base/wifi/java/android/net/wifi/hotspot2/ |
D | PasspointConfiguration.java | 45 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 …]
|
D | ConfigParser.java | 139 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/ |
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/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() 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/ |
D | PasspointProvider.java | 23 import android.net.wifi.hotspot2.PasspointConfiguration; 72 private final PasspointConfiguration mConfig; 106 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() 112 public PasspointProvider(PasspointConfiguration config, WifiKeyStore keyStore, in PasspointProvider() 119 mConfig = new PasspointConfiguration(config); in PasspointProvider() 152 public PasspointConfiguration getConfig() { in getConfig() 154 return new PasspointConfiguration(mConfig); in getConfig() 445 public static PasspointConfiguration convertFromWifiConfig(WifiConfiguration wifiConfig) { in convertFromWifiConfig() 446 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in convertFromWifiConfig() 578 private boolean isMeteredNetwork(PasspointConfiguration passpointConfig) { in isMeteredNetwork()
|
D | PasspointManager.java | 45 import android.net.wifi.hotspot2.PasspointConfiguration; 397 public boolean addOrUpdateProvider(PasspointConfiguration config, int uid, String packageName) { in addOrUpdateProvider() 529 public PasspointConfiguration createEphemeralPasspointConfigForCarrier(int eapMethod) { in createEphemeralPasspointConfigForCarrier() 548 PasspointConfiguration config = new PasspointConfiguration(); in createEphemeralPasspointConfigForCarrier() 587 PasspointConfiguration installedConfig = provider.getValue().getConfig(); in hasCarrierProvider() 618 public boolean installEphemeralPasspointConfigForCarrier(PasspointConfiguration config) { in installEphemeralPasspointConfigForCarrier() 722 public List<PasspointConfiguration> getProviderConfigs(int callingUid, boolean privileged) { in getProviderConfigs() 723 List<PasspointConfiguration> configs = new ArrayList<>(); in getProviderConfigs() 1025 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders() 1027 Map<OsuProvider, PasspointConfiguration> matchingPasspointConfigs = new HashMap<>(); in getMatchingPasspointConfigsForOsuProviders() [all …]
|
D | PasspointObjectFactory.java | 20 import android.net.wifi.hotspot2.PasspointConfiguration; 60 public PasspointProvider makePasspointProvider(PasspointConfiguration config, in makePasspointProvider()
|
D | PasspointXmlUtils.java | 19 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()
|
D | PasspointConfigUserStoreData.java | 20 import android.net.wifi.hotspot2.PasspointConfiguration; 281 PasspointConfiguration config = null; in deserializeProvider()
|
D | PasspointProvisioner.java | 28 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()
|
D | PasspointNetworkEvaluator.java | 24 import android.net.wifi.hotspot2.PasspointConfiguration; 206 PasspointConfiguration carrierConfig = in createEphemeralProfileForMatchingAp()
|
/frameworks/base/wifi/java/com/android/server/wifi/ |
D | BaseWifiService.java | 37 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/hotspot2/omadm/ |
D | PpsMoParser.java | 19 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/wifi/java/android/net/wifi/ |
D | IWifiManager.aidl | 22 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/aidl-export/android/net/wifi/hotspot2/ |
D | PasspointConfiguration.aidl | 19 parcelable PasspointConfiguration;
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 49 import android.net.wifi.hotspot2.PasspointConfiguration; 291 PasspointConfiguration config = new PasspointConfiguration(); 1284 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testGetKey_matchesKeysCorrectly() 1507 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_connectsAfterProvisioning() 1512 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_connectsAfterProvisioning() 1541 PasspointConfiguration passpointConfig = new PasspointConfiguration(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure() 1546 Map<OsuProvider, PasspointConfiguration> osuProviderConfigMap = new HashMap<>(); in testOsuAccessPoint_noMatchingConfigsAfterProvisioning_callsOnFailure()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiServiceImpl.java | 82 import android.net.wifi.hotspot2.PasspointConfiguration; 2007 public Map<OsuProvider, PasspointConfiguration> getMatchingPasspointConfigsForOsuProviders( in getMatchingPasspointConfigsForOsuProviders() 2083 PasspointConfiguration passpointConfig = in addOrUpdateNetwork() 2317 PasspointConfiguration config, String packageName) { in addOrUpdatePasspointConfiguration() 2359 public List<PasspointConfiguration> getPasspointConfigurations(String packageName) { in getPasspointConfigurations() 3005 List<PasspointConfiguration> configs = mClientModeImpl.syncGetPasspointConfigs( in factoryReset() 3008 for (PasspointConfiguration config : configs) { in factoryReset()
|