Home
last modified time | relevance | path

Searched refs:channelsDfs (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWificondChannelHelper.java47 int[] channelsDfs = in updateChannels() local
49 if (channelsDfs == null) Log.e(TAG, "Failed to get channels for 5GHz DFS only band"); in updateChannels()
50 if (channels24G == null || channels5G == null || channelsDfs == null) { in updateChannels()
52 } else if (channels24G.length > 0 || channels5G.length > 0 || channelsDfs.length > 0) { in updateChannels()
53 setBandChannels(channels24G, channels5G, channelsDfs); in updateChannels()
DKnownBandsChannelHelper.java34 protected void setBandChannels(int[] channels2G, int[] channels5G, int[] channelsDfs) { in setBandChannels() argument
49 mBandsToChannels[4] = new WifiScanner.ChannelSpec[channelsDfs.length]; in setBandChannels()
50 copyChannels(mBandsToChannels[4], 0, channelsDfs); in setBandChannels()
52 mBandsToChannels[5] = new WifiScanner.ChannelSpec[channels2G.length + channelsDfs.length]; in setBandChannels()
54 copyChannels(mBandsToChannels[5], channels2G.length, channelsDfs); in setBandChannels()
56 mBandsToChannels[6] = new WifiScanner.ChannelSpec[channels5G.length + channelsDfs.length]; in setBandChannels()
58 copyChannels(mBandsToChannels[6], channels5G.length, channelsDfs); in setBandChannels()
61 channels2G.length + channels5G.length + channelsDfs.length]; in setBandChannels()
64 copyChannels(mBandsToChannels[7], channels2G.length + channels5G.length, channelsDfs); in setBandChannels()
DPresetKnownBandsChannelHelper.java23 public PresetKnownBandsChannelHelper(int[] channels2G, int[] channels5G, int[] channelsDfs) { in PresetKnownBandsChannelHelper() argument
24 setBandChannels(channels2G, channels5G, channelsDfs); in PresetKnownBandsChannelHelper()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java42 int[] channelsDfs) throws Exception { in setupMockChannels() argument
48 .thenReturn(channelsDfs); in setupMockChannels()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java150 public void channelsDfs() { in channelsDfs() method in KnownBandsChannelHelperTest.GetAvailableScanChannelsTest