Searched refs:bucketSettings (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
D | KnownBandsChannelHelperTest.java | 284 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); in empty() local 285 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in empty() 286 assertThat(bucketSettings, channelsAre()); in empty() 305 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); in clear() local 306 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in clear() 307 assertThat(bucketSettings, channelsAre()); in clear() 325 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); in addBand() local 326 mChannelCollection.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in addBand() 327 assertThat(bucketSettings, bandIs(WifiScanner.WIFI_BAND_24_GHZ)); in addBand() 345 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); in addChannel_single() local [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | ChannelHelper.java | 140 public void addChannels(WifiNative.BucketSettings bucketSettings) { in addChannels() argument 141 if (bucketSettings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in addChannels() 142 for (int j = 0; j < bucketSettings.channels.length; ++j) { in addChannels() 143 addChannel(bucketSettings.channels[j].frequency); in addChannels() 146 addBand(bucketSettings.band); in addChannels() 254 public static String toString(WifiNative.BucketSettings bucketSettings) { in toString() argument 255 if (bucketSettings.band == WifiScanner.WIFI_BAND_UNSPECIFIED) { in toString() 256 return toString(bucketSettings.channels, bucketSettings.num_channels); in toString() 258 return bandToString(bucketSettings.band); in toString()
|
D | KnownBandsChannelHelper.java | 247 public void fillBucketSettings(WifiNative.BucketSettings bucketSettings, int maxChannels) { in fillBucketSettings() argument 250 bucketSettings.band = mAllBands; in fillBucketSettings() 251 bucketSettings.num_channels = 0; in fillBucketSettings() 252 bucketSettings.channels = null; in fillBucketSettings() 254 bucketSettings.band = WifiScanner.WIFI_BAND_UNSPECIFIED; in fillBucketSettings() 255 bucketSettings.num_channels = mChannels.size(); in fillBucketSettings() 256 bucketSettings.channels = new WifiNative.ChannelSettings[mChannels.size()]; in fillBucketSettings() 260 bucketSettings.channels[i] = channelSettings; in fillBucketSettings()
|
D | BackgroundScanScheduler.java | 234 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); in createBucketSettings() local 235 bucketSettings.bucket = bucketId; in createBucketSettings() 236 bucketSettings.report_events = reportEvents; in createBucketSettings() 237 bucketSettings.period_ms = period; in createBucketSettings() 238 bucketSettings.max_period_ms = maxPeriodInMs; in createBucketSettings() 239 bucketSettings.step_count = stepCount; in createBucketSettings() 240 mChannelCollection.fillBucketSettings(bucketSettings, maxChannels); in createBucketSettings() 241 return bucketSettings; in createBucketSettings()
|
D | WificondScannerImpl.java | 168 WifiNative.BucketSettings bucketSettings = settings.buckets[i]; in startSingleScan() local 169 if ((bucketSettings.report_events in startSingleScan() 173 allFreqs.addChannels(bucketSettings); in startSingleScan()
|
D | WifiScanningServiceImpl.java | 943 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); in tryToStartNewScan() local 944 bucketSettings.bucket = 0; in tryToStartNewScan() 945 bucketSettings.period_ms = 0; in tryToStartNewScan() 946 bucketSettings.report_events = WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN; in tryToStartNewScan() 963 bucketSettings.report_events |= WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT; in tryToStartNewScan() 974 channels.fillBucketSettings(bucketSettings, Integer.MAX_VALUE); in tryToStartNewScan() 976 settings.buckets = new WifiNative.BucketSettings[] {bucketSettings}; in tryToStartNewScan()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ScanTestUtil.java | 458 public boolean matchesSafely(WifiNative.BucketSettings bucketSettings, in bandIs() 460 if (bucketSettings.band != expectedBand) { in bandIs() 463 .appendText(", was ").appendValue(bucketSettings.band); in bandIs() 483 public boolean matchesSafely(WifiNative.BucketSettings bucketSettings, 485 if (bucketSettings.band != WifiScanner.WIFI_BAND_UNSPECIFIED) { 487 .appendValue(bucketSettings.band); 489 } else if (bucketSettings.num_channels != expectedChannels.length) { 493 .appendText(", was ").appendValue(bucketSettings.num_channels); 495 } else if (bucketSettings.channels == null) { 498 } else if (bucketSettings.channels.length != expectedChannels.length) { [all …]
|
D | WifiVendorHalTest.java | 3291 WifiNative.BucketSettings bucketSettings = new WifiNative.BucketSettings(); in startBgScan() local 3292 bucketSettings.bucket = 0; in startBgScan() 3293 bucketSettings.period_ms = 16000; in startBgScan() 3294 bucketSettings.report_events = WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN; in startBgScan() 3295 settings.buckets = new WifiNative.BucketSettings[] {bucketSettings}; in startBgScan()
|