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.java88 public final String phase2Auth; field in WifiInfo
147 bundle.putString(EXTRA_PROVISIONING_WIFI_PHASE2_AUTH, phase2Auth); in toPersistableBundle()
190 phase2Auth = builder.phase2Auth; in WifiInfo()
221 private String phase2Auth; field in WifiInfo.Builder
257 public Builder setPhase2Auth(String phase2Auth) { in setPhase2Auth() argument
258 this.phase2Auth = phase2Auth; in setPhase2Auth()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java151 if (!isPhase2AuthWifiInfoValid(wifiInfo.phase2Auth)) { in maybeUpdateForEAPConfigurationOrThrow()
153 "Unknown phase 2 authentication method: " + wifiInfo.phase2Auth); in maybeUpdateForEAPConfigurationOrThrow()
168 wifiEnterpriseConfig.setPhase2Method(getPhase2AuthFromString(wifiInfo.phase2Auth)); in updateWifiEnterpriseConfigFromWifiInfo()
226 private boolean isPhase2AuthWifiInfoValid(String phase2Auth) { in isPhase2AuthWifiInfoValid() argument
227 return PHASE2_AUTH.containsKey(phase2Auth); in isPhase2AuthWifiInfoValid()
339 private int getPhase2AuthFromString(String phase2Auth) { in getPhase2AuthFromString() argument
340 if (PHASE2_AUTH.containsKey(phase2Auth)) { in getPhase2AuthFromString()
341 return PHASE2_AUTH.get(phase2Auth); in getPhase2AuthFromString()
343 throw new IllegalArgumentException("Unknown Phase 2 authentication method: " + phase2Auth); in getPhase2AuthFromString()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProviderTest.java353 private WifiInfo buildTestWifiInfoForEAPJustAuthMethods(String eapMethod, String phase2Auth) { in buildTestWifiInfoForEAPJustAuthMethods() argument
356 .setPhase2Auth(phase2Auth) in buildTestWifiInfoForEAPJustAuthMethods()
442 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument
444 assertEquals(phase2Auth, wifiConf.enterpriseConfig.getPhase2Method()); in assertEAP_MethodAndPhase2Auth()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/
DWifiInfoTest.java69 assertEquals(TEST_PHASE2_AUTH, wifiInfo.phase2Auth); in testBuilderWriteAndReadBack()