History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a8367288377cbaed6371256ca837b7aa22280706 11-Apr-2016 Mitchell Wills <mwills@google.com> Move WifiScanner related code to scanner package

Change-Id: I73d01fe4d0de99a4e9758353cacf1d7a790cf040
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
c343aec32e1d3fe320eb97c527b0bcfb2d334e45 29-Mar-2016 Roshan Pius <rpius@google.com> WifiScanningServiceImpl: Create PNO state machine

Adding a PNO state machine to fetch full scan results for all types of
PNO when reporting events back to the client.

BUG: 27886011
TEST: Compiles & unit-test passes
TEST: Made changes in WifiConnectivityManager to use the scan results to
auto-connect.
Change-Id: I18879cb1bf82226e329c6076e8443e0986ddbe27
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
c4f23cbd6de85cbffcd91b398e51eff106ef08d4 26-Mar-2016 Mitchell Wills <mwills@google.com> Use buckets scanned field when delivering scan results

Fixes: 27506257
Change-Id: I224b78a89dfde54ef4f3dae37f1bb10d2a12b78e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
8adb4e72f58e3e25918f33e0b2687e6acc14c47d 04-Nov-2015 Mitchell Wills <mwills@google.com> Refactor WifiScanner support for oneshot scans

Seperate oneshot scans so they are no longer implemented using
background scans and make WifiStateMachine use WifiScanner for single
scans.

This changes requires a few parts:
1. Implement single scan logic in WifiScanningServiceImpl for merging
and executing scan requests using the single scan native interface.
2. Writing tests for the new code in 1
3. Make supplicant start scans by using WifiScanner and when it
recieves callbacks dispatch scan complete/failure messages.
4. Enable HalWifiScannerImpl and SupplicantWifiScannerImpl to listen to
supplicant scan events now that WifiStateMachine does not.

Bug: 26525037
Bug: 26895774
Change-Id: I7d03b43bbd2be396b3c772bc4bae681acce8eb7b
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
d74ff28cdb01d3f711e0b0f0e99e51fdb221eaf2 07-Mar-2016 Roshan Pius <rpius@google.com> WifiScanner: Changes to support hidden Network Ids

Add the required plumbing to support scanning for hidden networks via
wpa_supplicant.
Added a test case to verify that the network ID list is being sent
as expected.

BUG: 27503786
Change-Id: I2d1ef74494080e01248ae8aad5081c7608fc0e81
TEST: Compiles & unit-test passes
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
7e3e85327ca82a83de84b4750e793f2e3d1b3bfc 06-Feb-2016 Mitchell Wills <mwills@google.com> Replace WifiChannelHelper with ChannelHelper implementations

Change-Id: I20c266825e3b0b0566d6d2939ca2d0c67d213d78
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
39175cc807488dd849e2c530f8be30dd674fbd9f 09-Feb-2016 Mitchell Wills <mwills@google.com> Add more functionality to ChannelHelper

Check if a channel is in a ScanSettings
Add channels to accumulator from native settings
Add unit tests for non-abstract ChannelHelper methods

Change-Id: I86b5194b2a5c852fd25041a363f42caa202dfa7a
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
712ef6246834caeac3d5b06bea08e85d6b29cd7a 05-Feb-2016 Mitchell Wills <mwills@google.com> Add scan channel helper abstraction

This will allow code to easily function without worrying about the
differences in the amount of information known about scan channels.

Currently this abstraction will only support merging channels, but more
functionality will be added as needed. Eventually this will replace all
functionality in WifiChannelHelper.

Change-Id: Ic41501204fa4ff4470491055f4204ad9a88000d4
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
d2d3de4c2bea4b949ed78a9b01b920bffa7e51a9 07-Feb-2016 Mitchell Wills <mwills@google.com> Do some cleanup of WifiScanningServiceTest

Improve the error messages generated by tests and make utilities more
general in preparation for adding single scan tests. Also do some
general scan test cleanup.

Change-Id: Iff292a9bd3519c1f2819c8ca4d3ecbfa87ab80f5
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
2e814680f4dd27a5f825afab189843582235cedc 24-Jan-2016 Jan Nordqvist <jannq@google.com> New System APIs for Passpoint r2 app.

Change-Id: If23e6ab432e871a407cbff94292673524c6d72bd
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
3fdceeaa74e21c0ca4da52deeeef6571e7e2a6cd 01-Feb-2016 Mitchell Wills <mwills@google.com> Revert "Refactor WifiScanner support for oneshot scans"

This CL does not correctly handle devices that do not support WifiNative.getChannelsForBand

Bug: 26895774

This reverts commit 772124d1f1ddb2b9537de5efc748943808dafe80.

Change-Id: Ie49715fc89750f79c8e5f188cb42094f1076a48b
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
772124d1f1ddb2b9537de5efc748943808dafe80 04-Nov-2015 Mitchell Wills <mwills@google.com> Refactor WifiScanner support for oneshot scans

Seperate oneshot scans so they are no longer implemented using
background scans and make WifiStateMachine use WifiScanner for single
scans.

This changes requires a few parts:
1. Implement single scan logic in WifiScanningServiceImpl for merging
and executing scan requests using the single scan native interface.
2. Writing tests for the new code in 1
3. Make supplicant start scans by using WifiScanner and when it
recieves callbacks dispatch scan complete/failure messages.
4. Enable HalWifiScannerImpl and SupplicantWifiScannerImpl to listen to
supplicant scan events now that WifiStateMachine does not.

Bug: 26525037
Change-Id: Iddd6d64b35fed129048e1fd5c79acb6982bfc418
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
94bd575cb4766ed0dfbaad0fc7719a9e9e85a260 15-Jan-2016 Mitchell Wills <mwills@google.com> Add some tests for WifiScanningService

Cleanup WifiScanningServiceImpl a little and add a few basic tests
Also cleaned up some tests and added some more utilities

Change-Id: Ic0ac34344de6cf8fa03b741189156916ae35e2a3
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
2771787818003e53e8175036a3d09688c783f350 07-Jan-2016 Mitchell Wills <mwills@google.com> Fix a couple bugs in WifiScanner and improve tests

Ordering of scan results for HAL scanner implementation was wrong.
Generated scan results for tests were very similar in some cases leading
to tests missing the bug above. This CL makes generated scan results
dependant on the test case name as well.

Change-Id: Ibb35abf275db3585766be630585d0e3c8870494c
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
f935e529bdcc150dc57641f5f2ab10cd69f2e3e9 12-Jan-2016 Randy Pan <zpan@google.com> Exponential back off scan unit tests

Added two unit tests for exponential back off scan.

Bug: 26236392
Change-Id: I259c735c952331601fbc2f5ac76b735ae3c64c77
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
5fa6221c4e507cbc596b6de77d793ec08d690157 12-Dec-2015 Mitchell Wills <mwills@google.com> Add support for oneshot scan API in supplicant WifiScannerImpl

Implement startSingleScan for in SupplicantWifiScannerImpl
Also some style cleanup in SupplicantWifiScannerImpl
Refactor HalWifiScanner tests to be a base for both supplicant and hal
implementations

Change-Id: Ic6d4db7acda39207861bad8b33ddb433c3917b8b
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
72c639e8b97067e948eca8be50dfea3173121090 04-Nov-2015 Mitchell Wills <mwills@google.com> Cleanup wifi tests style

Make all tests follow style defined in development/tools/checkstyle

Change-Id: I18b24956f4fdecde8f02ebcc9089065b4a5b7e68
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
41e38d84f562e12198f7db0d45f633712cae6cba 19-Nov-2015 Mitchell Wills <mwills@google.com> Tests for SupplicantWifiScannerImpl

Other small fixes/aids for testing
* deliver full scan results in the order they are returned from
supplicant
* Now use AlarmListener AlarmManager API instead of intents
* Use WifiChannelHelper instead of direct native calls

Change-Id: I3133a21162f598e5e5973ec67ebc9521a3a387ab
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java
297c3acabe7a85eb87240fe3ccf772e57ce6aef7 23-Jul-2015 Mitchell Wills <mwills@google.com> Add multi client batch aware scheduler

WifiScanner can now schedule requests much more intelligently.

Bug: 20956158

Change-Id: Ib852d1d84d8cc798a37660850d5e6f3a206390c1
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ScanTestUtil.java