/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 141 private int mPhase2Method = Phase2.NONE; 292 public static final class Phase2 { class in WifiEnterpriseConfig 315 private Phase2() {} in Phase2() method in WifiEnterpriseConfig.Phase2 378 if (mEapMethod != Eap.TLS && mPhase2Method != Phase2.NONE) { in saveToSupplicant() 379 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC; in saveToSupplicant() 380 String prefix = is_autheap ? Phase2.AUTHEAP_PREFIX : Phase2.AUTH_PREFIX; in saveToSupplicant() 381 String value = convertToQuotedString(prefix + Phase2.strings[mPhase2Method]); in saveToSupplicant() 383 } else if (mPhase2Method == Phase2.NONE) { in saveToSupplicant() 412 if (phase2Method.startsWith(Phase2.AUTH_PREFIX)) { in loadFromSupplicant() 413 phase2Method = phase2Method.substring(Phase2.AUTH_PREFIX.length()); in loadFromSupplicant() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | TelephonyUtilTest.java | 82 WifiEnterpriseConfig.Phase2.NONE), mCarrierNetworkConfig)); in getSimIdentityEapSim() 86 WifiEnterpriseConfig.Phase2.SIM), mCarrierNetworkConfig)); in getSimIdentityEapSim() 102 WifiEnterpriseConfig.Phase2.NONE), mCarrierNetworkConfig)); in getSimIdentityEapAka() 106 WifiEnterpriseConfig.Phase2.AKA), mCarrierNetworkConfig)); in getSimIdentityEapAka() 123 WifiEnterpriseConfig.Phase2.NONE), mCarrierNetworkConfig)); in getSimIdentityEapAkaPrime() 127 WifiEnterpriseConfig.Phase2.AKA_PRIME), mCarrierNetworkConfig)); in getSimIdentityEapAkaPrime() 164 WifiEnterpriseConfig.Phase2.NONE), mCarrierNetworkConfig)); in getEncryptedIdentity_WithRfc4648() 197 WifiEnterpriseConfig.Phase2.NONE), mCarrierNetworkConfig)); in getEncryptedIdentityFailed() 216 WifiEnterpriseConfig.Phase2.NONE), mCarrierNetworkConfig)); in getSimIdentity2DigitMnc() 232 WifiEnterpriseConfig.Phase2.NONE), mCarrierNetworkConfig)); in getSimIdentityUnknownMccMnc() [all …]
|
D | XmlUtilTest.java | 73 private static final int TEST_PHASE2_METHOD = WifiEnterpriseConfig.Phase2.MSCHAPV2;
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiEnterpriseConfigTest.java | 28 import android.net.wifi.WifiEnterpriseConfig.Phase2; 251 mEnterpriseConfig.setPhase2Method(Phase2.MSCHAPV2); in eapPhase2MethodForTls() 270 mEnterpriseConfig.setPhase2Method(Phase2.MSCHAPV2); in eapPhase2None() 275 mEnterpriseConfig.setPhase2Method(Phase2.NONE); in eapPhase2None() 283 mEnterpriseConfig.setPhase2Method(Phase2.GTC); in peapGtcToTtls() 296 mEnterpriseConfig.setPhase2Method(Phase2.GTC); in ttlsGtcToPeap() 309 mEnterpriseConfig.setPhase2Method(Phase2.SIM); in peapSimAkaAkaPrime() 313 mEnterpriseConfig.setPhase2Method(Phase2.AKA); in peapSimAkaAkaPrime() 316 mEnterpriseConfig.setPhase2Method(Phase2.AKA_PRIME); in peapSimAkaAkaPrime() 329 enterpriseConfig.setPhase2Method(Phase2.GTC); in copyConstructor() [all …]
|
D | WifiConfigurationTest.java | 312 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials() 319 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testGetKeyIdForCredentials() 327 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testGetKeyIdForCredentials() 335 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials() 373 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentialsForSuggestion() 380 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testGetKeyIdForCredentialsForSuggestion() 388 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testGetKeyIdForCredentialsForSuggestion() 396 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentialsForSuggestion()
|
D | WifiNetworkSuggestionTest.java | 168 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
|
D | WifiNetworkSpecifierTest.java | 111 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | WifiConfigurationHelper.java | 128 if (phase2 == null) phase2 = WifiEnterpriseConfig.Phase2.NONE; in createEapConfig() 310 return WifiEnterpriseConfig.Phase2.PAP; in getPhase2() 313 return WifiEnterpriseConfig.Phase2.MSCHAP; in getPhase2() 316 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in getPhase2() 319 return WifiEnterpriseConfig.Phase2.GTC; in getPhase2()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 94 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testEnterpriseConfigAdded() 121 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testEnterpriseConfigPhase2ChangeDetected() 124 .setPhase2(WifiEnterpriseConfig.Phase2.PAP); in testEnterpriseConfigPhase2ChangeDetected() 136 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateAddedDetected() 140 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateAddedDetected() 154 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testDifferentCaCertificateDetected() 159 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testDifferentCaCertificateDetected() 173 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateChangesDetected() 178 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateChangesDetected() 192 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testWifiEnterpriseConfigNoChanges() [all …]
|
D | WifiConfigurationTestUtil.java | 372 configuration.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in createEapSuiteBNetwork() 461 config.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in createPEAPWifiEnterpriseConfigWithGTCPhase2() 470 config.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in createTLSWifiEnterpriseConfigWithNonePhase2() 479 config.setPhase2Method(WifiEnterpriseConfig.Phase2.AKA); in createTLSWifiEnterpriseConfigWithAkaPhase2()
|
D | WifiConfigManagerTest.java | 1415 network.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testUpdateWifiEnterpriseConfig() 4341 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks() 4343 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks() 4387 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities() 4398 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities() 4433 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity() 4438 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity()
|
D | ClientModeImplTest.java | 1041 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSetAnonymousIdentityWhenConnectionIsEstablished() 3636 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSupRequestIdentity_setsIdentityResponse()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 626 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() 629 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential() 632 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential() 635 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential() 735 case WifiEnterpriseConfig.Phase2.PAP: in buildUserCredentialFromEnterpriseConfig() 738 case WifiEnterpriseConfig.Phase2.MSCHAP: in buildUserCredentialFromEnterpriseConfig() 741 case WifiEnterpriseConfig.Phase2.MSCHAPV2: in buildUserCredentialFromEnterpriseConfig()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHal.java | 926 return WifiEnterpriseConfig.Phase2.NONE; in supplicantToWifiConfigurationEapPhase2Method() 928 return WifiEnterpriseConfig.Phase2.PAP; in supplicantToWifiConfigurationEapPhase2Method() 930 return WifiEnterpriseConfig.Phase2.MSCHAP; in supplicantToWifiConfigurationEapPhase2Method() 932 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in supplicantToWifiConfigurationEapPhase2Method() 934 return WifiEnterpriseConfig.Phase2.GTC; in supplicantToWifiConfigurationEapPhase2Method() 936 return WifiEnterpriseConfig.Phase2.SIM; in supplicantToWifiConfigurationEapPhase2Method() 938 return WifiEnterpriseConfig.Phase2.AKA; in supplicantToWifiConfigurationEapPhase2Method() 940 return WifiEnterpriseConfig.Phase2.AKA_PRIME; in supplicantToWifiConfigurationEapPhase2Method() 1133 case WifiEnterpriseConfig.Phase2.NONE: in wifiConfigurationToSupplicantEapPhase2Method() 1135 case WifiEnterpriseConfig.Phase2.PAP: in wifiConfigurationToSupplicantEapPhase2Method() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 310 case WifiEnterpriseConfig.Phase2.SIM: in getSimMethodForConfig() 313 case WifiEnterpriseConfig.Phase2.AKA: in getSimMethodForConfig() 316 case WifiEnterpriseConfig.Phase2.AKA_PRIME: in getSimMethodForConfig()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 1010 assertEquals(WifiEnterpriseConfig.Phase2.MSCHAPV2, wifiEnterpriseConfig.getPhase2Method()); in getWifiConfigWithUserCredential() 1166 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in convertFromWifiConfigWithUserCredential()
|
D | PasspointNetworkEvaluatorTest.java | 411 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
|
D | PasspointManagerTest.java | 1234 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredential() 1286 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredentialWithoutCaCert()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 50592 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;-><init>()V 50593 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->AUTHEAP_PREFIX:Ljava/lang/String; 50594 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->AUTH_PREFIX:Ljava/lang/String; 50595 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->strings:[Ljava/lang/String;
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 18002 public static final class WifiEnterpriseConfig.Phase2 {
|
/frameworks/base/api/ |
D | current.txt | 29743 public static final class WifiEnterpriseConfig.Phase2 {
|