/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/ |
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()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/ |
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()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationTestUtil.java | 419 public static WifiConfiguration createEapNetwork(int eapMethod, int phase2Method) { in createEapNetwork() argument 420 return createEapNetwork(createNewSSID(), eapMethod, phase2Method); in createEapNetwork() 423 public static WifiConfiguration createEapNetwork(String ssid, int eapMethod, int phase2Method) { in createEapNetwork() argument 427 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createEapNetwork() 428 configuration.enterpriseConfig.setEapMethod(eapMethod); in createEapNetwork() 439 int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument 440 return createWpa2Wpa3EnterpriseNetwork(createNewSSID(), eapMethod, phase2Method); in createWpa2Wpa3EnterpriseNetwork() 451 String ssid, int eapMethod, int phase2Method) { in createWpa2Wpa3EnterpriseNetwork() argument 455 if (eapMethod != WifiEnterpriseConfig.Eap.NONE) { in createWpa2Wpa3EnterpriseNetwork() 456 configuration.enterpriseConfig.setEapMethod(eapMethod); in createWpa2Wpa3EnterpriseNetwork()
|
D | SupplicantStaNetworkHalAidlImplTest.java | 1356 mSupplicantVariables.eapMethod = method; in setupISupplicantNetworkMock() 1362 if (mSupplicantVariables.eapMethod == -1) { in setupISupplicantNetworkMock() 1365 return mSupplicantVariables.eapMethod; in setupISupplicantNetworkMock() 1618 public int eapMethod = -1; field in SupplicantStaNetworkHalAidlImplTest.SupplicantNetworkVariables
|
D | WifiConfigurationUtilTest.java | 1187 EnterpriseConfig(int eapMethod) { in EnterpriseConfig() argument 1189 enterpriseConfig.setEapMethod(eapMethod); in EnterpriseConfig() 1190 eap = WifiEnterpriseConfig.Eap.strings[eapMethod]; in EnterpriseConfig()
|
D | SupplicantStaNetworkHalHidlImplTest.java | 1994 mSupplicantVariables.eapMethod = method; in setupISupplicantNetworkMock() 2002 if (mSupplicantVariables.eapMethod == -1) { in setupISupplicantNetworkMock() 2003 cb.onValues(mStatusFailure, mSupplicantVariables.eapMethod); in setupISupplicantNetworkMock() 2005 cb.onValues(mStatusSuccess, mSupplicantVariables.eapMethod); in setupISupplicantNetworkMock() 2381 public int eapMethod = -1; field in SupplicantStaNetworkHalHidlImplTest.SupplicantNetworkVariables
|
D | WifiMetricsTest.java | 1863 mDecodedProto.connectionEvent[0].routerFingerprint.eapMethod); in setupNetworkAndVerify() 1873 mDecodedProto.connectionEvent[1].routerFingerprint.eapMethod); in setupNetworkAndVerify()
|
D | WifiConfigManagerTest.java | 7358 private WifiConfiguration prepareTofuEapConfig(int eapMethod, int phase2Method) { in prepareTofuEapConfig() argument 7362 config.enterpriseConfig.setEapMethod(eapMethod); in prepareTofuEapConfig()
|
/packages/modules/Wifi/framework/tests/src/android/net/wifi/ |
D | WifiEnterpriseConfigTest.java | 677 private void testIsEnterpriseConfigServerCertEnabled(int eapMethod) { in testIsEnterpriseConfigServerCertEnabled() argument 678 WifiEnterpriseConfig configWithCertAndDomainSuffixMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 683 WifiEnterpriseConfig configWithCertAndAltSubjectMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 688 WifiEnterpriseConfig configWithAliasAndDomainSuffixMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 694 WifiEnterpriseConfig configWithAliasAndAltSubjectMatch = createEnterpriseConfig(eapMethod, in testIsEnterpriseConfigServerCertEnabled() 700 private WifiEnterpriseConfig createEnterpriseConfig(int eapMethod, int phase2Method, in createEnterpriseConfig() argument 704 config.setEapMethod(eapMethod); in createEnterpriseConfig()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController2.java | 650 int eapMethod = mEapMethodSpinner.getSelectedItemPosition(); in getConfig() local 652 config.enterpriseConfig.setEapMethod(eapMethod); in getConfig() 653 switch (eapMethod) { in getConfig() 762 if (eapMethod == Eap.SIM || eapMethod == Eap.AKA || eapMethod == Eap.AKA_PRIME) { in getConfig() 765 } else if (eapMethod == Eap.PWD) { in getConfig() 1065 final int eapMethod = enterpriseConfig.getEapMethod(); in showSecurityFields() local 1067 mEapMethodSpinner.setSelection(eapMethod); in showSecurityFields() 1068 mLastShownEapMethod = eapMethod; in showSecurityFields() 1069 showEapFieldsByMethod(eapMethod); in showSecurityFields() 1070 switch (eapMethod) { in showSecurityFields() [all …]
|
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 …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 904 String eapMethod = EAP_METHOD_PREFIX.get(config.enterpriseConfig.getEapMethod()); in getAnonymousIdentityWith3GppRealm() local 905 if (!TextUtils.isEmpty(eapMethod)) { in getAnonymousIdentityWith3GppRealm() 906 sb.append(eapMethod); in getAnonymousIdentityWith3GppRealm() 1004 private String buildIdentity(int eapMethod, String imsi, String mccMnc, in buildIdentity() argument 1011 String prefix = isEncrypted ? DEFAULT_EAP_PREFIX : EAP_METHOD_PREFIX.get(eapMethod); in buildIdentity() 1034 int eapMethod = config.enterpriseConfig.getEapMethod(); in getSimMethodForConfig() local 1035 if (eapMethod == WifiEnterpriseConfig.Eap.PEAP) { in getSimMethodForConfig() 1039 eapMethod = WifiEnterpriseConfig.Eap.SIM; in getSimMethodForConfig() 1042 eapMethod = WifiEnterpriseConfig.Eap.AKA; in getSimMethodForConfig() 1045 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in getSimMethodForConfig() [all …]
|
D | WifiMetrics.java | 646 sb.append(", mEapMethod=" + mRouterFingerPrintProto.eapMethod); in toString() 672 private int getEapMethodProto(int eapMethod) { in getEapMethodProto() argument 673 switch (eapMethod) { in getEapMethodProto() 1370 int eapMethod = config.enterpriseConfig.getEapMethod(); in updateFromWifiConfiguration() local 1371 mRouterFingerPrint.mRouterFingerPrintProto.eapMethod = in updateFromWifiConfiguration() 1372 getEapMethodProto(eapMethod); in updateFromWifiConfiguration()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/ |
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()
|
/packages/modules/Wifi/framework/java/android/net/wifi/ |
D | WifiEnterpriseConfig.java | 551 String eapMethod = loader.loadValue(EAP_KEY); in loadFromSupplicant() local 552 mEapMethod = getStringIndex(Eap.strings, eapMethod, Eap.NONE); in loadFromSupplicant() 569 public void setEapMethod(int eapMethod) { in setEapMethod() argument 570 switch (eapMethod) { in setEapMethod() 573 mEapMethod = eapMethod; in setEapMethod() 586 mEapMethod = eapMethod; in setEapMethod()
|
/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/ |
D | EapSimAkaTypeData.java | 106 String eapMethod, in EapSimAkaTypeDataDecoder() argument 111 this.mEapMethod = eapMethod; in EapSimAkaTypeDataDecoder()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointProvider.java | 997 int eapMethod = WifiEnterpriseConfig.Eap.NONE; in buildEnterpriseConfigForSimCredential() local 1000 eapMethod = WifiEnterpriseConfig.Eap.SIM; in buildEnterpriseConfigForSimCredential() 1003 eapMethod = WifiEnterpriseConfig.Eap.AKA; in buildEnterpriseConfigForSimCredential() 1006 eapMethod = WifiEnterpriseConfig.Eap.AKA_PRIME; in buildEnterpriseConfigForSimCredential() 1014 config.setEapMethod(eapMethod); in buildEnterpriseConfigForSimCredential()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
D | WifiInfoTest.java | 68 assertEquals(TEST_EAP_METHOD, wifiInfo.eapMethod); in testBuilderWriteAndReadBack()
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/ |
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()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointProviderTest.java | 232 EAPMethod eapMethod = new EAPMethod(eapMethodID, authParamMap); in createNAIRealmElement() local 234 Arrays.asList(new EAPMethod[]{eapMethod})); in createNAIRealmElement()
|