Home
last modified time | relevance | path

Searched refs:ChannelSpec (Results 1 – 13 of 13) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java32 private WifiScanner.ChannelSpec[][] mBandsToChannels;
35 mBandsToChannels = new WifiScanner.ChannelSpec[8][]; in setBandChannels()
39 mBandsToChannels[1] = new WifiScanner.ChannelSpec[channels2G.length]; in setBandChannels()
42 mBandsToChannels[2] = new WifiScanner.ChannelSpec[channels5G.length]; in setBandChannels()
45 mBandsToChannels[3] = new WifiScanner.ChannelSpec[channels2G.length + channels5G.length]; in setBandChannels()
49 mBandsToChannels[4] = new WifiScanner.ChannelSpec[channelsDfs.length]; in setBandChannels()
52 mBandsToChannels[5] = new WifiScanner.ChannelSpec[channels2G.length + channelsDfs.length]; in setBandChannels()
56 mBandsToChannels[6] = new WifiScanner.ChannelSpec[channels5G.length + channelsDfs.length]; in setBandChannels()
60 mBandsToChannels[7] = new WifiScanner.ChannelSpec[ in setBandChannels()
68 WifiScanner.ChannelSpec[] channelSpec, int offset, int[] channels) { in copyChannels()
[all …]
DChannelHelper.java40 protected static final WifiScanner.ChannelSpec[] NO_CHANNELS = new WifiScanner.ChannelSpec[0];
56 public abstract WifiScanner.ChannelSpec[] getAvailableScanChannels(int band); in getAvailableScanChannels()
258 private static String toString(WifiScanner.ChannelSpec[] channels) { in toString()
DBackgroundScanScheduler.java592 currentBucketSettings.channels = new WifiScanner.ChannelSpec[currentBucketChannels.size()]; in createCurrentBucketSplitSettings()
595 currentBucketSettings.channels[chanIdx++] = new WifiScanner.ChannelSpec(channel); in createCurrentBucketSplitSettings()
611 targetBucketSettings.channels = new WifiScanner.ChannelSpec[targetBucketChannels.size()]; in createTargetBucketSplitSettings()
614 targetBucketSettings.channels[chanIdx++] = new WifiScanner.ChannelSpec(channel); in createTargetBucketSplitSettings()
DNoBandChannelHelper.java54 public WifiScanner.ChannelSpec[] getAvailableScanChannels(int band) { in getAvailableScanChannels()
DWifiScanningServiceImpl.java32 import android.net.wifi.WifiScanner.ChannelSpec;
110 ChannelSpec[] channelSpecs = mChannelHelper.getAvailableScanChannels(band); in getAvailableChannels()
112 for (ChannelSpec channelSpec : channelSpecs) { in getAvailableChannels()
2292 settings.channels = new ChannelSpec[channels.size()]; in reconfigureScan()
2294 settings.channels[i] = new ChannelSpec(channels.get(i)); in reconfigureScan()
2349 settings2.channels = new ChannelSpec[channels.size()]; in reconfigureScan()
2352 settings2.channels[i++] = new ChannelSpec(channel); in reconfigureScan()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java51 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest()
134 int period, int reportEvents, WifiScanner.ChannelSpec... channels) { in addBucketWithChannels()
191 int reportEvents, WifiScanner.ChannelSpec... channels) { in createSingleScanNativeSettingsForChannels()
295 public static WifiScanner.ChannelSpec[] channelsToSpec(int... channels) { in channelsToSpec()
296 WifiScanner.ChannelSpec[] channelSpecs = new WifiScanner.ChannelSpec[channels.length]; in channelsToSpec()
298 channelSpecs[i] = new WifiScanner.ChannelSpec(channels[i]); in channelsToSpec()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java114 public static class ChannelSpec { class in WifiScanner
134 public ChannelSpec(int frequency) { in ChannelSpec() method in WifiScanner.ChannelSpec
174 public ChannelSpec[] channels;
253 settings.channels = new ChannelSpec[num_channels];
256 ChannelSpec spec = new ChannelSpec(frequency);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java642 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in setScanChannels()
644 settings.channels[index++] = new WifiScanner.ChannelSpec(freq); in setScanChannels()
DWifiStateMachine.java1681 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in startScanNative()
1683 settings.channels[index++] = new WifiScanner.ChannelSpec(freq); in startScanNative()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DNoBandChannelHelperTest.java118 WifiScanner.ChannelSpec[] channels = in eachBandValue()
DKnownBandsChannelHelperTest.java120 WifiScanner.ChannelSpec[] channels = in testBand()
/frameworks/base/
Dcompiled-classes-phone2866 android.net.wifi.WifiScanner$ChannelSpec
/frameworks/base/api/
Dsystem-current.txt26951 public static class WifiScanner.ChannelSpec {
26952 ctor public WifiScanner.ChannelSpec(int);
27001 field public android.net.wifi.WifiScanner.ChannelSpec[] channels;