/cts/tests/tests/wifi/src/android/net/wifi/cts/ |
D | WifiNetworkSuggestionTest.java | 169 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 …]
|
D | MultiStaConcurrencyWifiNetworkSpecifierTest.java | 167 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local 174 for (WifiConfiguration savedNetwork : savedNetworks) { in setUp() 184 TestHelper.findMatchingSavedNetworksWithBssid(mWifiManager, savedNetworks, 2); in setUp()
|
D | TestHelper.java | 147 @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()
|
D | MultiStaConcurrencyRestrictedWifiNetworkSuggestionTest.java | 157 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local 160 TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 2); in setUp() 176 for (WifiConfiguration savedNetwork : savedNetworks) { in setUp()
|
D | ConnectedNetworkScorerTest.java | 162 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()
|
D | WifiLocationInfoForegroundTest.java | 122 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local 124 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUpClass()
|
D | WifiManagerTest.java | 474 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 …]
|
D | WifiLocationInfoBackgroundTest.java | 133 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local 135 assertWithMessage("Need at least one saved network").that(savedNetworks).isNotEmpty(); in setUpClass()
|
D | MultiStaConcurrencyMultiInternetWifiNetworkTest.java | 204 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUp() local 207 TestHelper.findMatchingSavedNetworksWithBssidByBand(mWifiManager, savedNetworks, in setUp()
|
D | WifiNetworkSpecifierTest.java | 231 List<WifiConfiguration> savedNetworks = ShellIdentityUtils.invokeWithShellPermissions( in setUpClass() local 234 .that(savedNetworks.isEmpty()).isFalse(); in setUpClass() 237 sTestNetwork = TestHelper.findMatchingSavedNetworksWithBssid(sWifiManager, savedNetworks, 2) in setUpClass()
|
D | WifiBackupRestoreTest.java | 170 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/ |
D | NetworkingHelper.java | 119 final List<WifiConfiguration> savedNetworks = in ensureSavedWifiNetwork() local 122 assertFalse("Need at least one saved wifi network", savedNetworks.isEmpty()); in ensureSavedWifiNetwork()
|