Home
last modified time | relevance | path

Searched refs:ChannelSpec (Results 1 – 12 of 12) 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()
262 private static String toString(WifiScanner.ChannelSpec[] channels) { in toString()
DBackgroundScanScheduler.java576 currentBucketSettings.channels = new WifiScanner.ChannelSpec[currentBucketChannels.size()]; in createCurrentBucketSplitSettings()
579 currentBucketSettings.channels[chanIdx++] = new WifiScanner.ChannelSpec(channel); in createCurrentBucketSplitSettings()
595 targetBucketSettings.channels = new WifiScanner.ChannelSpec[targetBucketChannels.size()]; in createTargetBucketSplitSettings()
598 targetBucketSettings.channels[chanIdx++] = new WifiScanner.ChannelSpec(channel); in createTargetBucketSplitSettings()
DWifiScanningServiceImpl.java28 import android.net.wifi.WifiScanner.ChannelSpec;
113 ChannelSpec[] channelSpecs = mChannelHelper.getAvailableScanChannels(band); in getAvailableChannels()
115 for (ChannelSpec channelSpec : channelSpecs) { in getAvailableChannels()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java51 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest()
151 int period, int reportEvents, WifiScanner.ChannelSpec... channels) { in addBucketWithChannels()
224 int reportEvents, WifiScanner.ChannelSpec... channels) { in createSingleScanNativeSettingsForChannels()
233 int nativeScanType, int reportEvents, WifiScanner.ChannelSpec... channels) { in createSingleScanNativeSettingsForChannels()
359 public static WifiScanner.ChannelSpec[] channelsToSpec(int... channels) { in channelsToSpec()
360 WifiScanner.ChannelSpec[] channelSpecs = new WifiScanner.ChannelSpec[channels.length]; in channelsToSpec()
362 channelSpecs[i] = new WifiScanner.ChannelSpec(channels[i]); in channelsToSpec()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java117 public static class ChannelSpec { class in WifiScanner
137 public ChannelSpec(int frequency) { in ChannelSpec() method in WifiScanner.ChannelSpec
213 public ChannelSpec[] channels;
329 settings.channels = new ChannelSpec[num_channels];
332 ChannelSpec spec = new ChannelSpec(frequency);
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java132 writeSettings.channels = new WifiScanner.ChannelSpec[] { in verifyScanSettingsParcelWithChannels()
133 new WifiScanner.ChannelSpec(5), in verifyScanSettingsParcelWithChannels()
134 new WifiScanner.ChannelSpec(7) in verifyScanSettingsParcelWithChannels()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java121 WifiScanner.ChannelSpec[] channels = in testBand()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java811 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in setScanChannels()
813 settings.channels[index++] = new WifiScanner.ChannelSpec(freq); in setScanChannels()
/frameworks/base/api/
Dsystem-current.txt4805 public static class WifiScanner.ChannelSpec {
4806 ctor public WifiScanner.ChannelSpec(int);
4845 field public android.net.wifi.WifiScanner.ChannelSpec[] channels;
/frameworks/base/config/
Dboot-image-profile.txt35031 Landroid/net/wifi/WifiScanner$ChannelSpec;
Dhiddenapi-greylist-max-o.txt50935 Landroid/net/wifi/WifiScanner$ChannelSpec;->dwellTimeMS:I
50936 Landroid/net/wifi/WifiScanner$ChannelSpec;->passive:Z