Searched refs:wifiEnterpriseConfig (Results 1 – 2 of 2) sorted by relevance
162 WifiEnterpriseConfig wifiEnterpriseConfig = new WifiEnterpriseConfig(); in maybeUpdateForEAPConfigurationOrThrow() local163 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() argument171 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 …]
341 WifiEnterpriseConfig wifiEnterpriseConfig = wifiConfig.enterpriseConfig; in verifyWifiConfigWithTestData() local355 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 …]