Home
last modified time | relevance | path

Searched refs:eapMethod (Results 1 – 8 of 8) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java81 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()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java149 if (!isEAPWifiInfoValid(wifiInfo.eapMethod)) { in maybeUpdateForEAPConfigurationOrThrow()
150 ProvisionLogger.loge("Unknown EAP method: " + wifiInfo.eapMethod); in maybeUpdateForEAPConfigurationOrThrow()
169 wifiEnterpriseConfig.setEapMethod(getEAPMethodFromString(wifiInfo.eapMethod)); in updateWifiEnterpriseConfigFromWifiInfo()
232 private boolean isEAPWifiInfoValid(String eapMethod) { in isEAPWifiInfoValid() argument
233 return EAP_METHODS.containsKey(eapMethod); in isEAPWifiInfoValid()
336 private int getEAPMethodFromString(String eapMethod) { in getEAPMethodFromString() argument
337 if (EAP_METHODS.containsKey(eapMethod)) { in getEAPMethodFromString()
338 return EAP_METHODS.get(eapMethod); in getEAPMethodFromString()
340 throw new IllegalArgumentException("Unknown EAP method: " + eapMethod); in getEAPMethodFromString()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java669 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local
671 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig()
672 switch (eapMethod) { in getConfig()
768 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
771 } else if (eapMethod == Eap.PWD) { in getConfig()
1048 final int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local
1050 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
1051 showEapFieldsByMethod(eapMethod); in showSecurityFields()
1052 switch (eapMethod) { in showSecurityFields()
1152 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java654 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local
656 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig()
657 switch (eapMethod) { in getConfig()
738 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
741 } else if (eapMethod == Eap.PWD) { in getConfig()
1000 int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local
1002 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
1003 showEapFieldsByMethod(eapMethod); in showSecurityFields()
1004 switch (eapMethod) { in showSecurityFields()
1093 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java360 private WifiInfo buildTestWifiInfoForEAPJustAuthMethods(String eapMethod, String phase2Auth) { in buildTestWifiInfoForEAPJustAuthMethods() argument
362 .setEapMethod(eapMethod) in buildTestWifiInfoForEAPJustAuthMethods()
449 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument
450 assertEquals(eapMethod, wifiConf.enterpriseConfig.getEapMethod()); in assertEAP_MethodAndPhase2Auth()
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
DEapSimAkaTypeData.java95 String eapMethod, in EapSimAkaTypeDataDecoder() argument
100 this.mEapMethod = eapMethod; in EapSimAkaTypeDataDecoder()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java68 assertEquals(TEST_EAP_METHOD, wifiInfo.eapMethod); in testBuilderWriteAndReadBack()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DMoreWirelessSettingsTest2.java686 private void selectEAPMethod(String eapMethod) throws Exception { in selectEAPMethod() argument
691 findOrScrollToObject(SPINNER_OPTIONS_SCROLLABLE_BY_SELECTOR, By.text(eapMethod)).click(); in selectEAPMethod()