History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7f2a1e30dd5d14320ffc7b185ac25fdb79fe52b0 23-Jan-2018 Etan Cohen <etancohen@google.com> Update SmallTest library

android.test.suitebuilder.annotation.SmallTest is deprecated and
replaced by android.support.test.filters.SmallTest.

Update all test files. No other change (except import order cleaning
up to pass preload format check).

Bug: 72324160
Test: all unit tests pass
Change-Id: Icc4abe3b3b37926d583c0d4ae510a7d7c74c1a03
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
ec5fc620a38900385d7509d66a6eb75401eafeb4 24-Jan-2018 Roshan Pius <rpius@google.com> WifiScanningService: Reload WifiScannerImpl on every driver load

Changes in the CL:
a) Recreate the scanner impl on every driver load so that we fetch the
interface name dynamically on toggle.
b) If the interface name is null, stop all state machines by returning a
null scanner impl.

TODO: We can eventually use the iface name in the scanner impl's for any
native calls.

Bug: 72431133
Test: Unit tests
Test: Toggled wifi/softap/airplane multiple times.
Test: Rebooted with wifi on/off & ensured that we can connect to wifi
networks.
Change-Id: Ia0ef83371e92815a33db8b9e5b95407118410fbe
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
3feac6fe9249c1b7bf284c7a9bfa65a86b973154 19-Jan-2018 Roshan Pius <rpius@google.com> WifiScanningService: Plumb DBS scan params from/to Wificond

a) Plumb the scan type to wificond from WifiScanner.
Note: Scans with different types will not be coalesced together.
b) Plumb the scan result radio chain info from wificond to WifiScanner.

Bug: 68335251
Test: Unit tests
Test: Manual Tests (Scans still work)
Change-Id: Ief135715f70dedc71600f1c575e8a5eaf4ba7097
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
52ed1731664f7e0b76adb14eec7a76eaa95144c3 22-Dec-2017 Roshan Pius <rpius@google.com> WifiNative: Use iface name for WifiNative methods

Remove any hardcoded interface name throughout the wifi framework
codebase.
Interface name will now be retrieved from the HAL using the
WifiNative.setupInterfaceFor*Mode() methods. All interface specific
operations in WifiNative will now accept the interface name as handle.
The clients (WifiStateMachine, SoftApManager, etc) should use the
appropriate interface name retrieved fom the setup method.

The only exception is external clients like RttService,
WifiScanningService, WifiDiagnostics, etc which will retrieve the active
client interface name from WifiNative.

Bug: 69426063
Test: Manually toggled wifi/softap/airplane mode on/off multiple times.
Test: Unit tests.
Test: Will send for regression tests
Change-Id: If7b34f9c7714fcab8482e6f2cad9078d78229fe2
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
fc0ee31f8c7aaa9116299d08bf953f4d70fad1dc 17-Nov-2017 Ningyuan Wang <nywang@google.com> Decouple single scan and pno scan

This removes all the logic handling PNO scan pause and resume.
This also removes all the logic and unit tests for PNO scan debouncer.

Details includes split LastScanSettings to LastScanSettings
and LastPnoScanSettings.
Also since we no longer need to pause a PNO scan, this removes
mPnoSettings and mPnoEventHandler because mLastPnoScanSettings
could replace them.

Bug: 64576221
Bug: 67467255
Test: compile, unit tests
Test: integration tests
Test: manually test wifi scans works

Change-Id: I4803355ba82cfccb9eb8750caa8133645941009e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
da410c9b2c5ea87abb5939c27d127cc64936242f 25-Oct-2017 Ningyuan Wang <nywang@google.com> Remove the usage of NoBandChannelHelper

NoBandChannelHelper is used on devices where HAL based
getChannelsForBand() APIs are not supported.

While getChannelsForBand() APIs are based on wificond now, we
can remove NoBandChannelHelper to reduce the code complexity.

This also fixes WificondPnoScannerTest, where both
createDummyScanSettings() and createDummyScanResults() should
be consistent on boolean |allChannelsScanned|.

Bug: 35707768
Test: compile, unit tests

Change-Id: I1c3007d6bb159c1b58c4b5370f8682fbeb8750d8
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
51fbc84e4424c637a50ffeb6dde78d11d743be21 05-Oct-2017 Ningyuan Wang <nywang@google.com> Remove software pno scan support

Bug: 67470565
Test: compile, unit tests
Test: manually test that PNO scan still works

Change-Id: I0bc276291e95f3ce9dd291ac25dba329fd6204c0
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
867eb96eca28f635afeb1c2a041be3bf75387f5c 04-Oct-2017 Ningyuan Wang <nywang@google.com> Remove software backed background scan support

1. This removes the implementation of software backed background
scan support.
2. This also removes related unit tests.
3. This adds logs saying it's not supported on related methods.

Bug: 67424927
Test: compile, unit tests
Test: manually test that wifi single and pno scans work
Test: integration test

Change-Id: Id1f8bb4f326d35cd1bdc457cc73c9d40567a5adf
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
71c4c2a898a827a867564159ce78e41aedd2295b 10-Jul-2017 Sohani Rao <sohanirao@google.com> Introduce new API for retrieving PNO scan results

Create a seperation of code paths for retrieving scan results from
single scan vs those from a PNO scan. This enables the underlying
implementation to return PNO scan results from the interface that most
recently completed the scans while ensuring no changes to the way single
scan results are returned to the framework.

Bug: 63148974
Test: Unit tests, on-device test for connecting to a network found by
Offload HAL during Pno scans

Change-Id: I6002f6df05e40fe24ff12f4a49599343578873f4
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
9dc9a8750ecd1ab25c5b4c7d17c8930ca2ffb6c3 23-May-2017 Ningyuan Wang <nywang@google.com> Rename ChannelHelper.getSupplicantScanFreqs()

We no longer use supplicant for scanning, so we need
to rename this helper function.
Since this helper function is not specifically for supplicant,
this CL just removes the 'Supplicant' part in its name.

This also fixes a few comments related to supplicant.

Bug: 36031295
Test: compile, unit tests, manual tests
Change-Id: Iabbf20e07b52ea015db227984511affaa055f205
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
24367605737f34ba941aac315d3da210c5805921 23-Mar-2017 Ningyuan Wang <nywang@google.com> Fix WificondPnoScannerTest and WificondScannnerTest

This fixes unit tests by using any() instead of any(Set.Class).
This allowes any() to match null parameter.

Bug: 36407367
Test: compile, unit tests

Change-Id: Ie9b52d3f4bd837b7af66b669b49224c5d7395378
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
51493e199ebf1e1191ccf652f0081d229018a11f 21-Mar-2017 Ningyuan Wang <nywang@google.com> Separate single scan and sched scan result handling

Bug: 36479602
Test: compile, unit tests, integration test

Change-Id: I066619ca7c53cf7e8e53ce776c1b419201d522f1
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java
05d51a2d8eb67ea2eaf4cae43280d1cf9fe92645 02-Mar-2017 Ningyuan Wang <nywang@google.com> Rename SupplicantWifiScannerImpl to WificondScannerImpl

This also fixes a few formatting issues.

Bug: 35707137
Test: compile, unit tests, integration test

Change-Id: I1b6642b723c5676620d65136cc6c773b49e28559
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WificondPnoScannerTest.java