Home
last modified time | relevance | path

Searched refs:WifiConfigurationUtil (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java23 import static com.android.server.wifi.WifiConfigurationUtil.addSecurityTypeToNetworkId;
24 import static com.android.server.wifi.WifiConfigurationUtil.convertWifiInfoSecurityTypeToWifiConfig…
84 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged( in testEnterpriseConfigAdded()
96 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testEnterpriseConfigEapChangeDetected()
112 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testEnterpriseConfigPhase2ChangeDetected()
130 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged( in testCaCertificateAddedDetected()
149 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testDifferentCaCertificateDetected()
168 assertTrue(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testCaCertificateChangesDetected()
188 assertFalse(WifiConfigurationUtil.hasEnterpriseConfigChanged(eapConfig.enterpriseConfig, in testWifiEnterpriseConfigNoChanges()
198 assertTrue(WifiConfigurationUtil.validate( in testValidatePositiveCases_AsciiSsidString()
[all …]
DWifiServiceImplTest.java2422 assertEquals(TEST_NETWORK_ID, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testConnectedIdsAreVisibleFromPermittedApp()
2451 assertEquals(TEST_NETWORK_ID, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testConnectedIdsFromSecondaryCmmAreVisibleFromAppRequestingSecondaryCmm()
2480 assertEquals(TEST_NETWORK_ID, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testConnectedIdsFromPrimaryCmmAreVisibleFromAppNotRequestingSecondaryCmm()
4071 assertEquals(0, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testAddPasspointProfileViaAddNetwork()
5699 assertEquals(0, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testAddOrUpdateNetworkIsAllowedForAppsTargetingBelowQSdk()
5721 assertEquals(0, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testAddOrUpdateNetworkIsAllowedForSettingsApp()
5747 assertEquals(0, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testAddOrUpdateNetworkIsAllowedForSystemApp()
5771 assertEquals(0, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testAddOrUpdateNetworkIsAllowedForAppsWithSystemAlertPermission()
5795 assertEquals(0, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testAddOrUpdateNetworkIsAllowedForDOApp()
5818 assertEquals(0, WifiConfigurationUtil.removeSecurityTypeFromNetworkId( in testAddOrUpdateNetworkIsAllowedForPOApp()
[all …]
DWifiNetworkSelectorTestUtil.java290 if (!WifiConfigurationUtil.validate(configs[index], true)) { in generateWifiConfigurations()
DDppManagerTest.java585 eq(WifiConfigurationUtil.addSecurityTypeToNetworkId( in testStartDppAsEnrolleeInitiatorStartCorrectlyOnSuccessCallback()
1157 eq(WifiConfigurationUtil.addSecurityTypeToNetworkId( in testStartDppAsEnrolleeResponderStartCorrectlyOnSuccessCallback()
DWifiConfigurationTestUtil.java646 && WifiConfigurationUtil.hasAnyValidWepKey(configuration.wepKeys)) { in getScanResultCapsForNetwork()
DClientModeImplTest.java858 .filter(WifiConfigurationUtil::isSecurityParamsValid) in triggerConnect()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java227 private final WifiConfigurationUtil.WifiConfigurationComparator mScanListComparator =
228 new WifiConfigurationUtil.WifiConfigurationComparator() {
1004 WifiConfigurationUtil.addUpgradableSecurityTypeIfNecessary(externalConfig); in mergeSecurityParamsListWithInternalWifiConfiguration()
1266 if (!WifiConfigurationUtil.validate(config, WifiConfigurationUtil.VALIDATE_FOR_ADD)) { in addOrUpdateNetworkInternal()
1280 if (!WifiConfigurationUtil.validate( in addOrUpdateNetworkInternal()
1281 config, WifiConfigurationUtil.VALIDATE_FOR_UPDATE)) { in addOrUpdateNetworkInternal()
1300 if (!WifiConfigurationUtil.addUpgradableSecurityTypeIfNecessary(newInternalConfig)) { in addOrUpdateNetworkInternal()
1305 if (WifiConfigurationUtil.hasProxyChanged(existingInternalConfig, newInternalConfig) in addOrUpdateNetworkInternal()
1313 if (WifiConfigurationUtil.hasMacRandomizationSettingsChanged(existingInternalConfig, in addOrUpdateNetworkInternal()
1337 newNetwork || WifiConfigurationUtil.hasIpChanged( in addOrUpdateNetworkInternal()
[all …]
DScanResultMatchInfo.java118 if (!WifiConfigurationUtil.isSecurityParamsValid(allowedParams) in findBestMatchingSecurityParams()
164 .filter(WifiConfigurationUtil::isSecurityParamsValid) in getFirstAvailableSecurityParams()
DSupplicantStaIfaceCallbackImpl.java284 && WifiConfigurationUtil.isConfigForPskNetwork(curConfiguration) in onDisconnected()
289 && WifiConfigurationUtil.isConfigForEapNetwork(curConfiguration)) { in onDisconnected()
325 && WifiConfigurationUtil.isConfigForWepNetwork(curConfiguration)) { in handleAssocRejectEvent()
DWifiConfigurationUtil.java61 public class WifiConfigurationUtil { class
883 if (WifiConfigurationUtil.hasCredentialChanged(config, config1)) { in isSameNetwork()
DSupplicantStaIfaceCallbackV1_3Impl.java177 if (WifiConfigurationUtil.isConfigForPskNetwork(curConfig)) return; in onPmkCacheAdded()
DWifiNetworkSuggestionsManager.java910 if (!WifiConfigurationUtil.addUpgradableSecurityTypeIfNecessary( in add()
1083 if (!WifiConfigurationUtil.validate(config, in validateNetworkSuggestions()
1084 WifiConfigurationUtil.VALIDATE_FOR_ADD)) { in validateNetworkSuggestions()
1810 WifiConfigurationUtil.convertMultiTypeConfigsToLegacyConfigs( in getWifiConfigForMatchedNetworkSuggestionsSharedWithUser()
DWifiCandidates.java212 this.mIsOpenNetwork = WifiConfigurationUtil.isConfigForOpenNetwork(config); in CandidateImpl()
DWifiServiceImpl.java36 import static com.android.server.wifi.WifiConfigurationUtil.addSecurityTypeToNetworkId;
37 import static com.android.server.wifi.WifiConfigurationUtil.convertWifiInfoSecurityTypeToWifiConfig…
38 import static com.android.server.wifi.WifiConfigurationUtil.removeSecurityTypeFromNetworkId;
2501 WifiConfigurationUtil.convertMultiTypeConfigsToLegacyConfigs(configs)); in getConfiguredNetworks()
2511 WifiConfigurationUtil.convertMultiTypeConfigsToLegacyConfigs(creatorConfigs)); in getConfiguredNetworks()
2545 WifiConfigurationUtil.convertMultiTypeConfigsToLegacyConfigs(configs)); in getPrivilegedConfiguredNetworks()
DWifiNetworkFactory.java680 if (!WifiConfigurationUtil.validateNetworkSpecifier(wns)) { in isRequestWithWifiNetworkSpecifierValid()
912 if (WifiConfigurationUtil.hasCredentialChanged(existingSavedNetwork, network)) { in addNetworkToWifiConfigManager()
DDppManager.java596 WifiConfigurationUtil.addSecurityTypeToNetworkId( in onSuccessConfigReceived()
DWifiMetrics.java1863 } else if (WifiConfigurationUtil.isConfigForSaeNetwork(config)) { in startConnectionEvent()
1866 } else if (WifiConfigurationUtil.isConfigForWapiPskNetwork(config)) { in startConnectionEvent()
1869 } else if (WifiConfigurationUtil.isConfigForWapiCertNetwork(config)) { in startConnectionEvent()
1872 } else if (WifiConfigurationUtil.isConfigForPskNetwork(config)) { in startConnectionEvent()
1875 } else if (WifiConfigurationUtil.isConfigForEapNetwork(config)) { in startConnectionEvent()
1878 } else if (WifiConfigurationUtil.isConfigForOweNetwork(config)) { in startConnectionEvent()
1881 } else if (WifiConfigurationUtil.isConfigForOpenNetwork(config)) { in startConnectionEvent()
DSupplicantStaIfaceHal.java999 if (WifiConfigurationUtil.isSameNetwork(config, currentConfig)) { in connectToNetwork()
1044 && !WifiConfigurationUtil.isConfigForPskNetwork(config) in connectToNetwork()
DWifiConnectivityManager.java1972 WifiConfigurationUtil.createPnoNetwork(config); in retrievePnoNetworkList()
DClientModeImpl.java1021 if (WifiConfigurationUtil.hasCredentialChanged(oldConfig, newConfig)) { in onNetworkUpdated()
6199 .filter(WifiConfigurationUtil::isSecurityParamsValid)
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp399 "com.android.server.wifi.WifiConfigurationUtil",
400 "com.android.server.wifi.WifiConfigurationUtil$*",
401 "com.android.server.wifi.WifiConfigurationUtil.**",