Searched refs:existingConfig (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiConfigurationUtil.java | 181 public static boolean hasIpChanged(WifiConfiguration existingConfig, in hasIpChanged() argument 183 if (existingConfig.getIpAssignment() != newConfig.getIpAssignment()) { in hasIpChanged() 187 return !Objects.equals(existingConfig.getStaticIpConfiguration(), in hasIpChanged() 202 public static boolean hasProxyChanged(WifiConfiguration existingConfig, in hasProxyChanged() argument 204 if (existingConfig == null) { in hasProxyChanged() 207 if (newConfig.getProxySettings() != existingConfig.getProxySettings()) { in hasProxyChanged() 210 return !Objects.equals(existingConfig.getHttpProxy(), newConfig.getHttpProxy()); in hasProxyChanged() 221 public static boolean hasMacRandomizationSettingsChanged(WifiConfiguration existingConfig, in hasMacRandomizationSettingsChanged() argument 223 if (existingConfig == null) { in hasMacRandomizationSettingsChanged() 226 return newConfig.macRandomizationSetting != existingConfig.macRandomizationSetting; in hasMacRandomizationSettingsChanged() [all …]
|
D | WifiKeyStore.java | 86 private boolean installKeys(WifiEnterpriseConfig existingConfig, WifiEnterpriseConfig config, in installKeys() argument 118 if (existingConfig != null && existingConfig.getCaCertificateAliases() != null) { in installKeys() 120 Arrays.asList(existingConfig.getCaCertificateAliases())); in installKeys() 279 public boolean updateNetworkKeys(WifiConfiguration config, WifiConfiguration existingConfig) { in updateNetworkKeys() argument 290 String keyId = config.getKeyIdForCredentials(existingConfig); in updateNetworkKeys() 291 if (!installKeys(existingConfig != null in updateNetworkKeys() 292 ? existingConfig.enterpriseConfig : null, enterpriseConfig, keyId)) { in updateNetworkKeys()
|
D | WifiConfigManager.java | 1316 WifiConfiguration existingConfig = getConfiguredNetwork(config.configKey()); in addOrUpdateNetwork() local 1317 if (existingConfig != null && existingConfig.isEphemeral()) { in addOrUpdateNetwork() 1321 removeNetwork(existingConfig.networkId, mSystemUiUid); in addOrUpdateNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiConfigurationUtilTest.java | 943 WifiConfiguration existingConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsDifferent() local 947 existingConfig, newConfig)); in testHasMacRandomizationSettingsChangedFieldsDifferent() 956 WifiConfiguration existingConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsSame() local 957 existingConfig.macRandomizationSetting = WifiConfiguration.RANDOMIZATION_NONE; in testHasMacRandomizationSettingsChangedFieldsSame() 961 existingConfig, newConfig)); in testHasMacRandomizationSettingsChangedFieldsSame()
|
D | WifiConfigManagerTest.java | 3816 public boolean answer(WifiConfiguration newConfig, WifiConfiguration existingConfig) { in testUpdateSingleNetworkWithKeysUpdate()
|