History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/BaseWifiScannerImplTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/BaseWifiScannerImplTest.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/BaseWifiScannerImplTest.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/BaseWifiScannerImplTest.java
6259b630ddb59b642729a2d2113d81ed8e33a0e3 12-Sep-2016 Roshan Pius <rpius@google.com> WifiScanningService: Change hidden/PNO scan params

Since networks are no longer configured in wpa_supplicant, network
IDs/priorities being passed around for hidden/PNO scanning does not make
any sense. Changing the wifi scanner interface to remove all
network ID/priority references.

For hidden networks, we'll now send a sorted array of <ssid> for
each network (similar to PNO). This should help wificond prioritize
networks when the size exceed the max supported by driver.
Also, since wpa_supplicant already supports sending a list of ssids for
scanning, plumb it all the way through.

NOTE:
1. The backend for all these scans will eventually be replaced by
wificond.
2. Hidden networks are no longer considered in bgscan requests. This was
anyway not workin in HalWifiScanner's gscan backed bgscan.

BUG: 29503772
TEST: Existing unit tests.
TEST: Successfully connected to a hidden network on device
Change-Id: Ie7783353d2eb87c2fd7b9a10f44e3e5df4cbc218
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/BaseWifiScannerImplTest.java
3219e97566a093ed10b2a9d6fe77ed9089084d63 07-Sep-2016 Mitchell Wills <mwills@google.com> Add a flag to indicate if a ScanData is for a scan for all channels

BUG=30897947

Change-Id: I989a25dd3df3f473090b76b4e3cb798a2d513490
(cherry picked from commit 4e1f32efceee1db37bfb1e2624b434dbfb055686)
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/BaseWifiScannerImplTest.java
5de29ec72c54cb73fdc1b59072f66a2627b8764c 25-May-2016 Ningyuan Wang <nywang@google.com> Migrating existing code to Clock abstraction part 1

This CL includes the following changes:
Refactor Clock.java for better readability
Use Clock abstraction for classes which already have
a reference of Clock obejct.

BUG=28701686
TEST=compile
TEST=runtest frameworks-wifi

Change-Id: I49e896a91a63cf4519368a9de259046c21c94ddb
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/BaseWifiScannerImplTest.java
256ee9e914f0e7470a4a0f804d2d5ce7f1a9697d 21-May-2016 Roshan Pius <rpius@google.com> resolve merge conflicts of cbb193c to master

Change-Id: I8ba39ea770cef1f5163452fd322631356de80d15
ee0ab818341d44614ffe56ae73ecc08b974c2cbb 20-May-2016 Roshan Pius <rpius@google.com> Change clock for time interval/elapsed measurments

1. Use the clock retrieved from WifiInjector in more modules: QNS,
Scanner, WifiConfigManager.
2. Use |elapsedRealtime| for time interval/elapsed measurments. Things
like scan results, config elements still continue to use
|currentTimeMillis|

Also,
1. Had to make |tryEnableQualifiedNetwork| public to prevent mockito from
calling the real method in WifiConfigManager.
2. Move keystore also into WifiInjector.

BUG: 28299258
BUG: 28824635
Change-Id: I91272aa5665abb741da7530d8920d09c8c5ea41f
TEST: Compiles & unit-test passes
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/BaseWifiScannerImplTest.java
f4267b6840dbc7f430638c35c5448187b6e83846 19-May-2016 Christopher Wiley <wiley@google.com> Move test components into its own static library

This allows us to share the class with networking code
in frameworks/base/services. Moved:
- MockLooper
- BidirectionalAsyncChannel*
- MockAlarmManager
- MockAnswerUtil

Bug: 28848133
Test: These tests continue to pass

Change-Id: I97bba188da1eb07aa8f6fccf6f051c48b197d5f1
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/BaseWifiScannerImplTest.java
362fad8eddd674d7cf19ffcc1fec38d2d2ee2f53 06-May-2016 Roshan Pius <rpius@google.com> SupplicantScanner: Truncate hidden network list

Truncate the hidden network id list if it goes beyond wpa_supplicant's
max value. wpa_supplicant has a hard coded value of 16 for the max
number of networks that can be specified for each scan.

There is currently no way to query this value from wpa_supplicant, so
hardcoding this value in SupplicantScanner.

BUG: 28632556
Change-Id: I31a338b91c221c1686437b738894e13abb897474
TEST: Compiles & unit-test passes
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/BaseWifiScannerImplTest.java
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/scanner/BaseWifiScannerImplTest.java