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()
666 List<WifiConfiguration> savedNetworks = null; in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion() local
676 savedNetworks = mWifiManager.getPrivilegedConfiguredNetworks(); in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
678 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks) in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
682 for (WifiConfiguration savedNetwork : savedNetworks) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
719 if (savedNetworks != null) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
720 for (WifiConfiguration savedNetwork : savedNetworks) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
DWifiManagerTest.java351 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
353 assertFalse("Need at least one saved network", savedNetworks.isEmpty()); in setUp()
2513 List<WifiConfiguration> savedNetworks = null; in testConnect() local
2518 savedNetworks = mWifiManager.getConfiguredNetworks(); in testConnect()
2521 for (WifiConfiguration network : savedNetworks) { in testConnect()
2528 savedNetworks.get(savedNetworks.size() - 1); in testConnect()
2558 if (savedNetworks != null) { in testConnect()
2559 for (WifiConfiguration network : savedNetworks) { in testConnect()
2653 List<WifiConfiguration> savedNetworks = null; in testSave() local
2665 savedNetworks = mWifiManager.getConfiguredNetworks(); in testSave()
[all …]
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java171 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
174 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks); in setUp()
190 for (WifiConfiguration savedNetwork : savedNetworks) { in setUp()
DWifiLocationInfoTest.java122 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
124 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUp()
DWifiNetworkSpecifierTest.java226 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
229 .that(savedNetworks.isEmpty()).isFalse(); in setUpClass()
232 sTestNetwork = TestHelper.findMatchingSavedNetworksWithBssid(wifiManager, savedNetworks) in setUpClass()
DWifiNetworkSuggestionTest.java152 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
154 if (savedNetworks.isEmpty()) { in setUpClass()
160 sWifiManager, savedNetworks); in setUpClass()
169 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.java955 final List<WifiConfiguration> savedNetworks = in ensureSavedWifiNetwork() local
958 assertFalse("Need at least one saved wifi network", savedNetworks.isEmpty()); in ensureSavedWifiNetwork()