OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bucketSettings
(Results
1 - 9
of
9
) sorted by null
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
NoBandChannelHelperTest.java
219
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
220
mChannelCollection.fillBucketSettings(
bucketSettings
, Integer.MAX_VALUE);
221
assertThat(
bucketSettings
, channelsAre());
239
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
240
mChannelCollection.fillBucketSettings(
bucketSettings
, Integer.MAX_VALUE);
241
assertThat(
bucketSettings
, channelsAre())
[
all
...]
KnownBandsChannelHelperTest.java
283
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
284
mChannelCollection.fillBucketSettings(
bucketSettings
, Integer.MAX_VALUE);
285
assertThat(
bucketSettings
, channelsAre());
304
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
305
mChannelCollection.fillBucketSettings(
bucketSettings
, Integer.MAX_VALUE);
306
assertThat(
bucketSettings
, channelsAre())
[
all
...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
NoBandChannelHelper.java
151
public void fillBucketSettings(WifiNative.
BucketSettings
bucketSettings
, int maxChannels) {
153
bucketSettings
.band = WifiScanner.WIFI_BAND_BOTH_WITH_DFS;
154
bucketSettings
.num_channels = 0;
155
bucketSettings
.channels = null;
157
bucketSettings
.band = WifiScanner.WIFI_BAND_UNSPECIFIED;
158
bucketSettings
.num_channels = mChannels.size();
159
bucketSettings
.channels = new WifiNative.ChannelSettings[mChannels.size()];
163
bucketSettings
.channels[i] = channelSettings;
ChannelHelper.java
138
* Add all channels in the
BucketSettings
to the collection
140
public void addChannels(WifiNative.
BucketSettings
bucketSettings
) {
141
if (
bucketSettings
.band == WifiScanner.WIFI_BAND_UNSPECIFIED) {
142
for (int j = 0; j <
bucketSettings
.channels.length; ++j) {
143
addChannel(
bucketSettings
.channels[j].frequency);
146
addBand(
bucketSettings
.band);
218
* Store the channels in this collection in the supplied
BucketSettings
. If maxChannels is
222
public abstract void fillBucketSettings(WifiNative.
BucketSettings
bucket, int maxChannels);
250
* Create a string representation of the channels in the
BucketSettings
[
all
...]
KnownBandsChannelHelper.java
247
public void fillBucketSettings(WifiNative.
BucketSettings
bucketSettings
, int maxChannels) {
250
bucketSettings
.band = mAllBands;
251
bucketSettings
.num_channels = 0;
252
bucketSettings
.channels = null;
254
bucketSettings
.band = WifiScanner.WIFI_BAND_UNSPECIFIED;
255
bucketSettings
.num_channels = mChannels.size();
256
bucketSettings
.channels = new WifiNative.ChannelSettings[mChannels.size()];
260
bucketSettings
.channels[i] = channelSettings;
BackgroundScanScheduler.java
197
public WifiNative.
BucketSettings
createBucketSettings(int bucketId, int maxChannels) {
235
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
236
bucketSettings
.bucket = bucketId;
237
bucketSettings
.report_events = reportEvents;
238
bucketSettings
.period_ms = period;
239
bucketSettings
.max_period_ms = maxPeriodInMs;
240
bucketSettings
.step_count = stepCount;
241
mChannelCollection.fillBucketSettings(
bucketSettings
, maxChannels)
[
all
...]
SupplicantWifiScannerImpl.java
242
WifiNative.
BucketSettings
bucket = settings.buckets[i];
365
WifiNative.
BucketSettings
bucket =
414
WifiNative.
BucketSettings
bucketSettings
=
416
if ((
bucketSettings
.report_events
420
singleScanFreqs.addChannels(
bucketSettings
);
421
allFreqs.addChannels(
bucketSettings
);
[
all
...]
WifiScanningServiceImpl.java
689
WifiNative.
BucketSettings
activeBucket = mActiveScanSettings.buckets[0];
747
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
748
bucketSettings
.bucket = 0;
749
bucketSettings
.period_ms = 0;
750
bucketSettings
.report_events = WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN;
[
all
...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
ScanTestUtil.java
91
mSettings.buckets = new WifiNative.
BucketSettings
[0];
125
WifiNative.
BucketSettings
bucket = new WifiNative.
BucketSettings
();
144
WifiNative.
BucketSettings
bucket = new WifiNative.
BucketSettings
();
154
public NativeScanSettingsBuilder addBucket(WifiNative.
BucketSettings
bucket) {
394
* Matcher to check that a
BucketSettings
has the given band
396
public static Matcher<WifiNative.
BucketSettings
> bandIs(final int expectedBand) {
397
return new TypeSafeDiagnosingMatcher<WifiNative.
BucketSettings
>() {
399
public boolean matchesSafely(WifiNative.
BucketSettings
bucketSettings
[
all
...]
Completed in 261 milliseconds