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());
238
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
239
mChannelCollection.fillBucketSettings(
bucketSettings
, Integer.MAX_VALUE);
240
assertThat(
bucketSettings
, channelsAre())
[
all
...]
KnownBandsChannelHelperTest.java
283
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
284
mChannelCollection.fillBucketSettings(
bucketSettings
, Integer.MAX_VALUE);
285
assertThat(
bucketSettings
, channelsAre());
303
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
304
mChannelCollection.fillBucketSettings(
bucketSettings
, Integer.MAX_VALUE);
305
assertThat(
bucketSettings
, channelsAre())
[
all
...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
NoBandChannelHelper.java
146
public void fillBucketSettings(WifiNative.
BucketSettings
bucketSettings
, int maxChannels) {
148
bucketSettings
.band = WifiScanner.WIFI_BAND_BOTH_WITH_DFS;
149
bucketSettings
.num_channels = 0;
150
bucketSettings
.channels = null;
152
bucketSettings
.band = WifiScanner.WIFI_BAND_UNSPECIFIED;
153
bucketSettings
.num_channels = mChannels.size();
154
bucketSettings
.channels = new WifiNative.ChannelSettings[mChannels.size()];
158
bucketSettings
.channels[i] = channelSettings;
ChannelHelper.java
134
* Add all channels in the
BucketSettings
to the collection
136
public void addChannels(WifiNative.
BucketSettings
bucketSettings
) {
137
if (
bucketSettings
.band == WifiScanner.WIFI_BAND_UNSPECIFIED) {
138
for (int j = 0; j <
bucketSettings
.channels.length; ++j) {
139
addChannel(
bucketSettings
.channels[j].frequency);
142
addBand(
bucketSettings
.band);
214
* Store the channels in this collection in the supplied
BucketSettings
. If maxChannels is
218
public abstract void fillBucketSettings(WifiNative.
BucketSettings
bucket, int maxChannels);
246
* Create a string representation of the channels in the
BucketSettings
[
all
...]
KnownBandsChannelHelper.java
241
public void fillBucketSettings(WifiNative.
BucketSettings
bucketSettings
, int maxChannels) {
244
bucketSettings
.band = mAllBands;
245
bucketSettings
.num_channels = 0;
246
bucketSettings
.channels = null;
248
bucketSettings
.band = WifiScanner.WIFI_BAND_UNSPECIFIED;
249
bucketSettings
.num_channels = mChannels.size();
250
bucketSettings
.channels = new WifiNative.ChannelSettings[mChannels.size()];
254
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];
360
WifiNative.
BucketSettings
bucket =
409
WifiNative.
BucketSettings
bucketSettings
=
411
if ((
bucketSettings
.report_events
415
singleScanFreqs.addChannels(
bucketSettings
);
416
allFreqs.addChannels(
bucketSettings
);
[
all
...]
WifiScanningServiceImpl.java
687
WifiNative.
BucketSettings
activeBucket = mActiveScanSettings.buckets[0];
745
WifiNative.
BucketSettings
bucketSettings
= new WifiNative.
BucketSettings
();
746
bucketSettings
.bucket = 0;
747
bucketSettings
.period_ms = 0;
748
bucketSettings
.report_events = WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN;
761
bucketSettings
.report_events |= WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT;
[
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) {
392
* Matcher to check that a
BucketSettings
has the given band
394
public static Matcher<WifiNative.
BucketSettings
> bandIs(final int expectedBand) {
395
return new TypeSafeDiagnosingMatcher<WifiNative.
BucketSettings
>() {
397
public boolean matchesSafely(WifiNative.
BucketSettings
bucketSettings
[
all
...]
Completed in 2676 milliseconds