Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DKnownBandsChannelHelper.java66 private WifiScanner.ChannelSpec[][] mBandsToChannels;
70 mBandsToChannels = new WifiScanner.ChannelSpec[WIFI_BAND_COUNT][]; in setBandChannels()
78 new WifiScanner.ChannelSpec[channels2G.length]; in setBandChannels()
86 new WifiScanner.ChannelSpec[channels5G.length]; in setBandChannels()
94 new WifiScanner.ChannelSpec[channelsDfs.length]; in setBandChannels()
102 new WifiScanner.ChannelSpec[channels6G.length]; in setBandChannels()
110 new WifiScanner.ChannelSpec[channels60G.length]; in setBandChannels()
118 WifiScanner.ChannelSpec[] channelSpec, int[] channels) { in copyChannels()
120 channelSpec[i] = new WifiScanner.ChannelSpec(channels[i]); in copyChannels()
125 public WifiScanner.ChannelSpec[][] getAvailableScanChannels(int band) { in getAvailableScanChannels()
[all …]
DChannelHelper.java42 protected static final WifiScanner.ChannelSpec[] NO_CHANNELS = new WifiScanner.ChannelSpec[0];
65 public abstract WifiScanner.ChannelSpec[][] getAvailableScanChannels(int band); in getAvailableScanChannels()
293 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.java32 import android.net.wifi.WifiScanner.ChannelSpec;
133 ChannelSpec[][] channelSpecs = mWifiThreadRunner.call(() -> { in getAvailableChannels()
134 if (mChannelHelper == null) return new ChannelSpec[0][0]; in getAvailableChannels()
137 }, new ChannelSpec[0][0]); in getAvailableChannels()
141 for (ChannelSpec channelSpec : channelSpecs[i]) { in getAvailableChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java61 public static WifiScanner.ScanSettings createRequest(WifiScanner.ChannelSpec[] channels, in createRequest()
175 int period, int reportEvents, WifiScanner.ChannelSpec... channels) { in addBucketWithChannels()
268 int reportEvents, WifiScanner.ChannelSpec... channels) { in createSingleScanNativeSettingsForChannels()
277 int nativeScanType, int reportEvents, WifiScanner.ChannelSpec... channels) { in createSingleScanNativeSettingsForChannels()
429 public static WifiScanner.ChannelSpec[] channelsToSpec(int... channels) { in channelsToSpec()
430 WifiScanner.ChannelSpec[] channelSpecs = new WifiScanner.ChannelSpec[channels.length]; in channelsToSpec()
432 channelSpecs[i] = new WifiScanner.ChannelSpec(channels[i]); in channelsToSpec()
/packages/apps/Test/connectivity/PMC/src/com/android/pmc/
DPMCMainActivity.java28 import android.net.wifi.WifiScanner.ChannelSpec;
253 ChannelSpec[] channels = new ChannelSpec[channelList.length]; in startGscan()
255 channels[i] = new ChannelSpec(channelList[i]); in startGscan()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiScanner.java268 public static class ChannelSpec { class in WifiScanner
288 public ChannelSpec(int frequency) { in ChannelSpec() method in WifiScanner.ChannelSpec
369 public ChannelSpec[] channels;
591 settings.channels = new ChannelSpec[num_channels];
594 ChannelSpec spec = new ChannelSpec(frequency);
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DWifiScannerTest.java144 writeSettings.channels = new WifiScanner.ChannelSpec[] { in verifyScanSettingsParcelWithChannels()
145 new WifiScanner.ChannelSpec(5), in verifyScanSettingsParcelWithChannels()
146 new WifiScanner.ChannelSpec(7) in verifyScanSettingsParcelWithChannels()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConnectivityManager.java295 new WifiScanner.ChannelSpec[mCachedWifiCandidates.frequencies.size()];
297 settings.channels[index++] = new WifiScanner.ChannelSpec(freq);
1503 settings.channels = new WifiScanner.ChannelSpec[freqs.size()]; in setScanChannels()
1505 settings.channels[index++] = new WifiScanner.ChannelSpec(freq); in setScanChannels()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/scanner/
DKnownBandsChannelHelperTest.java129 WifiScanner.ChannelSpec[][] channels = in testBand()
/packages/modules/Wifi/framework/api/
Dsystem-current.txt825 public static class WifiScanner.ChannelSpec {
826 ctor public WifiScanner.ChannelSpec(int);
870 field public android.net.wifi.WifiScanner.ChannelSpec[] channels;
/packages/modules/Wifi/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt1934 Landroid/net/wifi/WifiScanner$ChannelSpec;->dwellTimeMS:I
1935 Landroid/net/wifi/WifiScanner$ChannelSpec;->passive:Z