Home
last modified time | relevance | path

Searched refs:phase2Auth (Results 1 – 4 of 4) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/model/
DWifiInfo.java89 public final String phase2Auth; field in WifiInfo
148 bundle.putString(EXTRA_PROVISIONING_WIFI_PHASE2_AUTH, phase2Auth); in toPersistableBundle()
191 phase2Auth = builder.phase2Auth; in WifiInfo()
222 private String phase2Auth; field in WifiInfo.Builder
264 public Builder setPhase2Auth(String phase2Auth) { in setPhase2Auth() argument
265 this.phase2Auth = phase2Auth; in setPhase2Auth()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java155 if (!isPhase2AuthWifiInfoValid(wifiInfo.phase2Auth)) { in maybeUpdateForEAPConfigurationOrThrow()
157 "Unknown phase 2 authentication method: " + wifiInfo.phase2Auth); in maybeUpdateForEAPConfigurationOrThrow()
172 wifiEnterpriseConfig.setPhase2Method(getPhase2AuthFromString(wifiInfo.phase2Auth)); in updateWifiEnterpriseConfigFromWifiInfo()
230 private boolean isPhase2AuthWifiInfoValid(String phase2Auth) { in isPhase2AuthWifiInfoValid() argument
231 return PHASE2_AUTH.containsKey(phase2Auth); in isPhase2AuthWifiInfoValid()
346 private int getPhase2AuthFromString(String phase2Auth) { in getPhase2AuthFromString() argument
347 if (PHASE2_AUTH.containsKey(phase2Auth)) { in getPhase2AuthFromString()
348 return PHASE2_AUTH.get(phase2Auth); in getPhase2AuthFromString()
350 throw new IllegalArgumentException("Unknown Phase 2 authentication method: " + phase2Auth); in getPhase2AuthFromString()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java360 private WifiInfo buildTestWifiInfoForEAPJustAuthMethods(String eapMethod, String phase2Auth) { in buildTestWifiInfoForEAPJustAuthMethods() argument
363 .setPhase2Auth(phase2Auth) in buildTestWifiInfoForEAPJustAuthMethods()
448 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument
450 assertEquals(phase2Auth, wifiConf.enterpriseConfig.getPhase2Method()); in assertEAP_MethodAndPhase2Auth()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java70 assertEquals(TEST_PHASE2_AUTH, wifiInfo.phase2Auth); in testBuilderWriteAndReadBack()