Home
last modified time | relevance | path

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

/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiKeyStore.java102 private boolean installKeys(WifiEnterpriseConfig existingConfig, WifiEnterpriseConfig config, in installKeys() argument
114 if (existingConfig != null && existingConfig.getCaCertificateAliases() != null in installKeys()
115 && existingConfig.isAppInstalledCaCert()) { in installKeys()
117 Arrays.asList(existingConfig.getCaCertificateAliases())); in installKeys()
139 if (existingConfig != null && existingConfig.isAppInstalledDeviceKeyAndCert()) { in installKeys()
260 public boolean updateNetworkKeys(WifiConfiguration config, WifiConfiguration existingConfig) { in updateNetworkKeys() argument
268 String keyId = config.getKeyIdForCredentials(existingConfig); in updateNetworkKeys()
271 if (existingConfig != null) { in updateNetworkKeys()
272 Preconditions.checkNotNull(existingConfig.enterpriseConfig); in updateNetworkKeys()
273 existingEnterpriseConfig = existingConfig.enterpriseConfig; in updateNetworkKeys()
[all …]
H A DWifiConfigurationUtil.java208 if (existingConfig == null) { in hasProxyChanged()
227 if (existingConfig == null) { in hasMacRandomizationSettingsChanged()
313 if (!Objects.equals(existingConfig.allowedKeyManagement, in hasCredentialChanged()
320 if (!Objects.equals(existingConfig.allowedAuthAlgorithms, in hasCredentialChanged()
324 if (!Objects.equals(existingConfig.allowedPairwiseCiphers, in hasCredentialChanged()
328 if (!Objects.equals(existingConfig.allowedGroupCiphers, in hasCredentialChanged()
336 if (!Objects.equals(existingConfig.allowedSuiteBCiphers, in hasCredentialChanged()
349 if (existingConfig.wepTxKeyIndex != newConfig.wepTxKeyIndex) { in hasCredentialChanged()
352 if (existingConfig.hiddenSSID != newConfig.hiddenSSID) { in hasCredentialChanged()
355 if (existingConfig.requirePmf != newConfig.requirePmf) { in hasCredentialChanged()
[all …]
H A DWifiConfigManager.java1418 WifiConfiguration existingConfig = getInternalConfiguredNetwork(config); in addOrUpdateNetwork() local
1421 if (existingConfig != null && existingConfig.isEphemeral()) { in addOrUpdateNetwork()
1426 existingConfig.networkId, existingConfig.creatorUid, config.creatorName); in addOrUpdateNetwork()
1452 createExternalWifiConfiguration(existingConfig, true, Process.WIFI_UID)); in addOrUpdateNetwork()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationUtilTest.java1045 WifiConfiguration existingConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsDifferent() local
1049 existingConfig, newConfig)); in testHasMacRandomizationSettingsChangedFieldsDifferent()
1058 WifiConfiguration existingConfig = new WifiConfiguration(); in testHasMacRandomizationSettingsChangedFieldsSame() local
1059 existingConfig.macRandomizationSetting = WifiConfiguration.RANDOMIZATION_NONE; in testHasMacRandomizationSettingsChangedFieldsSame()
1063 existingConfig, newConfig)); in testHasMacRandomizationSettingsChangedFieldsSame()
H A DWifiNetworkSelectorTest.java1773 WifiConfiguration existingConfig = WifiConfigurationTestUtil.createPasspointNetwork(); in testPasspointCandidateUpdateWithLatestScanDetail() local
1774 existingConfig.SSID = ssids[1]; in testPasspointCandidateUpdateWithLatestScanDetail()
1777 .thenReturn(existingConfig); in testPasspointCandidateUpdateWithLatestScanDetail()
1786 verify(mWifiConfigManager).addOrUpdateNetwork(existingConfig, in testPasspointCandidateUpdateWithLatestScanDetail()
1787 existingConfig.creatorUid, existingConfig.creatorName); in testPasspointCandidateUpdateWithLatestScanDetail()
H A DWifiConfigManagerTest.java4164 public boolean answer(WifiConfiguration newConfig, WifiConfiguration existingConfig) { in testUpdateSingleNetworkWithKeysUpdate()
/aosp12/hardware/qcom/display/msm8994/libhwcomposer/
H A DHWC2On1Adapter.cpp1210 for (auto& existingConfig : mConfigs) { in populateConfigs() local
1211 if (existingConfig->merge(*newConfig)) { in populateConfigs()
1213 hwc1ConfigId, existingConfig->getId(), in populateConfigs()
1214 existingConfig->toString().c_str()); in populateConfigs()
/aosp12/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
H A DHWC2On1Adapter.cpp1166 for (auto& existingConfig : mConfigs) { in populateConfigs() local
1167 if (existingConfig->merge(*newConfig)) { in populateConfigs()
1169 hwc1ConfigId, existingConfig->getId(), in populateConfigs()
1170 existingConfig->toString().c_str()); in populateConfigs()