Home
last modified time | relevance | path

Searched refs:getChannelsForBand (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java293 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannel2GBandWithNoAllowedChannel()
308 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannel2GBandWithAllowedChannels()
323 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannel5GBandWithAllowedChannels()
338 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ)) in chooseApChannel60GBandWithAllowedChannels()
352 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannel5GBandWithNoAllowedChannels()
365 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWillHighBandPrefer()
369 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannelWillHighBandPrefer()
386 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWithUnsafeChannelsPreferSafe()
390 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannelWithUnsafeChannelsPreferSafe()
423 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWithAllSoftUnsafePreferHighBand()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWificondChannelHelper.java43 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in updateChannels()
45 int[] channels5G = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ); in updateChannels()
48 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in updateChannels()
51 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ); in updateChannels()
54 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ); in updateChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java49 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in setupMockChannels()
51 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in setupMockChannels()
53 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setupMockChannels()
55 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ)) in setupMockChannels()
57 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ)) in setupMockChannels()
DWifiServiceImplTest.java561 when(mWifiNative.getChannelsForBand(anyInt())).thenReturn(new int[0]); in setUp()
1747 verify(mWifiNative, never()).getChannelsForBand(anyInt()); in testIsWifiBandSupported24gWithOverride()
1759 verify(mWifiNative, never()).getChannelsForBand(anyInt()); in testIsWifiBandSupported5gWithOverride()
1771 verify(mWifiNative, never()).getChannelsForBand(anyInt()); in testIsWifiBandSupported6gWithOverride()
1781 when(mWifiNative.getChannelsForBand(anyInt())).thenReturn(emptyArray); in testIsWifiBandSupported24gNoOverrideNoChannels()
1785 verify(mWifiNative).getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in testIsWifiBandSupported24gNoOverrideNoChannels()
1795 when(mWifiNative.getChannelsForBand(anyInt())).thenReturn(emptyArray); in testIsWifiBandSupported5gNoOverrideNoChannels()
1799 verify(mWifiNative).getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ); in testIsWifiBandSupported5gNoOverrideNoChannels()
1809 when(mWifiNative.getChannelsForBand(anyInt())).thenReturn(channelArray); in testIsWifiBandSupported24gNoOverrideWithChannels()
1813 verify(mWifiNative).getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in testIsWifiBandSupported24gNoOverrideWithChannels()
[all …]
DSoftApManagerTest.java261 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in setUp()
263 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in setUp()
265 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ)) in setUp()
267 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ)) in setUp()
633 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in startSoftApFailNoChannel()
DWakeupControllerTest.java127 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java1371 int[] allowed2gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in isApChannelMHzValid()
1372 int[] allowed5gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ); in isApChannelMHzValid()
1374 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in isApChannelMHzValid()
1375 int[] allowed6gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ); in isApChannelMHzValid()
1376 int[] allowed60gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ); in isApChannelMHzValid()
DWakeupController.java339 .getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in filterDfsScanResults()
DWifiServiceImpl.java3476 () -> mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ).length > 0,
3495 () -> mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ).length > 0,
3513 () -> mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ).length > 0,
3535 () -> mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ).length > 0,
DWifiNative.java1564 public int [] getChannelsForBand(@WifiAnnotations.WifiBandBasic int band) { in getChannelsForBand() method in WifiNative
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java367 int[] regulatoryArray = wifiNative.getChannelsForBand(scannerBand); in getAvailableChannelFreqsForBand()