Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java61 private WifiScanner.ChannelSpec[][] mBandsToChannels;
65 mBandsToChannels = new WifiScanner.ChannelSpec[WIFI_BAND_COUNT][]; in setBandChannels()
69 new WifiScanner.ChannelSpec[channels2G.length]; in setBandChannels()
77 new WifiScanner.ChannelSpec[channels5G.length]; in setBandChannels()
85 new WifiScanner.ChannelSpec[channelsDfs.length]; in setBandChannels()
93 new WifiScanner.ChannelSpec[channels6G.length]; in setBandChannels()
101 WifiScanner.ChannelSpec[] channelSpec, int[] channels) { in copyChannels()
103 channelSpec[i] = new WifiScanner.ChannelSpec(channels[i]); in copyChannels()
108 public WifiScanner.ChannelSpec[][] getAvailableScanChannels(int band) { in getAvailableScanChannels()
114 WifiScanner.ChannelSpec[][] channels = new WifiScanner.ChannelSpec[WIFI_BAND_COUNT][]; in getAvailableScanChannels()
[all …]
DChannelHelper.java41 protected static final WifiScanner.ChannelSpec[] NO_CHANNELS = new WifiScanner.ChannelSpec[0];
64 public abstract WifiScanner.ChannelSpec[][] getAvailableScanChannels(int band); in getAvailableScanChannels()
279 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.java31 import android.net.wifi.WifiScanner.ChannelSpec;
130 ChannelSpec[][] channelSpecs = mWifiThreadRunner.call(() -> { in getAvailableChannels()
131 if (mChannelHelper == null) return new ChannelSpec[0][0]; in getAvailableChannels()
134 }, new ChannelSpec[0][0]); in getAvailableChannels()
138 for (ChannelSpec channelSpec : channelSpecs[i]) { in getAvailableChannels()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java53 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest()
153 int period, int reportEvents, WifiScanner.ChannelSpec... channels) { in addBucketWithChannels()
212 int reportEvents, WifiScanner.ChannelSpec... channels) { in createSingleScanNativeSettingsForChannels()
221 int nativeScanType, int reportEvents, WifiScanner.ChannelSpec... channels) { in createSingleScanNativeSettingsForChannels()
347 public static WifiScanner.ChannelSpec[] channelsToSpec(int... channels) { in channelsToSpec()
348 WifiScanner.ChannelSpec[] channelSpecs = new WifiScanner.ChannelSpec[channels.length]; in channelsToSpec()
350 channelSpecs[i] = new WifiScanner.ChannelSpec(channels[i]); in channelsToSpec()
/frameworks/base/wifi/java/android/net/wifi/
DWifiScanner.java212 public static class ChannelSpec { class in WifiScanner
232 public ChannelSpec(int frequency) { in ChannelSpec() method in WifiScanner.ChannelSpec
303 public ChannelSpec[] channels;
458 settings.channels = new ChannelSpec[num_channels];
461 ChannelSpec spec = new ChannelSpec(frequency);
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java141 writeSettings.channels = new WifiScanner.ChannelSpec[] { in verifyScanSettingsParcelWithChannels()
142 new WifiScanner.ChannelSpec(5), in verifyScanSettingsParcelWithChannels()
143 new WifiScanner.ChannelSpec(7) in verifyScanSettingsParcelWithChannels()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java280 new WifiScanner.ChannelSpec[mCachedWifiCandidates.frequencies.size()];
282 settings.channels[index++] = new WifiScanner.ChannelSpec(freq);
986 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in setScanChannels()
988 settings.channels[index++] = new WifiScanner.ChannelSpec(freq); in setScanChannels()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java126 WifiScanner.ChannelSpec[][] channels = in testBand()
/frameworks/base/wifi/api/
Dsystem-current.txt670 public static class WifiScanner.ChannelSpec {
671 ctor public WifiScanner.ChannelSpec(int);
710 field public android.net.wifi.WifiScanner.ChannelSpec[] channels;
/frameworks/base/api/
Dsystem-current.txt7504 public static class WifiScanner.ChannelSpec {
7505 ctor public WifiScanner.ChannelSpec(int);
7544 field public android.net.wifi.WifiScanner.ChannelSpec[] channels;