Searched refs:savedConfigs (Results 1 – 5 of 5) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | SavedNetworkNominatorTest.java | 109 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in ignoreNetworksIfUseExternalScores() local 110 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreNetworksIfUseExternalScores() 134 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in ignoreNetworkIfSimIsAbsentForEapSimNetwork() local 135 savedConfigs[0].carrierId = TEST_CARRIER_ID; in ignoreNetworkIfSimIsAbsentForEapSimNetwork() 162 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in ignoreEphemeralNetworks() local 163 for (WifiConfiguration wifiConfiguration : savedConfigs) { in ignoreEphemeralNetworks() 190 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in ignoreNetworksIfAutojoinNotAllowed() local 197 savedConfigs[1].allowAutojoin = false; in ignoreNetworksIfAutojoinNotAllowed() 202 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], in ignoreNetworksIfAutojoinNotAllowed() 222 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in returnNoCandidateIfNoNetworksAllowAutojoin() local [all …]
|
D | WifiNetworkSelectorTestUtil.java | 95 WifiConfiguration[] savedConfigs = generateWifiConfigurations(ssids, securities); in setupScanDetailsAndConfigStore() local 97 addWifiConfigAndLinkScanResult(wifiConfigManager, savedConfigs, scanDetails); in setupScanDetailsAndConfigStore() 99 return new ScanDetailsAndWifiConfigs(scanDetails, savedConfigs); in setupScanDetailsAndConfigStore() 114 WifiConfiguration[] savedConfigs = generateWifiConfigurations(ssids, securities); in setupScanDetailsAndConfigStore() local 116 addWifiConfigAndLinkScanResult(wifiConfigManager, savedConfigs, scanDetails); in setupScanDetailsAndConfigStore() 118 return new ScanDetailsAndWifiConfigs(scanDetails, savedConfigs); in setupScanDetailsAndConfigStore() 143 WifiConfiguration[] savedConfigs = new WifiConfiguration[ssids.length]; in setupScanDetailsAndConfigForEapSimNetwork() local 149 savedConfigs[i] = WifiConfigurationTestUtil.createEapNetwork( in setupScanDetailsAndConfigForEapSimNetwork() 151 savedConfigs[i].SSID = ssids[i]; in setupScanDetailsAndConfigForEapSimNetwork() 152 savedConfigs[i].networkId = i; in setupScanDetailsAndConfigForEapSimNetwork() [all …]
|
D | ScoredNetworkNominatorTest.java | 365 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in testEvaluateNetworks_chooseSavedNetworkWithExternalScore() local 366 savedConfigs[0].useExternalScores = true; in testEvaluateNetworks_chooseSavedNetworkWithExternalScore() 375 assertEquals(mWifiConfigCaptor.getValue().networkId, savedConfigs[0].networkId); in testEvaluateNetworks_chooseSavedNetworkWithExternalScore() 397 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in testEvaluateNetworks_nullScoredNetworks() local 398 savedConfigs[0].useExternalScores = true; in testEvaluateNetworks_nullScoredNetworks() 407 assertEquals(mWifiConfigCaptor.getValue().networkId, savedConfigs[0].networkId); in testEvaluateNetworks_nullScoredNetworks()
|
D | WifiNetworkSelectorTest.java | 441 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in verifyNoMinimumTimeGapWhenDisconnected() local 446 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected() 457 WifiConfigurationTestUtil.assertConfigurationEqual(savedConfigs[0], candidate); in verifyNoMinimumTimeGapWhenDisconnected() 486 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in lowRssi5GNetworkIsNotSufficient() local 537 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in noInternetAccessNetworkIsNotSufficient() local 559 savedConfigs[0].numNoInternetAccessReports = 5; in noInternetAccessNetworkIsNotSufficient() 590 WifiConfiguration[] savedConfigs = scanDetailsAndConfigs.getWifiConfigs(); in updateConfiguredNetworks() local 599 verify(mWifiConfigManager, times(savedConfigs.length)).tryEnableNetwork(anyInt()); in updateConfiguredNetworks() 600 verify(mWifiConfigManager, times(savedConfigs.length)) in updateConfiguredNetworks()
|
/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()
|