Searched refs:GTC (Results 1 - 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/android/net/wifi/
H A DWifiEnterpriseConfigTest.java194 /** Verfies that the correct "autheap" parameter is supplied for TTLS/GTC. */
198 mEnterpriseConfig.setPhase2Method(Phase2.GTC);
200 assertEquals("\"auth=GTC\"", getSupplicantPhase2Method());
204 assertEquals("\"autheap=GTC\"", getSupplicantPhase2Method());
207 /** Verfies that the correct "auth" parameter is supplied for PEAP/GTC. */
211 mEnterpriseConfig.setPhase2Method(Phase2.GTC);
213 assertEquals("\"autheap=GTC\"", getSupplicantPhase2Method());
217 assertEquals("\"auth=GTC\"", getSupplicantPhase2Method());
225 enterpriseConfig.setPhase2Method(Phase2.GTC);
228 assertEquals("\"autheap=GTC\"", getSupplicantPhase2Metho
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiEnterpriseConfig.java325 public static final int GTC = 4; field in class:WifiEnterpriseConfig.Phase2
330 "MSCHAPV2", "GTC" };
389 boolean is_autheap = mEapMethod == Eap.TTLS && mPhase2Method == Phase2.GTC;
470 * {@link Phase2#GTC}
480 case Phase2.GTC:
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiConfigurationHelper.java318 if ("GTC".equalsIgnoreCase(phase2)) {
319 return WifiEnterpriseConfig.Phase2.GTC;
321 throw new IllegalArgumentException("Phase2 must be one of PAP, MSCHAP, MSCHAPV2, or GTC");

Completed in 573 milliseconds