Searched refs:phase2Auth (Results 1 – 4 of 4) sorted by relevance
88 public final String phase2Auth; field in WifiInfo147 bundle.putString(EXTRA_PROVISIONING_WIFI_PHASE2_AUTH, phase2Auth); in toPersistableBundle()190 phase2Auth = builder.phase2Auth; in WifiInfo()221 private String phase2Auth; field in WifiInfo.Builder257 public Builder setPhase2Auth(String phase2Auth) { in setPhase2Auth() argument258 this.phase2Auth = phase2Auth; in setPhase2Auth()
151 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() argument227 return PHASE2_AUTH.containsKey(phase2Auth); in isPhase2AuthWifiInfoValid()339 private int getPhase2AuthFromString(String phase2Auth) { in getPhase2AuthFromString() argument340 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()
353 private WifiInfo buildTestWifiInfoForEAPJustAuthMethods(String eapMethod, String phase2Auth) { in buildTestWifiInfoForEAPJustAuthMethods() argument356 .setPhase2Auth(phase2Auth) in buildTestWifiInfoForEAPJustAuthMethods()442 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument444 assertEquals(phase2Auth, wifiConf.enterpriseConfig.getPhase2Method()); in assertEAP_MethodAndPhase2Auth()
69 assertEquals(TEST_PHASE2_AUTH, wifiInfo.phase2Auth); in testBuilderWriteAndReadBack()