/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiEnterpriseConfigTest.java | 29 import android.net.wifi.WifiEnterpriseConfig.Eap; 30 import android.net.wifi.WifiEnterpriseConfig.Phase2; 58 private WifiEnterpriseConfig mEnterpriseConfig; 62 mEnterpriseConfig = new WifiEnterpriseConfig(); in setUp() 195 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testSaveMultipleCaCertificates() 196 … WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testSaveMultipleCaCertificates() 205 WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias0), in testLoadMultipleCaCertificates() 206 … WifiEnterpriseConfig.encodeCaCertificateAlias(Credentials.CA_CERTIFICATE + alias1))); in testLoadMultipleCaCertificates() 214 return mEnterpriseConfig.getFieldValue(WifiEnterpriseConfig.CA_CERT_KEY); in getCaCertField() 218 mEnterpriseConfig.setFieldValue(WifiEnterpriseConfig.CA_CERT_KEY, value); in setCaCertField() [all …]
|
D | WifiNetworkSuggestionTest.java | 284 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork() 285 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork() 319 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi() 320 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithStandardApi() 355 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 356 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 394 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts() 395 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3EapNetworkWithSuiteBEccCerts() 431 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetwork() 432 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSuggestionBuilderForWpa3SuiteBRsaEapNetwork() [all …]
|
D | WifiNetworkSpecifierTest.java | 115 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 116 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 117 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid() 152 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork() 153 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetwork() 186 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi() 187 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithStandardApi() 221 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 222 enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBRsaCerts() 259 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in testWifiNetworkSpecifierBuilderForWpa3EapNetworkWithSuiteBEccCerts() [all …]
|
D | WifiConfigurationTest.java | 283 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testGetKeyIdForCredentials() 284 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials() 290 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in testGetKeyIdForCredentials() 291 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testGetKeyIdForCredentials() 298 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PWD); in testGetKeyIdForCredentials() 299 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testGetKeyIdForCredentials() 306 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM); in testGetKeyIdForCredentials() 307 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials() 344 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TLS); in testGetKeyIdForCredentialsForSuggestion() 345 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentialsForSuggestion() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 30 import android.net.wifi.WifiEnterpriseConfig; 173 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in generateWifiConfig() 174 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in generateWifiConfig() 183 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.PEAP); in generateWifiConfig() 184 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in generateWifiConfig() 202 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.WAPI_CERT); in generateWifiConfig() 413 WifiEnterpriseConfig.Eap.NONE, in createEapNetwork() 414 WifiEnterpriseConfig.Phase2.NONE); in createEapNetwork() 426 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createEapNetwork() 445 WifiEnterpriseConfig.Eap.NONE, in createWpa2Wpa3EnterpriseNetwork() [all …]
|
D | WifiConfigurationUtilTest.java | 20 import static android.net.wifi.WifiEnterpriseConfig.OCSP_NONE; 21 import static android.net.wifi.WifiEnterpriseConfig.OCSP_REQUIRE_CERT_STATUS; 36 import android.net.wifi.WifiEnterpriseConfig; 79 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigAdded() 80 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testEnterpriseConfigAdded() 93 EnterpriseConfig eapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS); in testEnterpriseConfigEapChangeDetected() 94 EnterpriseConfig peapConfig = new EnterpriseConfig(WifiEnterpriseConfig.Eap.PEAP); in testEnterpriseConfigEapChangeDetected() 106 new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigPhase2ChangeDetected() 107 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testEnterpriseConfigPhase2ChangeDetected() 109 new EnterpriseConfig(WifiEnterpriseConfig.Eap.TTLS) in testEnterpriseConfigPhase2ChangeDetected() [all …]
|
D | WifiCarrierInfoManagerTest.java | 46 import android.net.wifi.WifiEnterpriseConfig; 501 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.SIM, in getSimIdentityEapSim() 502 WifiEnterpriseConfig.Phase2.NONE); in getSimIdentityEapSim() 508 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapSim() 509 WifiEnterpriseConfig.Phase2.SIM); in getSimIdentityEapSim() 525 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA, in getSimIdentityEapAka() 526 WifiEnterpriseConfig.Phase2.NONE); in getSimIdentityEapAka() 532 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.PEAP, in getSimIdentityEapAka() 533 WifiEnterpriseConfig.Phase2.AKA); in getSimIdentityEapAka() 549 WifiConfigurationTestUtil.createEapNetwork(WifiEnterpriseConfig.Eap.AKA_PRIME, in getSimIdentityEapAkaPrime() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProviderTest.java | 25 import android.net.wifi.WifiEnterpriseConfig; 251 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.PAP); in testEAP_PEAP_PAP() 260 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_PEAP_NONE() 269 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_Phase2_Empty() 278 wifiConf, WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testEAP_Phase2_Null() 287 wifiConf, WifiEnterpriseConfig.Eap.TLS, WifiEnterpriseConfig.Phase2.MSCHAP); in testEAP_TLS_MSCHAP() 296 wifiConf, WifiEnterpriseConfig.Eap.TTLS, WifiEnterpriseConfig.Phase2.MSCHAPV2); in testEAP_TTLS_MSCHAPV2() 305 wifiConf, WifiEnterpriseConfig.Eap.PWD, WifiEnterpriseConfig.Phase2.GTC); in testEAP_PWD_GTC() 314 wifiConf, WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.SIM); in testEAP_SIM_SIM() 323 wifiConf, WifiEnterpriseConfig.Eap.AKA, WifiEnterpriseConfig.Phase2.AKA); in testEAP_AKA_AKA() [all …]
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
D | WifiConfigurationProvider.java | 27 import android.net.wifi.WifiEnterpriseConfig; 78 map.put("PEAP", WifiEnterpriseConfig.Eap.PEAP); in buildEapMethodsMap() 79 map.put("TLS", WifiEnterpriseConfig.Eap.TLS); in buildEapMethodsMap() 80 map.put("TTLS", WifiEnterpriseConfig.Eap.TTLS); in buildEapMethodsMap() 81 map.put("PWD", WifiEnterpriseConfig.Eap.PWD); in buildEapMethodsMap() 82 map.put("SIM", WifiEnterpriseConfig.Eap.SIM); in buildEapMethodsMap() 83 map.put("AKA", WifiEnterpriseConfig.Eap.AKA); in buildEapMethodsMap() 84 map.put("AKA_PRIME", WifiEnterpriseConfig.Eap.AKA_PRIME); in buildEapMethodsMap() 90 map.put(null, WifiEnterpriseConfig.Phase2.NONE); in buildPhase2AuthMap() 91 map.put("", WifiEnterpriseConfig.Phase2.NONE); in buildPhase2AuthMap() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/ |
D | XmlUtilTest.java | 25 import android.net.wifi.WifiEnterpriseConfig; 79 private static final int TEST_EAP_METHOD = WifiEnterpriseConfig.Eap.PEAP; 80 private static final int TEST_PHASE2_METHOD = WifiEnterpriseConfig.Phase2.MSCHAPV2; 413 WifiEnterpriseConfig config = makeTestWifiEnterpriseConfig(); in testWifiEnterpriseConfigSerializeDeserialize() 424 WifiEnterpriseConfig config = makeTestWifiEnterpriseConfig(); in testWifiEnterpriseConfigSerializeDeserializeWithEncryption() 444 WifiEnterpriseConfig config = makeTestWifiEnterpriseConfig(); in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException() 450 String.format(XML_STRING_EAP_METHOD_REPLACE_FORMAT, WifiEnterpriseConfig.Eap.NONE)); in testWifiEnterpriseConfigSerializeDeserializeThrowsIllegalArgException() 577 private WifiEnterpriseConfig makeTestWifiEnterpriseConfig() { in makeTestWifiEnterpriseConfig() 578 final WifiEnterpriseConfig config = new WifiEnterpriseConfig(); in makeTestWifiEnterpriseConfig() 579 config.setFieldValue(WifiEnterpriseConfig.IDENTITY_KEY, TEST_IDENTITY); in makeTestWifiEnterpriseConfig() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiNetworkSpecifier.java | 151 private @Nullable WifiEnterpriseConfig mWpa2EnterpriseConfig; 156 private @Nullable WifiEnterpriseConfig mWpa3EnterpriseConfig; 315 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa2EnterpriseConfig() 317 mWpa2EnterpriseConfig = new WifiEnterpriseConfig(enterpriseConfig); in setWpa2EnterpriseConfig() 338 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa3EnterpriseConfig() 340 mWpa3EnterpriseConfig = new WifiEnterpriseConfig(enterpriseConfig); in setWpa3EnterpriseConfig() 354 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa3EnterpriseStandardModeConfig() 356 mWpa3EnterpriseConfig = new WifiEnterpriseConfig(enterpriseConfig); in setWpa3EnterpriseStandardModeConfig() 375 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa3Enterprise192BitModeConfig() 377 if (enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.TLS) { in setWpa3Enterprise192BitModeConfig() [all …]
|
D | WifiNetworkSuggestion.java | 117 private @Nullable WifiEnterpriseConfig mWpa2EnterpriseConfig; 122 private @Nullable WifiEnterpriseConfig mWpa3EnterpriseConfig; 195 private @Nullable WifiEnterpriseConfig mWapiEnterpriseConfig; 357 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa2EnterpriseConfig() 364 mWpa2EnterpriseConfig = new WifiEnterpriseConfig(enterpriseConfig); in setWpa2EnterpriseConfig() 387 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa3EnterpriseConfig() 394 mWpa3EnterpriseConfig = new WifiEnterpriseConfig(enterpriseConfig); in setWpa3EnterpriseConfig() 410 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa3EnterpriseStandardModeConfig() 417 mWpa3EnterpriseConfig = new WifiEnterpriseConfig(enterpriseConfig); in setWpa3EnterpriseStandardModeConfig() 436 @NonNull WifiEnterpriseConfig enterpriseConfig) { in setWpa3Enterprise192BitModeConfig() [all …]
|
D | WifiEnterpriseConfig.java | 50 public class WifiEnterpriseConfig implements Parcelable { class 263 public WifiEnterpriseConfig() { in WifiEnterpriseConfig() method in WifiEnterpriseConfig 279 private void copyFrom(WifiEnterpriseConfig source, boolean ignoreMaskedPassword, String mask) { in copyFrom() 314 public WifiEnterpriseConfig(WifiEnterpriseConfig source) { in WifiEnterpriseConfig() method in WifiEnterpriseConfig 327 public void copyFromExternal(WifiEnterpriseConfig externalConfig, String mask) { in copyFromExternal() 355 public static final @android.annotation.NonNull Creator<WifiEnterpriseConfig> CREATOR = 356 new Creator<WifiEnterpriseConfig>() { 358 public WifiEnterpriseConfig createFromParcel(Parcel in) { 359 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); 380 public WifiEnterpriseConfig[] newArray(int size) { [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 28 import android.net.wifi.WifiEnterpriseConfig; 537 WifiEnterpriseConfig enterpriseConfig = new WifiEnterpriseConfig(); in getWifiConfig() 568 wifiConfig.enterpriseConfig.setOcsp(WifiEnterpriseConfig.OCSP_REQUIRE_CERT_STATUS); in getWifiConfig() 630 case WifiEnterpriseConfig.Eap.TTLS: in convertFromWifiConfig() 634 case WifiEnterpriseConfig.Eap.TLS: in convertFromWifiConfig() 639 case WifiEnterpriseConfig.Eap.SIM: in convertFromWifiConfig() 643 case WifiEnterpriseConfig.Eap.AKA: in convertFromWifiConfig() 647 case WifiEnterpriseConfig.Eap.AKA_PRIME: in convertFromWifiConfig() 910 private void buildEnterpriseConfigForUserCredential(WifiEnterpriseConfig config, in buildEnterpriseConfigForUserCredential() 920 config.setEapMethod(WifiEnterpriseConfig.Eap.TTLS); in buildEnterpriseConfigForUserCredential() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHal.java | 25 import android.net.wifi.WifiEnterpriseConfig; 26 import android.net.wifi.WifiEnterpriseConfig.Ocsp; 258 WifiEnterpriseConfig.Eap.WAPI_CERT); in loadWifiConfiguration() 469 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in saveWifiConfiguration() 470 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.WAPI_CERT) { in saveWifiConfiguration() 473 .getFieldValue(WifiEnterpriseConfig.WAPI_CERT_SUITE_KEY); in saveWifiConfiguration() 525 private boolean loadWifiEnterpriseConfig(String ssid, WifiEnterpriseConfig eapConfig) { in loadWifiEnterpriseConfig() 548 WifiEnterpriseConfig.IDENTITY_KEY, in loadWifiEnterpriseConfig() 554 WifiEnterpriseConfig.ANON_IDENTITY_KEY, in loadWifiEnterpriseConfig() 560 WifiEnterpriseConfig.PASSWORD_KEY, in loadWifiEnterpriseConfig() [all …]
|
D | WifiKeyStore.java | 22 import android.net.wifi.WifiEnterpriseConfig; 78 private static boolean needsKeyStore(WifiEnterpriseConfig config) { in needsKeyStore() 102 private boolean installKeys(WifiEnterpriseConfig existingConfig, WifiEnterpriseConfig config, in installKeys() 218 public void removeKeys(WifiEnterpriseConfig config) { in removeKeys() 263 WifiEnterpriseConfig enterpriseConfig = config.enterpriseConfig; in updateNetworkKeys() 269 WifiEnterpriseConfig existingEnterpriseConfig = null; in updateNetworkKeys()
|
D | WifiConfigurationUtil.java | 32 import android.net.wifi.WifiEnterpriseConfig; 243 public static boolean hasEnterpriseConfigChanged(WifiEnterpriseConfig existingEnterpriseConfig, in hasEnterpriseConfigChanged() 244 WifiEnterpriseConfig newEnterpriseConfig) { in hasEnterpriseConfigChanged() 1179 || config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.TLS)) { in validateEnterpriseConfig() 1183 if (config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.PEAP in validateEnterpriseConfig() 1184 || config.enterpriseConfig.getEapMethod() == WifiEnterpriseConfig.Eap.TTLS) { in validateEnterpriseConfig() 1187 if (phase2Method == WifiEnterpriseConfig.Phase2.MSCHAP in validateEnterpriseConfig() 1188 || phase2Method == WifiEnterpriseConfig.Phase2.MSCHAPV2 in validateEnterpriseConfig() 1189 || phase2Method == WifiEnterpriseConfig.Phase2.PAP in validateEnterpriseConfig() 1190 || phase2Method == WifiEnterpriseConfig.Phase2.GTC) { in validateEnterpriseConfig()
|
D | WifiCarrierInfoManager.java | 38 import android.net.wifi.WifiEnterpriseConfig; 130 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.AKA, "0"); in EAP_METHOD_PREFIX.put() 131 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.SIM, "1"); in EAP_METHOD_PREFIX.put() 132 EAP_METHOD_PREFIX.put(WifiEnterpriseConfig.Eap.AKA_PRIME, "6"); in EAP_METHOD_PREFIX.put() 983 return WifiEnterpriseConfig.Eap.NONE; in getSimMethodForConfig() 986 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) { in getSimMethodForConfig() 989 case WifiEnterpriseConfig.Phase2.SIM: in getSimMethodForConfig() 990 eapMethod = WifiEnterpriseConfig.Eap.SIM; in getSimMethodForConfig() 992 case WifiEnterpriseConfig.Phase2.AKA: in getSimMethodForConfig() 993 eapMethod = WifiEnterpriseConfig.Eap.AKA; in getSimMethodForConfig() [all …]
|
D | WifiBackupRestore.java | 21 import android.net.wifi.WifiEnterpriseConfig; 472 WifiEnterpriseConfig.CLIENT_CERT_KEY; 473 public static final String SUPPLICANT_KEY_CA_CERT = WifiEnterpriseConfig.CA_CERT_KEY; 474 public static final String SUPPLICANT_KEY_CA_PATH = WifiEnterpriseConfig.CA_PATH_KEY; 475 public static final String SUPPLICANT_KEY_EAP = WifiEnterpriseConfig.EAP_KEY;
|
D | NetworkListStoreData.java | 26 import android.net.wifi.WifiEnterpriseConfig; 178 && config.enterpriseConfig.getEapMethod() != WifiEnterpriseConfig.Eap.NONE) { in serializeNetwork() 238 WifiEnterpriseConfig enterpriseConfig = null; in parseNetwork()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 34 import android.net.wifi.WifiEnterpriseConfig; 1314 public static void writeToXml(XmlSerializer out, WifiEnterpriseConfig enterpriseConfig, in writeToXml() 1318 enterpriseConfig.getFieldValue(WifiEnterpriseConfig.IDENTITY_KEY)); in writeToXml() 1320 enterpriseConfig.getFieldValue(WifiEnterpriseConfig.ANON_IDENTITY_KEY)); in writeToXml() 1322 out, enterpriseConfig.getFieldValue(WifiEnterpriseConfig.PASSWORD_KEY), in writeToXml() 1325 enterpriseConfig.getFieldValue(WifiEnterpriseConfig.CLIENT_CERT_KEY)); in writeToXml() 1327 enterpriseConfig.getFieldValue(WifiEnterpriseConfig.CA_CERT_KEY)); in writeToXml() 1329 enterpriseConfig.getFieldValue(WifiEnterpriseConfig.SUBJECT_MATCH_KEY)); in writeToXml() 1331 enterpriseConfig.getFieldValue(WifiEnterpriseConfig.ENGINE_KEY)); in writeToXml() 1333 enterpriseConfig.getFieldValue(WifiEnterpriseConfig.ENGINE_ID_KEY)); in writeToXml() [all …]
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 31 import android.net.wifi.WifiEnterpriseConfig; 114 private static final int TEST_EAP_TYPE = WifiEnterpriseConfig.Eap.SIM; 332 WifiEnterpriseConfig wifiEnterpriseConfig = wifiConfig.enterpriseConfig; in verifyWifiConfigWithTestData() 371 assertEquals(WifiEnterpriseConfig.Eap.TTLS, wifiEnterpriseConfig.getEapMethod()); in verifyWifiConfigWithTestData() 374 assertEquals(WifiEnterpriseConfig.Phase2.PAP, in verifyWifiConfigWithTestData() 378 assertEquals(WifiEnterpriseConfig.Phase2.MSCHAP, in verifyWifiConfigWithTestData() 382 assertEquals(WifiEnterpriseConfig.Phase2.MSCHAPV2, in verifyWifiConfigWithTestData() 408 WifiEnterpriseConfig.OCSP_REQUIRE_CERT_STATUS); in verifyWifiConfigWithTestData() 411 WifiEnterpriseConfig.OCSP_NONE); in verifyWifiConfigWithTestData() 417 assertEquals(WifiEnterpriseConfig.Eap.TLS, wifiEnterpriseConfig.getEapMethod()); in verifyWifiConfigWithTestData() [all …]
|
/packages/modules/Wifi/apex/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 1638 Landroid/net/wifi/WifiEnterpriseConfig$Eap;-><init>()V 1639 Landroid/net/wifi/WifiEnterpriseConfig$Eap;->strings:[Ljava/lang/String; 1640 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;-><init>()V 1641 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->AUTHEAP_PREFIX:Ljava/lang/String; 1642 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->AUTH_PREFIX:Ljava/lang/String; 1643 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->strings:[Ljava/lang/String; 1644 Landroid/net/wifi/WifiEnterpriseConfig$SupplicantLoader;->loadValue(Ljava/lang/String;)Ljava/lang/S… 1645 Landroid/net/wifi/WifiEnterpriseConfig$SupplicantSaver;->saveValue(Ljava/lang/String;Ljava/lang/Str… 1646 Landroid/net/wifi/WifiEnterpriseConfig;->ALTSUBJECT_MATCH_KEY:Ljava/lang/String; 1647 Landroid/net/wifi/WifiEnterpriseConfig;->ANON_IDENTITY_KEY:Ljava/lang/String; [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | WifiConfigController2Test.java | 35 import android.net.wifi.WifiEnterpriseConfig; 36 import android.net.wifi.WifiEnterpriseConfig.Eap; 37 import android.net.wifi.WifiEnterpriseConfig.Phase2; 802 final WifiEnterpriseConfig mockWifiEnterpriseConfig = mock(WifiEnterpriseConfig.class); in setUpModifyingSavedPeapConfigController() 902 final WifiEnterpriseConfig mockWifiEnterpriseConfig = mock(WifiEnterpriseConfig.class); in setUpModifyingSavedCertificateConfigController()
|
D | WifiConfigControllerTest.java | 32 import android.net.wifi.WifiEnterpriseConfig; 33 import android.net.wifi.WifiEnterpriseConfig.Eap; 34 import android.net.wifi.WifiEnterpriseConfig.Phase2; 529 final WifiEnterpriseConfig mockWifiEnterpriseConfig = mock(WifiEnterpriseConfig.class); in selectEapMethod_savedAccessPoint_shouldGetCorrectPosition()
|