Home
last modified time | relevance | path

Searched refs:savedNetworks (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DMultiStaConcurrencyWifiNetworkSpecifierTest.java169 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
172 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks); in setUp()
188 for (WifiConfiguration savedNetwork : savedNetworks) { in setUp()
DConnectedNetworkScorerTest.java144 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
146 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUp()
664 List<WifiConfiguration> savedNetworks = null; in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion() local
674 savedNetworks = mWifiManager.getPrivilegedConfiguredNetworks(); in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
676 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks) in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
680 for (WifiConfiguration savedNetwork : savedNetworks) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
717 if (savedNetworks != null) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
718 for (WifiConfiguration savedNetwork : savedNetworks) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java168 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
171 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks); in setUp()
187 for (WifiConfiguration savedNetwork : savedNetworks) { in setUp()
DWifiManagerTest.java351 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
353 assertFalse("Need at least one saved network", savedNetworks.isEmpty()); in setUp()
2541 List<WifiConfiguration> savedNetworks = null; in testConnect() local
2546 savedNetworks = mWifiManager.getConfiguredNetworks(); in testConnect()
2549 for (WifiConfiguration network : savedNetworks) { in testConnect()
2556 savedNetworks.get(savedNetworks.size() - 1); in testConnect()
2586 if (savedNetworks != null) { in testConnect()
2587 for (WifiConfiguration network : savedNetworks) { in testConnect()
2681 List<WifiConfiguration> savedNetworks = null; in testSave() local
2754 List<WifiConfiguration> savedNetworks = mWifiManager.getConfiguredNetworks(); in testForget() local
[all …]
DWifiNetworkSpecifierTest.java224 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
227 .that(savedNetworks.isEmpty()).isFalse(); in setUpClass()
230 sTestNetwork = TestHelper.findMatchingSavedNetworksWithBssid(wifiManager, savedNetworks) in setUpClass()
DWifiLocationInfoTest.java122 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
124 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUp()
DWifiNetworkSuggestionTest.java150 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
152 if (savedNetworks.isEmpty()) { in setUpClass()
158 sWifiManager, savedNetworks); in setUpClass()
167 for (WifiConfiguration savedNetwork : savedNetworks) { in setUpClass()
DTestHelper.java130 @NonNull WifiManager wifiManager, @NonNull List<WifiConfiguration> savedNetworks) { in findMatchingSavedNetworksWithBssid() argument
131 if (savedNetworks.isEmpty()) return Collections.emptyList(); in findMatchingSavedNetworksWithBssid()
151 WifiConfiguration matchingNetwork = savedNetworks.stream() in findMatchingSavedNetworksWithBssid()
DWifiBackupRestoreTest.java126 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
128 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUp()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConnectivityConstraintTest.java908 final List<WifiConfiguration> savedNetworks = in ensureSavedWifiNetwork() local
911 assertFalse("Need at least one saved wifi network", savedNetworks.isEmpty()); in ensureSavedWifiNetwork()