Home
last modified time | relevance | path

Searched refs:isBandSupportedForSta (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java2461 verify(mActiveModeWarden, never()).isBandSupportedForSta(anyInt()); in testIsWifiBandSupported24gWithOverride()
2471 verify(mActiveModeWarden, never()).isBandSupportedForSta(anyInt()); in testIsWifiBandSupported5gWithOverride()
2481 verify(mActiveModeWarden, never()).isBandSupportedForSta(anyInt()); in testIsWifiBandSupported6gWithOverride()
2490 when(mActiveModeWarden.isBandSupportedForSta(WIFI_BAND_24_GHZ)).thenReturn(false); in testIsWifiBandSupported24gNoOverrideNoChannels()
2492 verify(mActiveModeWarden).isBandSupportedForSta(WifiScanner.WIFI_BAND_24_GHZ); in testIsWifiBandSupported24gNoOverrideNoChannels()
2501 when(mActiveModeWarden.isBandSupportedForSta(WIFI_BAND_5_GHZ)).thenReturn(false); in testIsWifiBandSupported5gNoOverrideNoChannels()
2503 verify(mActiveModeWarden).isBandSupportedForSta(WifiScanner.WIFI_BAND_5_GHZ); in testIsWifiBandSupported5gNoOverrideNoChannels()
2512 when(mActiveModeWarden.isBandSupportedForSta(WIFI_BAND_24_GHZ)).thenReturn(true); in testIsWifiBandSupported24gNoOverrideWithChannels()
2514 verify(mActiveModeWarden).isBandSupportedForSta(WifiScanner.WIFI_BAND_24_GHZ); in testIsWifiBandSupported24gNoOverrideWithChannels()
2523 when(mActiveModeWarden.isBandSupportedForSta(WIFI_BAND_5_GHZ)).thenReturn(true); in testIsWifiBandSupported5gNoOverrideWithChannels()
[all …]
DActiveModeWardenTest.java5055 assertTrue(mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_24_GHZ)); in syncGetSupportedBands()
5056 assertTrue(mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_5_GHZ)); in syncGetSupportedBands()
5057 assertFalse(mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)); in syncGetSupportedBands()
5058 assertTrue(mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_6_GHZ)); in syncGetSupportedBands()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java5028 return mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_24_GHZ);
5045 return mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_5_GHZ);
5061 return mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_6_GHZ);
5081 return mActiveModeWarden.isBandSupportedForSta(WifiScanner.WIFI_BAND_60_GHZ);
DActiveModeWarden.java2828 public boolean isBandSupportedForSta(@WifiScanner.WifiBand int band) { in isBandSupportedForSta() method in ActiveModeWarden