Home
last modified time | relevance | path

Searched refs:eapMethod (Results 1 – 9 of 9) 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.java147 if (!isEAPWifiInfoValid(wifiInfo.eapMethod)) { in maybeUpdateForEAPConfigurationOrThrow()
148 ProvisionLogger.loge("Unknown EAP method: " + wifiInfo.eapMethod); in maybeUpdateForEAPConfigurationOrThrow()
167 wifiEnterpriseConfig.setEapMethod(getEAPMethodFromString(wifiInfo.eapMethod)); in updateWifiEnterpriseConfigFromWifiInfo()
230 private boolean isEAPWifiInfoValid(String eapMethod) { in isEAPWifiInfoValid() argument
231 return EAP_METHODS.containsKey(eapMethod); in isEAPWifiInfoValid()
334 private int getEAPMethodFromString(String eapMethod) { in getEAPMethodFromString() argument
335 if (EAP_METHODS.containsKey(eapMethod)) { in getEAPMethodFromString()
336 return EAP_METHODS.get(eapMethod); in getEAPMethodFromString()
338 throw new IllegalArgumentException("Unknown EAP method: " + eapMethod); in getEAPMethodFromString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java648 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local
650 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig()
651 switch (eapMethod) { in getConfig()
732 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
735 } else if (eapMethod == Eap.PWD) { in getConfig()
990 int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local
992 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
993 showEapFieldsByMethod(eapMethod); in showSecurityFields()
994 switch (eapMethod) { in showSecurityFields()
1083 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController2.java664 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local
666 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig()
667 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()
1057 int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local
1059 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
1060 showEapFieldsByMethod(eapMethod); in showSecurityFields()
1061 switch (eapMethod) { in showSecurityFields()
1182 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument
[all …]
DWifiConfigController.java682 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local
684 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig()
685 switch (eapMethod) { in getConfig()
789 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
792 } else if (eapMethod == Eap.PWD) { in getConfig()
1074 int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local
1076 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
1077 showEapFieldsByMethod(eapMethod); in showSecurityFields()
1078 switch (eapMethod) { in showSecurityFields()
1199 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()
448 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument
449 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()