Home
last modified time | relevance | path

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

/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/util/
DApConfigUtilTest.java424 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannel2GBandWithNoAllowedChannel()
442 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannel2GBandWithAllowedChannels()
483 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannel5GBandWithNoAllowedChannels()
497 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWillHighBandPrefer()
501 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannelWillHighBandPrefer()
520 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWithUnsafeChannelsPreferSafe()
524 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannelWithUnsafeChannelsPreferSafe()
559 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWithAllSoftUnsafePreferHighBand()
563 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in chooseApChannelWithAllSoftUnsafePreferHighBand()
589 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in chooseApChannelWithAllHardUnsafeSelectDefault()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java52 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in setupMockChannels()
54 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in setupMockChannels()
56 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setupMockChannels()
58 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ)) in setupMockChannels()
60 when(wifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ)) in setupMockChannels()
DSoftApManagerTest.java364 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ)) in setUp()
366 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in setUp()
368 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ)) in setUp()
370 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ)) in setUp()
966 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ)) in startSoftApFailNoChannel()
DWakeupControllerTest.java133 when(mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY)) in setUp()
DWifiServiceImplTest.java746 when(mWifiNative.getChannelsForBand(anyInt())).thenReturn(new int[0]); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWakeupController.java368 .getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in filterDfsScanResults()
DWifiShellCommand.java2684 int[] allowed2gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ); in isApChannelMHzValid()
2685 int[] allowed5gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ); in isApChannelMHzValid()
2687 mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ_DFS_ONLY); in isApChannelMHzValid()
2688 int[] allowed6gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ); in isApChannelMHzValid()
2689 int[] allowed60gFreq = mWifiNative.getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ); in isApChannelMHzValid()
DWifiNative.java1905 public int [] getChannelsForBand(@WifiAnnotations.WifiBandBasic int band) { in getChannelsForBand() method in WifiNative
4000 if (getChannelsForBand(WifiScanner.WIFI_BAND_24_GHZ).length > 0) {
4003 if (getChannelsForBand(WifiScanner.WIFI_BAND_5_GHZ).length > 0) {
4006 if (getChannelsForBand(WifiScanner.WIFI_BAND_6_GHZ).length > 0) {
4009 if (getChannelsForBand(WifiScanner.WIFI_BAND_60_GHZ).length > 0) {
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java406 int[] dfs5gBand = wifiNative.getChannelsForBand( in addDfsChannelsIfNeeded()
424 int[] regulatoryArray = wifiNative.getChannelsForBand(scannerBand); in getWifiCondAvailableChannelsForBand()