Home
last modified time | relevance | path

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

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiNetworkSuggestionTest.java169 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
171 if (savedNetworks.isEmpty()) { in setUpClass()
177 sWifiManager, savedNetworks, 2); in setUpClass()
186 for (WifiConfiguration savedNetwork : savedNetworks) { in setUpClass()
1344 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in testWifi7EnabledDefaultBehavior() local
1347 savedNetworks.isEmpty()).isFalse(); in testWifi7EnabledDefaultBehavior()
1349 savedNetworks, TestHelper.AP_CAPABILITY_BIT_WIFI7); in testWifi7EnabledDefaultBehavior()
1375 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in testWifi7Disabled() local
1378 savedNetworks.isEmpty()).isFalse(); in testWifi7Disabled()
1380 savedNetworks, TestHelper.AP_CAPABILITY_BIT_WIFI7); in testWifi7Disabled()
[all …]
DMultiStaConcurrencyWifiNetworkSpecifierTest.java167 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
174 for (WifiConfiguration savedNetwork : savedNetworks) { in setUp()
184 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks, 2); in setUp()
DTestHelper.java147 @NonNull List<WifiConfiguration> savedNetworks, in findFirstAvailableSavedNetwork() argument
149 if (savedNetworks.isEmpty()) return null; in findFirstAvailableSavedNetwork()
152 findMatchingSavedNetworksWithBssidByBand(wifiManager, savedNetworks, in findFirstAvailableSavedNetwork()
174 @NonNull WifiManager wifiManager, @NonNull List<WifiConfiguration> savedNetworks, in findMatchingSavedNetworksWithBssid() argument
176 if (savedNetworks.isEmpty()) return Collections.emptyList(); in findMatchingSavedNetworksWithBssid()
179 findMatchingSavedNetworksWithBssidByBand(wifiManager, savedNetworks, in findMatchingSavedNetworksWithBssid()
229 @NonNull WifiManager wifiManager, @NonNull List<WifiConfiguration> savedNetworks, in findMatchingSavedNetworksWithBssidByBand() argument
231 if (savedNetworks.isEmpty()) return Collections.emptyMap(); in findMatchingSavedNetworksWithBssidByBand()
255 WifiConfiguration matchingNetwork = savedNetworks.stream() in findMatchingSavedNetworksWithBssidByBand()
DMultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java157 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
160 TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 2); in setUp()
176 for (WifiConfiguration savedNetwork : savedNetworks) { in setUp()
DConnectedNetworkScorerTest.java162 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
164 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUpClass()
812 List<WifiConfiguration> savedNetworks = null; in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion() local
822 savedNetworks = sWifiManager.getPrivilegedConfiguredNetworks(); in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
824 TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 1) in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
828 for (WifiConfiguration savedNetwork : savedNetworks) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
864 if (savedNetworks != null) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
865 for (WifiConfiguration savedNetwork : savedNetworks) { in setWifiConnectedNetworkScorerAndInitiateConnectToSpecifierOrRestrictedSuggestion()
DWifiLocationInfoForegroundTest.java122 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
124 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUpClass()
DWifiManagerTest.java474 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
476 assertThat(savedNetworks.isEmpty()).isFalse(); in setUpClass()
3429 List<WifiConfiguration> savedNetworks = null; in testConnect() local
3434 savedNetworks = sWifiManager.getConfiguredNetworks(); in testConnect()
3437 for (WifiConfiguration network : savedNetworks) { in testConnect()
3444 savedNetworks.get(savedNetworks.size() - 1); in testConnect()
3465 if (savedNetworks != null) { in testConnect()
3466 for (WifiConfiguration network : savedNetworks) { in testConnect()
3553 List<WifiConfiguration> savedNetworks = null; in testSave() local
3561 savedNetworks = sWifiManager.getConfiguredNetworks(); in testSave()
[all …]
DWifiLocationInfoBackgroundTest.java133 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
135 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUpClass()
DMultiStaConcurrencyMultiInternetWifiNetworkTest.java204 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local
207 TestHelper.findMatchingSavedNetworksWithBssidByBand(mWifiManager, savedNetworks, in setUp()
DWifiNetworkSpecifierTest.java231 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
234 .that(savedNetworks.isEmpty()).isFalse(); in setUpClass()
237 sTestNetwork = TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 2) in setUpClass()
DWifiBackupRestoreTest.java170 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local
172 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUpClass()
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DNetworkingHelper.java119 final List<WifiConfiguration> savedNetworks = in ensureSavedWifiNetwork() local
122 assertFalse("Need at least one saved wifi network", savedNetworks.isEmpty()); in ensureSavedWifiNetwork()