/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 | 76 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 | 314 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials() 321 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testGetKeyIdForCredentials() 329 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testGetKeyIdForCredentials() 337 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentials() 375 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testGetKeyIdForCredentialsForSuggestion() 382 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testGetKeyIdForCredentialsForSuggestion() 390 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testGetKeyIdForCredentialsForSuggestion() 398 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 | 129 if (phase2 == null) phase2 = WifiEnterpriseConfig.Phase2.NONE; in createEapConfig() 317 return WifiEnterpriseConfig.Phase2.PAP; in getPhase2() 320 return WifiEnterpriseConfig.Phase2.MSCHAP; in getPhase2() 323 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in getPhase2() 326 return WifiEnterpriseConfig.Phase2.GTC; in getPhase2()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 89 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testEnterpriseConfigAdded() 116 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testEnterpriseConfigPhase2ChangeDetected() 119 .setPhase2(WifiEnterpriseConfig.Phase2.PAP); in testEnterpriseConfigPhase2ChangeDetected() 131 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateAddedDetected() 135 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateAddedDetected() 149 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testDifferentCaCertificateDetected() 154 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testDifferentCaCertificateDetected() 168 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateChangesDetected() 173 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testCaCertificateChangesDetected() 187 .setPhase2(WifiEnterpriseConfig.Phase2.MSCHAPV2) in testWifiEnterpriseConfigNoChanges() [all …]
|
D | WifiConfigurationTestUtil.java | 373 configuration.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in createEapSuiteBNetwork() 462 config.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in createPEAPWifiEnterpriseConfigWithGTCPhase2() 471 config.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in createTLSWifiEnterpriseConfigWithNonePhase2() 480 config.setPhase2Method(WifiEnterpriseConfig.Phase2.AKA); in createTLSWifiEnterpriseConfigWithAkaPhase2()
|
D | WifiConfigManagerTest.java | 1430 network.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testUpdateWifiEnterpriseConfig() 4394 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks() 4396 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks() 4440 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities() 4451 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities() 4486 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity() 4491 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity()
|
D | ClientModeImplTest.java | 1054 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSetAnonymousIdentityWhenConnectionIsEstablishedNoPseudonym() 1105 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithPseudonym() 1154 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSetAnonymousIdentityWhenConnectionIsEstablishedWithNonDecoratedPseudonym() 3841 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSupRequestIdentity_setsIdentityResponse()
|
D | WifiMetricsTest.java | 1376 config.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.MSCHAPV2); in testScanDetailAndWifiConfigurationUsage()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 728 int phase2Method = WifiEnterpriseConfig.Phase2.NONE; in buildEnterpriseConfigForUserCredential() 731 phase2Method = WifiEnterpriseConfig.Phase2.PAP; in buildEnterpriseConfigForUserCredential() 734 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAP; in buildEnterpriseConfigForUserCredential() 737 phase2Method = WifiEnterpriseConfig.Phase2.MSCHAPV2; in buildEnterpriseConfigForUserCredential() 837 case WifiEnterpriseConfig.Phase2.PAP: in buildUserCredentialFromEnterpriseConfig() 840 case WifiEnterpriseConfig.Phase2.MSCHAP: in buildUserCredentialFromEnterpriseConfig() 843 case WifiEnterpriseConfig.Phase2.MSCHAPV2: in buildUserCredentialFromEnterpriseConfig()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | SupplicantStaNetworkHal.java | 918 return WifiEnterpriseConfig.Phase2.NONE; in supplicantToWifiConfigurationEapPhase2Method() 920 return WifiEnterpriseConfig.Phase2.PAP; in supplicantToWifiConfigurationEapPhase2Method() 922 return WifiEnterpriseConfig.Phase2.MSCHAP; in supplicantToWifiConfigurationEapPhase2Method() 924 return WifiEnterpriseConfig.Phase2.MSCHAPV2; in supplicantToWifiConfigurationEapPhase2Method() 926 return WifiEnterpriseConfig.Phase2.GTC; in supplicantToWifiConfigurationEapPhase2Method() 928 return WifiEnterpriseConfig.Phase2.SIM; in supplicantToWifiConfigurationEapPhase2Method() 930 return WifiEnterpriseConfig.Phase2.AKA; in supplicantToWifiConfigurationEapPhase2Method() 932 return WifiEnterpriseConfig.Phase2.AKA_PRIME; in supplicantToWifiConfigurationEapPhase2Method() 1125 case WifiEnterpriseConfig.Phase2.NONE: in wifiConfigurationToSupplicantEapPhase2Method() 1127 case WifiEnterpriseConfig.Phase2.PAP: in wifiConfigurationToSupplicantEapPhase2Method() [all …]
|
D | WifiMetrics.java | 558 case WifiEnterpriseConfig.Phase2.PAP: in getAuthPhase2MethodProto() 560 case WifiEnterpriseConfig.Phase2.MSCHAP: in getAuthPhase2MethodProto() 562 case WifiEnterpriseConfig.Phase2.MSCHAPV2: in getAuthPhase2MethodProto() 564 case WifiEnterpriseConfig.Phase2.GTC: in getAuthPhase2MethodProto() 566 case WifiEnterpriseConfig.Phase2.SIM: in getAuthPhase2MethodProto() 568 case WifiEnterpriseConfig.Phase2.AKA: in getAuthPhase2MethodProto() 570 case WifiEnterpriseConfig.Phase2.AKA_PRIME: in getAuthPhase2MethodProto()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 311 case WifiEnterpriseConfig.Phase2.SIM: in getSimMethodForConfig() 314 case WifiEnterpriseConfig.Phase2.AKA: in getSimMethodForConfig() 317 case WifiEnterpriseConfig.Phase2.AKA_PRIME: in getSimMethodForConfig()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 1018 assertEquals(WifiEnterpriseConfig.Phase2.MSCHAPV2, wifiEnterpriseConfig.getPhase2Method()); in getWifiConfigWithUserCredential() 1174 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in convertFromWifiConfigWithUserCredential()
|
D | PasspointNetworkEvaluatorTest.java | 411 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
|
D | PasspointManagerTest.java | 1350 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredential() 1402 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredentialWithoutCaCert()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 47193 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;-><init>()V 47194 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->AUTHEAP_PREFIX:Ljava/lang/String; 47195 Landroid/net/wifi/WifiEnterpriseConfig$Phase2;->AUTH_PREFIX:Ljava/lang/String; 47196 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/non-updatable-api/ |
D | current.txt | 30028 public static final class WifiEnterpriseConfig.Phase2 {
|
/frameworks/base/api/ |
D | current.txt | 30172 public static final class WifiEnterpriseConfig.Phase2 {
|