/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
H A D | WifiInfo.java | 81 public final String eapMethod; field in WifiInfo 146 bundle.putString(EXTRA_PROVISIONING_WIFI_EAP_METHOD, eapMethod); in toPersistableBundle() 189 eapMethod = builder.eapMethod; in WifiInfo() 220 private String eapMethod; field in WifiInfo.Builder 252 public Builder setEapMethod(String eapMethod) { in setEapMethod() argument 253 this.eapMethod = eapMethod; in setEapMethod()
|
/aosp12/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | WifiConfigurationHelper.java | 119 public static WifiConfiguration createEapConfig(String ssid, String password, int eapMethod, in createEapConfig() argument 136 config.enterpriseConfig.setEapMethod(eapMethod); in createEapConfig() 216 int eapMethod = getEapMethod(jsonConfig.getString("eap")); in getWifiConfiguration() local 237 config = createEapConfig(ssid, password, eapMethod, phase2, identity, in getWifiConfiguration() 299 private static int getEapMethod(String eapMethod) { in getEapMethod() argument 300 if ("TLS".equalsIgnoreCase(eapMethod)) { in getEapMethod() 303 if ("TTLS".equalsIgnoreCase(eapMethod)) { in getEapMethod() 306 if ("PEAP".equalsIgnoreCase(eapMethod)) { in getEapMethod()
|
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
H A D | WifiConfigurationProvider.java | 151 if (!isEAPWifiInfoValid(wifiInfo.eapMethod)) { in maybeUpdateForEAPConfigurationOrThrow() 152 ProvisionLogger.loge("Unknown EAP method: " + wifiInfo.eapMethod); in maybeUpdateForEAPConfigurationOrThrow() 171 wifiEnterpriseConfig.setEapMethod(getEAPMethodFromString(wifiInfo.eapMethod)); in updateWifiEnterpriseConfigFromWifiInfo() 234 private boolean isEAPWifiInfoValid(String eapMethod) { in isEAPWifiInfoValid() argument 235 return EAP_METHODS.containsKey(eapMethod); in isEAPWifiInfoValid() 339 private int getEAPMethodFromString(String eapMethod) { in getEAPMethodFromString() argument 340 if (EAP_METHODS.containsKey(eapMethod)) { in getEAPMethodFromString() 341 return EAP_METHODS.get(eapMethod); in getEAPMethodFromString() 343 throw new IllegalArgumentException("Unknown EAP method: " + eapMethod); in getEAPMethodFromString()
|
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
H A D | WifiEnterpriseConfigTest.java | 624 private void testIsEnterpriseConfigServerCertEnabled(int eapMethod) { in testIsEnterpriseConfigServerCertEnabled() argument 625 WifiEnterpriseConfig configWithCertAndDomainSuffixMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 630 WifiEnterpriseConfig configWithCertAndAltSubjectMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 635 WifiEnterpriseConfig configWithAliasAndDomainSuffixMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 641 WifiEnterpriseConfig configWithAliasAndAltSubjectMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 647 private WifiEnterpriseConfig createEnterpriseConfig(int eapMethod, int phase2Method, in createEnterpriseConfig() argument 651 config.setEapMethod(eapMethod); in createEnterpriseConfig()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
H A D | WifiConfigurationTestUtil.java | 418 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument 419 return createEapNetwork(createNewSSID(), eapMethod, phase2Method); in createEapNetwork() 422 public static WifiConfiguration createEapNetwork(String ssid, int eapMethod, int phase2Method) { in createEapNetwork() argument 426 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createEapNetwork() 427 configuration.enterpriseConfig.setEapMethod(eapMethod); in createEapNetwork() 438 int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument 439 return createWpa2Wpa3EnterpriseNetwork(createNewSSID(), eapMethod, phase2Method); in createWpa2Wpa3EnterpriseNetwork() 450 String ssid, int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument 454 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createWpa2Wpa3EnterpriseNetwork() 455 configuration.enterpriseConfig.setEapMethod(eapMethod); in createWpa2Wpa3EnterpriseNetwork()
|
H A D | WifiConfigurationUtilTest.java | 1075 EnterpriseConfig(int eapMethod) { in EnterpriseConfig() argument 1077 enterpriseConfig.setEapMethod(eapMethod); in EnterpriseConfig() 1078 eap = WifiEnterpriseConfig.Eap.strings[eapMethod]; in EnterpriseConfig()
|
H A D | SupplicantStaNetworkHalTest.java | 1947 mSupplicantVariables.eapMethod = method; in setupISupplicantNetworkMock() 1955 if (mSupplicantVariables.eapMethod == -1) { in setupISupplicantNetworkMock() 1956 cb.onValues(mStatusFailure, mSupplicantVariables.eapMethod); in setupISupplicantNetworkMock() 1958 cb.onValues(mStatusSuccess, mSupplicantVariables.eapMethod); in setupISupplicantNetworkMock() 2334 public int eapMethod = -1; field in SupplicantStaNetworkHalTest.SupplicantNetworkVariables
|
H A D | WifiMetricsTest.java | 1845 mDecodedProto.connectionEvent[0].routerFingerprint.eapMethod); in setupNetworkAndVerify() 1855 mDecodedProto.connectionEvent[1].routerFingerprint.eapMethod); in setupNetworkAndVerify()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
H A D | WifiConfigurationProviderTest.java | 360 private WifiInfo buildTestWifiInfoForEAPJustAuthMethods(String eapMethod, String phase2Auth) { in buildTestWifiInfoForEAPJustAuthMethods() argument 362 .setEapMethod(eapMethod) in buildTestWifiInfoForEAPJustAuthMethods() 448 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument 449 assertEquals(eapMethod, wifiConf.enterpriseConfig.getEapMethod()); in assertEAP_MethodAndPhase2Auth()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | WifiCarrierInfoManager.java | 855 String eapMethod = EAP_METHOD_PREFIX.get(config.enterpriseConfig.getEapMethod()); in getAnonymousIdentityWith3GppRealm() local 856 if (!TextUtils.isEmpty(eapMethod)) { in getAnonymousIdentityWith3GppRealm() 857 sb.append(eapMethod); in getAnonymousIdentityWith3GppRealm() 955 private String buildIdentity(int eapMethod, String imsi, String mccMnc, in buildIdentity() argument 962 String prefix = isEncrypted ? DEFAULT_EAP_PREFIX : EAP_METHOD_PREFIX.get(eapMethod); in buildIdentity() 985 int eapMethod = config.enterpriseConfig.getEapMethod(); in getSimMethodForConfig() local 986 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) { in getSimMethodForConfig() 990 eapMethod = WifiEnterpriseConfig.Eap.SIM; in getSimMethodForConfig() 993 eapMethod = WifiEnterpriseConfig.Eap.AKA; in getSimMethodForConfig() 996 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in getSimMethodForConfig() [all …]
|
H A D | WifiMetrics.java | 640 sb.append(", mEapMethod=" + mRouterFingerPrintProto.eapMethod); in toString() 666 private int getEapMethodProto(int eapMethod) { in getEapMethodProto() argument 667 switch (eapMethod) { in getEapMethodProto() 1351 int eapMethod = config.enterpriseConfig.getEapMethod(); in updateFromWifiConfiguration() local 1352 mRouterFingerPrint.mRouterFingerPrintProto.eapMethod = in updateFromWifiConfiguration() 1353 getEapMethodProto(eapMethod); in updateFromWifiConfiguration()
|
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiConfigController2.java | 647 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig() 648 switch (eapMethod) { in getConfig() 755 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig() 758 } else if (eapMethod == Eap.PWD) { in getConfig() 1058 final int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local 1060 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields() 1061 mLastShownEapMethod = eapMethod; in showSecurityFields() 1062 showEapFieldsByMethod(eapMethod); in showSecurityFields() 1063 switch (eapMethod) { in showSecurityFields() 1196 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument [all …]
|
H A D | WifiConfigController.java | 665 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local 667 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig() 668 switch (eapMethod) { in getConfig() 770 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig() 773 } else if (eapMethod == Eap.PWD) { in getConfig() 1080 final int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local 1082 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields() 1083 showEapFieldsByMethod(eapMethod); in showSecurityFields() 1084 switch (eapMethod) { in showSecurityFields() 1218 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument [all …]
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/ |
H A D | WifiEnterpriseConfig.java | 532 String eapMethod = loader.loadValue(EAP_KEY); in loadFromSupplicant() local 533 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant() 550 public void setEapMethod(int eapMethod) { in setEapMethod() argument 551 switch (eapMethod) { in setEapMethod() 554 mEapMethod = eapMethod; in setEapMethod() 567 mEapMethod = eapMethod; in setEapMethod()
|
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
H A D | EapSimAkaTypeData.java | 106 String eapMethod, in EapSimAkaTypeDataDecoder() argument 111 this.mEapMethod = eapMethod; in EapSimAkaTypeDataDecoder()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | PasspointProvider.java | 971 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in buildEnterpriseConfigForSimCredential() local 974 eapMethod = WifiEnterpriseConfig.Eap.SIM; in buildEnterpriseConfigForSimCredential() 977 eapMethod = WifiEnterpriseConfig.Eap.AKA; in buildEnterpriseConfigForSimCredential() 980 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in buildEnterpriseConfigForSimCredential() 988 config.setEapMethod(eapMethod); in buildEnterpriseConfigForSimCredential()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
H A D | WifiInfoTest.java | 68 assertEquals(TEST_EAP_METHOD, wifiInfo.eapMethod); in testBuilderWriteAndReadBack()
|
/aosp12/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
H A D | MoreWirelessSettingsTest2.java | 686 private void selectEAPMethod(String eapMethod) throws Exception { in selectEAPMethod() argument 691 findOrScrollToObject(SPINNER_OPTIONS_SCROLLABLE_BY_SELECTOR, By.text(eapMethod)).click(); in selectEAPMethod()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | PasspointProviderTest.java | 225 EAPMethod eapMethod = new EAPMethod(eapMethodID, authParamMap); in createNAIRealmElement() local 227 Arrays.asList(new EAPMethod[]{eapMethod})); in createNAIRealmElement()
|
/aosp12/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |