Home
last modified time | relevance | path

Searched refs:eapMethod (Results 1 – 7 of 7) 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()
332 private int getEAPMethodFromString(String eapMethod) { in getEAPMethodFromString() argument
333 if (EAP_METHODS.containsKey(eapMethod)) { in getEAPMethodFromString()
334 return EAP_METHODS.get(eapMethod); in getEAPMethodFromString()
336 throw new IllegalArgumentException("Unknown EAP method: " + eapMethod); in getEAPMethodFromString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConfigController.java655 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local
657 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig()
658 switch (eapMethod) { in getConfig()
739 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
742 } else if (eapMethod == Eap.PWD) { in getConfig()
1001 int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local
1003 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
1004 showEapFieldsByMethod(eapMethod); in showSecurityFields()
1005 switch (eapMethod) { in showSecurityFields()
1094 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument
[all …]
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConfigController.java685 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local
687 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig()
688 switch (eapMethod) { in getConfig()
769 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig()
772 } else if (eapMethod == Eap.PWD) { in getConfig()
1032 int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local
1034 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields()
1035 showEapFieldsByMethod(eapMethod); in showSecurityFields()
1036 switch (eapMethod) { in showSecurityFields()
1125 private void showEapFieldsByMethod(int eapMethod) { in showEapFieldsByMethod() argument
[all …]
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java353 private WifiInfo buildTestWifiInfoForEAPJustAuthMethods(String eapMethod, String phase2Auth) { in buildTestWifiInfoForEAPJustAuthMethods() argument
355 .setEapMethod(eapMethod) in buildTestWifiInfoForEAPJustAuthMethods()
442 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument
443 assertEquals(eapMethod, wifiConf.enterpriseConfig.getEapMethod()); in assertEAP_MethodAndPhase2Auth()
/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()