Searched refs:phase2Auth (Results 1 – 4 of 4) sorted by relevance
89 public final String phase2Auth; field in WifiInfo148 bundle.putString(EXTRA_PROVISIONING_WIFI_PHASE2_AUTH, phase2Auth); in toPersistableBundle()191 phase2Auth = builder.phase2Auth; in WifiInfo()222 private String phase2Auth; field in WifiInfo.Builder264 public Builder setPhase2Auth(String phase2Auth) { in setPhase2Auth() argument265 this.phase2Auth = phase2Auth; in setPhase2Auth()
155 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() argument231 return PHASE2_AUTH.containsKey(phase2Auth); in isPhase2AuthWifiInfoValid()346 private int getPhase2AuthFromString(String phase2Auth) { in getPhase2AuthFromString() argument347 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()
360 private WifiInfo buildTestWifiInfoForEAPJustAuthMethods(String eapMethod, String phase2Auth) { in buildTestWifiInfoForEAPJustAuthMethods() argument363 .setPhase2Auth(phase2Auth) in buildTestWifiInfoForEAPJustAuthMethods()448 WifiConfiguration wifiConf, int eapMethod, int phase2Auth) { in assertEAP_MethodAndPhase2Auth() argument450 assertEquals(phase2Auth, wifiConf.enterpriseConfig.getPhase2Method()); in assertEAP_MethodAndPhase2Auth()
70 assertEquals(TEST_PHASE2_AUTH, wifiInfo.phase2Auth); in testBuilderWriteAndReadBack()