Searched refs:Phase2 (Results 1 – 19 of 19) sorted by relevance
141 private int mPhase2Method = Phase2.NONE;292 public static final class Phase2 { class in WifiEnterpriseConfig315 private Phase2() {} in Phase2() method in WifiEnterpriseConfig.Phase2378 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 …]
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 …]
73 private static final int TEST_PHASE2_METHOD = WifiEnterpriseConfig.Phase2.MSCHAPV2;
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 …]
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()
168 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testWifiNetworkSuggestionBuilderForWpa3EapNetwork()
111 enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.GTC); in testWifiNetworkSpecifierBuilderForWpa2EapHiddenNetworkWithSsidAndBssid()
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()
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 …]
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()
1373 network.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.NONE); in testUpdateWifiEnterpriseConfig()4299 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks()4301 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks()4345 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.SIM); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()4356 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testResetSimNetworks_getSimIdentityNull_shouldResetAllNonPeapSimIdentities()4391 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity()4396 WifiEnterpriseConfig.Eap.PEAP, WifiEnterpriseConfig.Phase2.NONE); in testLoadFromStoreResetsSimIdentity()
1041 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSetAnonymousIdentityWhenConnectionIsEstablished()3636 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE)); in testSupRequestIdentity_setsIdentityResponse()
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()
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 …]
310 case WifiEnterpriseConfig.Phase2.SIM: in getSimMethodForConfig()313 case WifiEnterpriseConfig.Phase2.AKA: in getSimMethodForConfig()316 case WifiEnterpriseConfig.Phase2.AKA_PRIME: in getSimMethodForConfig()
1010 assertEquals(WifiEnterpriseConfig.Phase2.MSCHAPV2, wifiEnterpriseConfig.getPhase2Method()); in getWifiConfigWithUserCredential()1166 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in convertFromWifiConfigWithUserCredential()
411 WifiEnterpriseConfig.Eap.SIM, WifiEnterpriseConfig.Phase2.NONE); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
1348 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredential()1400 wifiConfig.enterpriseConfig.setPhase2Method(WifiEnterpriseConfig.Phase2.PAP); in addLegacyPasspointConfigWithUserCredentialWithoutCaCert()
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...