Home
last modified time | relevance | path

Searched refs:externalConfig (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java1094 WifiConfiguration internalConfig, WifiConfiguration externalConfig) { in mergeSecurityParamsListWithInternalWifiConfiguration() argument
1097 internalConfig.setSecurityParams(externalConfig.getSecurityParamsList()); in mergeSecurityParamsListWithInternalWifiConfiguration()
1101 WifiConfigurationUtil.addUpgradableSecurityTypeIfNecessary(externalConfig); in mergeSecurityParamsListWithInternalWifiConfiguration()
1114 int newType = externalConfig.getDefaultSecurityParams().getSecurityType(); in mergeSecurityParamsListWithInternalWifiConfiguration()
1118 externalConfig.getDefaultSecurityParams().isAddedByAutoUpgrade()); in mergeSecurityParamsListWithInternalWifiConfiguration()
1119 } else if (externalConfig.isSecurityType(oldType)) { in mergeSecurityParamsListWithInternalWifiConfiguration()
1123 internalConfig.setSecurityParams(externalConfig.getSecurityParamsList()); in mergeSecurityParamsListWithInternalWifiConfiguration()
1129 WifiConfiguration internalConfig, WifiConfiguration externalConfig) { in mergeDppSecurityParamsWithInternalWifiConfiguration() argument
1131 if (!externalConfig.isSecurityType(WifiConfiguration.SECURITY_TYPE_DPP)) { in mergeDppSecurityParamsWithInternalWifiConfiguration()
1135 if (externalConfig.getDppConnector().length != 0 in mergeDppSecurityParamsWithInternalWifiConfiguration()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiEnterpriseConfig.java556 public void copyFromExternal(WifiEnterpriseConfig externalConfig, String mask) { in copyFromExternal() argument
557 copyFrom(externalConfig, true, convertToQuotedString(mask)); in copyFromExternal()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java1989 WifiConfiguration externalConfig = WifiConfigurationTestUtil.createEapNetwork(); in testWifiEnterpriseConfigProtectedFields() local
1990 externalConfig.enterpriseConfig.setUserApproveNoCaCert(true); in testWifiEnterpriseConfigProtectedFields()
1991 externalConfig.enterpriseConfig.setTofuDialogState( in testWifiEnterpriseConfigProtectedFields()
1994 NetworkUpdateResult result = verifyAddNetworkToWifiConfigManager(externalConfig); in testWifiEnterpriseConfigProtectedFields()
2003 result = verifyUpdateNetworkToWifiConfigManager(externalConfig); in testWifiEnterpriseConfigProtectedFields()
2013 mWifiConfigManager.setUserApproveNoCaCert(externalConfig.networkId, true); in testWifiEnterpriseConfigProtectedFields()
2014 mWifiConfigManager.setTofuDialogApproved(externalConfig.networkId, true); in testWifiEnterpriseConfigProtectedFields()
2015 externalConfig.enterpriseConfig.setUserApproveNoCaCert(false); in testWifiEnterpriseConfigProtectedFields()
2016 externalConfig.enterpriseConfig.setTofuDialogApproved(false); in testWifiEnterpriseConfigProtectedFields()
2018 result = verifyUpdateNetworkToWifiConfigManager(externalConfig); in testWifiEnterpriseConfigProtectedFields()