Home
last modified time | relevance | path

Searched refs:wifiEnterpriseConfig (Results 1 – 2 of 2) sorted by relevance

/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/wifi/
DWifiConfigurationProvider.java162 WifiEnterpriseConfig wifiEnterpriseConfig = new WifiEnterpriseConfig(); in maybeUpdateForEAPConfigurationOrThrow() local
163 updateWifiEnterpriseConfigFromWifiInfo(wifiEnterpriseConfig, wifiInfo); in maybeUpdateForEAPConfigurationOrThrow()
164 maybeUpdateClientKeyForEAPConfiguration(wifiEnterpriseConfig, wifiInfo.userCertificate); in maybeUpdateForEAPConfigurationOrThrow()
165 wifiConf.enterpriseConfig = wifiEnterpriseConfig; in maybeUpdateForEAPConfigurationOrThrow()
169 WifiEnterpriseConfig wifiEnterpriseConfig, WifiInfo wifiInfo) in updateWifiEnterpriseConfigFromWifiInfo() argument
171 wifiEnterpriseConfig.setEapMethod(getEAPMethodFromString(wifiInfo.eapMethod)); in updateWifiEnterpriseConfigFromWifiInfo()
172 wifiEnterpriseConfig.setPhase2Method(getPhase2AuthFromString(wifiInfo.phase2Auth)); in updateWifiEnterpriseConfigFromWifiInfo()
173 wifiEnterpriseConfig.setPassword(wifiInfo.password); in updateWifiEnterpriseConfigFromWifiInfo()
174 wifiEnterpriseConfig.setIdentity(wifiInfo.identity); in updateWifiEnterpriseConfigFromWifiInfo()
175 wifiEnterpriseConfig.setAnonymousIdentity(wifiInfo.anonymousIdentity); in updateWifiEnterpriseConfigFromWifiInfo()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProviderTest.java341 WifiEnterpriseConfig wifiEnterpriseConfig = wifiConfig.enterpriseConfig; in verifyWifiConfigWithTestData() local
355 assertEquals(credential.getRealm(), wifiEnterpriseConfig.getRealm()); in verifyWifiConfigWithTestData()
379 wifiEnterpriseConfig.getAnonymousIdentity()); in verifyWifiConfigWithTestData()
380 assertEquals(WifiEnterpriseConfig.Eap.TTLS, wifiEnterpriseConfig.getEapMethod()); in verifyWifiConfigWithTestData()
384 wifiEnterpriseConfig.getPhase2Method()); in verifyWifiConfigWithTestData()
388 wifiEnterpriseConfig.getPhase2Method()); in verifyWifiConfigWithTestData()
392 wifiEnterpriseConfig.getPhase2Method()); in verifyWifiConfigWithTestData()
395 assertEquals(userCredential.getUsername(), wifiEnterpriseConfig.getIdentity()); in verifyWifiConfigWithTestData()
396 assertEquals(decodedPassword, wifiEnterpriseConfig.getPassword()); in verifyWifiConfigWithTestData()
403 wifiEnterpriseConfig.getDomainSuffixMatch()); in verifyWifiConfigWithTestData()
[all …]