Home
last modified time | relevance | path

Searched refs:existingConfig (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java163 public static boolean hasIpChanged(WifiConfiguration existingConfig, in hasIpChanged() argument
165 if (existingConfig.getIpAssignment() != newConfig.getIpAssignment()) { in hasIpChanged()
169 return !Objects.equals(existingConfig.getStaticIpConfiguration(), in hasIpChanged()
184 public static boolean hasProxyChanged(WifiConfiguration existingConfig, in hasProxyChanged() argument
186 if (existingConfig == null) { in hasProxyChanged()
189 if (newConfig.getProxySettings() != existingConfig.getProxySettings()) { in hasProxyChanged()
192 return !Objects.equals(existingConfig.getHttpProxy(), newConfig.getHttpProxy()); in hasProxyChanged()
203 public static boolean hasMacRandomizationSettingsChanged(WifiConfiguration existingConfig, in hasMacRandomizationSettingsChanged() argument
205 if (existingConfig == null) { in hasMacRandomizationSettingsChanged()
208 return newConfig.macRandomizationSetting != existingConfig.macRandomizationSetting; in hasMacRandomizationSettingsChanged()
[all …]
DWifiKeyStore.java91 private boolean installKeys(WifiEnterpriseConfig existingConfig, WifiEnterpriseConfig config, in installKeys() argument
103 if (existingConfig != null && existingConfig.getCaCertificateAliases() != null) { in installKeys()
105 Arrays.asList(existingConfig.getCaCertificateAliases())); in installKeys()
246 public boolean updateNetworkKeys(WifiConfiguration config, WifiConfiguration existingConfig) { in updateNetworkKeys() argument
254 String keyId = config.getKeyIdForCredentials(existingConfig); in updateNetworkKeys()
257 if (existingConfig != null) { in updateNetworkKeys()
258 Preconditions.checkNotNull(existingConfig.enterpriseConfig); in updateNetworkKeys()
259 existingEnterpriseConfig = existingConfig.enterpriseConfig; in updateNetworkKeys()
260 existingKeyId = existingConfig.getKeyIdForCredentials(existingConfig); in updateNetworkKeys()
DWifiConfigManager.java1349 WifiConfiguration existingConfig = getInternalConfiguredNetwork(config); in addOrUpdateNetwork() local
1352 if (existingConfig != null && existingConfig.isEphemeral()) { in addOrUpdateNetwork()
1357 existingConfig.networkId, existingConfig.creatorUid, config.creatorName); in addOrUpdateNetwork()
1383 createExternalWifiConfiguration(existingConfig, true, Process.WIFI_UID)); in addOrUpdateNetwork()
DWifiNetworkSuggestionsManager.java1623 WifiConfiguration existingConfig = mWifiConfigManager in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser() local
1625 if (existingConfig == null || !existingConfig.fromWifiNetworkSuggestion) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
1628 if (networkKeys.add(existingConfig.getKey())) { in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
1629 sharedWifiConfigs.add(existingConfig); in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java928 WifiConfiguration existingConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsDifferent() local
932 existingConfig, newConfig)); in testHasMacRandomizationSettingsChangedFieldsDifferent()
941 WifiConfiguration existingConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsSame() local
942 existingConfig.macRandomizationSetting = WifiConfiguration.RANDOMIZATION_NONE; in testHasMacRandomizationSettingsChangedFieldsSame()
946 existingConfig, newConfig)); in testHasMacRandomizationSettingsChangedFieldsSame()
DWifiNetworkSelectorTest.java1429 WifiConfiguration existingConfig = WifiConfigurationTestUtil.createPasspointNetwork(); in testPasspointCandidateUpdateWithLatestScanDetail() local
1430 existingConfig.SSID = ssids[1]; in testPasspointCandidateUpdateWithLatestScanDetail()
1433 .thenReturn(existingConfig); in testPasspointCandidateUpdateWithLatestScanDetail()
1440 verify(mWifiConfigManager).addOrUpdateNetwork(existingConfig, in testPasspointCandidateUpdateWithLatestScanDetail()
1441 existingConfig.creatorUid, existingConfig.creatorName); in testPasspointCandidateUpdateWithLatestScanDetail()
DWifiConfigManagerTest.java3771 public boolean answer(WifiConfiguration newConfig, WifiConfiguration existingConfig) { in testUpdateSingleNetworkWithKeysUpdate()