Lines Matching refs:HomeSP
16 import com.android.hotspot2.pps.HomeSP;
34 public static WifiConfiguration buildConfig(HomeSP homeSP, X509Certificate caCert,
38 Credential credential = homeSP.getCredential();
48 config = buildTTLSConfig(homeSP);
51 config = buildTLSConfig(homeSP, clientChain, key);
60 config = buildSIMConfig(homeSP);
98 private static WifiConfiguration buildTTLSConfig(HomeSP homeSP)
100 Credential credential = homeSP.getCredential();
114 WifiConfiguration config = buildBaseConfiguration(homeSP);
124 private static WifiConfiguration buildTLSConfig(HomeSP homeSP,
129 Credential credential = homeSP.getCredential();
157 WifiConfiguration config = buildBaseConfiguration(homeSP);
165 private static WifiConfiguration buildSIMConfig(HomeSP homeSP)
168 Credential credential = homeSP.getCredential();
190 WifiConfiguration config = buildBaseConfiguration(homeSP);
195 private static WifiConfiguration buildBaseConfiguration(HomeSP homeSP) throws IOException {
196 EAP.EAPMethodID eapMethodID = homeSP.getCredential().getEAPMethod().getEAPMethodID();
200 config.FQDN = homeSP.getFQDN();
202 HashSet<Long> roamingConsortiumIds = homeSP.getRoamingConsortiums();
209 config.providerFriendlyName = homeSP.getFriendlyName();
216 enterpriseConfig.setRealm(homeSP.getCredential().getRealm());
217 if (homeSP.getUpdateIdentifier() >= 0) {
218 config.updateIdentifier = Integer.toString(homeSP.getUpdateIdentifier());
221 if (homeSP.getUpdateIdentifier() >= 0) {
222 config.updateIdentifier = Integer.toString(homeSP.getUpdateIdentifier());