Searched refs:savedConfigs (Results 1 – 4 of 4) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SavedNetworkEvaluatorTest.java | 171 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in ignoreNetworksIfUseExternalScores() local 172 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreNetworksIfUseExternalScores() 198 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in ignoreEphemeralNetworks() local 199 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreEphemeralNetworks() 266 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in chooseStrongerRssi2GNetwork() local 272 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in chooseStrongerRssi2GNetwork() 294 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in chooseStrongerRssi5GNetwork() local 300 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in chooseStrongerRssi5GNetwork() 321 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in chooseSecureNetworkOverOpenNetwork() local 327 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in chooseSecureNetworkOverOpenNetwork() [all …]
|
D | ScoredNetworkEvaluatorTest.java | 456 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in testEvaluateNetworks_chooseSavedNetworkWithExternalScore() local 457 savedConfigs[0].useExternalScores = true; in testEvaluateNetworks_chooseSavedNetworkWithExternalScore() 465 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in testEvaluateNetworks_chooseSavedNetworkWithExternalScore() 492 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in testEvaluateNetworks_chooseSavedNetworkWithHigherExternalScore() local 493 savedConfigs[0].useExternalScores = savedConfigs[1].useExternalScores = true; in testEvaluateNetworks_chooseSavedNetworkWithHigherExternalScore() 501 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[1], candidate); in testEvaluateNetworks_chooseSavedNetworkWithHigherExternalScore() 529 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in testEvaluateNetworks_chooseExternallyScoredOverUntrustedNetworksWithSameScore() local 530 savedConfigs[0].useExternalScores = true; in testEvaluateNetworks_chooseExternallyScoredOverUntrustedNetworksWithSameScore() 538 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in testEvaluateNetworks_chooseExternallyScoredOverUntrustedNetworksWithSameScore() 576 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in testEvaluateNetworks_chooseUntrustedWithHigherScoreThanExternallyScoredNetwork() local [all …]
|
D | WifiNetworkSelectorTest.java | 382 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in verifyNoMinimumTimeGapWhenDisconnected() local 386 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected() 396 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected() 425 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in openNetworkIsNotSufficient() local 444 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in openNetworkIsNotSufficient() 473 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in lowRssi5GNetworkIsNotSufficient() local 521 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in noInternetAccessNetworkIsNotSufficient() local 537 savedConfigs[0].numNoInternetAccessReports = 5; in noInternetAccessNetworkIsNotSufficient() 568 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in updateConfiguredNetworks() local 575 verify(mWifiConfigManager, times(savedConfigs.length)).tryEnableNetwork(anyInt()); in updateConfiguredNetworks() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | WifiSavedConfigUtils.java | 39 List<AccessPoint> savedConfigs = new ArrayList<>(); in getAllConfigs() local 53 savedConfigs.add(new AccessPoint(context, network)); in getAllConfigs() 60 savedConfigs.add(new AccessPoint(context, config)); in getAllConfigs() 66 return savedConfigs; in getAllConfigs()
|