OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scanSettings
(Results
1 - 9
of
9
) sorted by null
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
ChannelHelper.java
50
public abstract boolean settingsContainChannel(WifiScanner.
ScanSettings
settings, int channel);
61
public abstract int estimateScanDuration(WifiScanner.
ScanSettings
settings);
123
public void addChannels(WifiScanner.
ScanSettings
scanSettings
) {
124
if (
scanSettings
.band == WifiScanner.WIFI_BAND_UNSPECIFIED) {
125
for (int j = 0; j <
scanSettings
.channels.length; ++j) {
126
addChannel(
scanSettings
.channels[j].frequency);
129
addBand(
scanSettings
.band);
149
public boolean containsSettings(WifiScanner.
ScanSettings
scanSettings
) {
[
all
...]
WifiScanningServiceImpl.java
35
import android.net.wifi.WifiScanner.
ScanSettings
;
258
private WifiNative.
ScanSettings
mPreviousSchedule;
432
private WifiNative.
ScanSettings
mActiveScanSettings = null;
433
private RequestList<
ScanSettings
> mActiveScans = new RequestList<>();
434
private RequestList<
ScanSettings
> mPendingScans = new RequestList<>();
557
ScanSettings
scanSettings
=
561
if (validateScanRequest(ci, handler,
scanSettings
, workSource)) {
563
scanSettings
, null);
572
if (activeScanSatisfies(
scanSettings
)) {
[
all
...]
BackgroundScanScheduler.java
24
import android.net.wifi.WifiScanner.
ScanSettings
;
56
* <p>Finally, the scheduler creates a WifiNative.
ScanSettings
from the list of buckets which may be
84
* @see com.android.server.wifi.WifiNative.
ScanSettings
#report_threshold_percent
134
private final List<
ScanSettings
> mScanSettingsList = new ArrayList<>();
149
for (
ScanSettings
settings : originalBucket.getSettingsList()) {
163
public boolean addSettings(
ScanSettings
scanSettings
) {
164
mChannelCollection.addChannels(
scanSettings
);
165
return mScanSettingsList.add(
scanSettings
);
168
public boolean removeSettings(
ScanSettings
scanSettings)
[
all
...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
ChannelHelperTest.java
52
* Compute a string representing the channels in a
ScanSettings
with a band set.
56
WifiScanner.
ScanSettings
scanSettings
= createRequest(WifiScanner.WIFI_BAND_BOTH,
58
assertEquals("24Ghz & 5Ghz (no DFS)", ChannelHelper.toString(
scanSettings
));
62
* Compute a string representing the channels in a
ScanSettings
with a list of channels set.
66
WifiScanner.
ScanSettings
scanSettings
= createRequest(channelsToSpec(5150, 2400),
68
assertEquals("[5150,2400]", ChannelHelper.toString(
scanSettings
));
76
WifiScanner.
ScanSettings
scanSettings
= createRequest(WifiScanner.WIFI_BAND_5_GHZ
[
all
...]
SupplicantPnoScannerTest.java
113
WifiNative.
ScanSettings
settings = createDummyScanSettings();
183
WifiNative.
ScanSettings
settings = createDummyScanSettings();
221
WifiNative.
ScanSettings
scanSettings
= createDummyScanSettings();
227
startSuccessfulPnoScan(
scanSettings
, pnoSettings, scanEventHandler, pnoEventHandler);
261
private WifiNative.
ScanSettings
createDummyScanSettings() {
262
WifiNative.
ScanSettings
settings = new NativeScanSettingsBuilder()
275
private void startSuccessfulPnoScan(WifiNative.
ScanSettings
scanSettings
,
289
assertTrue(mScanner.startBatchedScan(
scanSettings
, scanEventHandler))
[
all
...]
WifiScanningServiceTest.java
127
private WifiScanner.
ScanSettings
generateValidScanSettings() {
187
int scanRequestId, WifiScanner.
ScanSettings
settings, WorkSource workSource) {
196
int scanRequestId, WifiScanner.
ScanSettings
settings, WorkSource workSource) {
306
WifiNative.
ScanSettings
expected) {
307
ArgumentCaptor<WifiNative.
ScanSettings
> scanSettingsCaptor =
308
ArgumentCaptor.forClass(WifiNative.
ScanSettings
.class);
318
WifiNative.
ScanSettings
expected) {
319
ArgumentCaptor<WifiNative.
ScanSettings
> scanSettingsCaptor =
320
ArgumentCaptor.forClass(WifiNative.
ScanSettings
.class);
427
when(mWifiScannerImpl.startBatchedScan(any(WifiNative.
ScanSettings
.class)
[
all
...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiConnectivityManager.java
31
import android.net.wifi.WifiScanner.
ScanSettings
;
669
private boolean setScanChannels(
ScanSettings
settings) {
769
ScanSettings
settings = new
ScanSettings
();
[
all
...]
/frameworks/base/wifi/java/android/net/wifi/
WifiScanner.java
163
public static final String SCAN_PARAMS_SCAN_SETTINGS_KEY = "
ScanSettings
";
169
public static class
ScanSettings
implements Parcelable {
240
public static final Creator<
ScanSettings
> CREATOR =
241
new Creator<
ScanSettings
>() {
242
public
ScanSettings
createFromParcel(Parcel in) {
243
ScanSettings
settings = new
ScanSettings
();
265
public
ScanSettings
[] newArray(int size) {
266
return new
ScanSettings
[size];
478
public static final String PNO_PARAMS_SCAN_SETTINGS_KEY = "
ScanSettings
";
[
all
...]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
WifiScannerFacade.java
46
import android.net.wifi.WifiScanner.
ScanSettings
;
335
private
ScanSettings
parseScanSettings(JSONObject j) throws JSONException {
339
ScanSettings
result = new
ScanSettings
();
388
* @param
scanSettings
394
@RpcParameter(name = "
scanSettings
") JSONObject
scanSettings
)
396
ScanSettings
ss = parseScanSettings(
scanSettings
);
438
* @param
scanSettings
[
all
...]
Completed in 73 milliseconds