History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d76a14997a969ea44daa47756dcc8f83aee96935 20-Sep-2016 Mitchell Wills <mwills@google.com> Ignore disconnect messages that don't indicate the channel is dead

Bug: 29368784
Test: mmma frameworks/opt/net/wifi/tests && runtest frameworks-wifi
Change-Id: I5ae3665898565379b101c4ac0c5570c9debb1228
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
4e1f32efceee1db37bfb1e2624b434dbfb055686 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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
5382acb5eb3a0448a32651dcc7fe9fd634ce0e38 20-Jul-2016 Roshan Pius <rpius@google.com> WifiScanningServiceImpl: Add ClientInfo null checks

Add missing null checks for |ClientInfo| in a few places. ClientInfo
could end up being null if there was a pending cleanup of the client
before processing of the request in the appropriate state machine.

Also, add a unit test to simulate the scenario in the bug specified.

BUG: 30241457
Change-Id: Ic4412ae03b5176764b10cba357d19086c0c09e6e
TEST: Unit tests
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
1ba04405f98489f0fbd66b6566c64324be11111a 23-Jun-2016 Mitchell Wills <mwills@google.com> Add a WifiScanner API to listen for ongoing scans

Bug: 29412469
Change-Id: I1b8c6f3524e937cbc902af0be391b5e6b23e8ee2
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
5751e82f645ab5b4366c63e0fbc561534c1cb3b8 22-Jun-2016 Mitchell Wills <mwills@google.com> Reuse single scan results if a request comes in during an ongoing scan

Change-Id: I590c64a4718385214e4ba803112ed7283f69b3be
Fixes: 28936380
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
9e7f5e0a47a9a4aa519a50d9a0959547c1c604f1 15-Jun-2016 Mitchell Wills <mwills@google.com> Better distinguish between WifiScanner clients in logs

Change-Id: I15327935f4b9ccdf3d3244087c508f19fd275c1f
Fixes: 29385784
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
622e9ff3874251022ae3c27548bc5a2f77bdc8bc 13-Jun-2016 Glen Kuhne <kuh@google.com> Merge "DO NOT MERGE WifiMetrics: Record capture duration" into nyc-dev
3040b86393a04bc939a5a94cda4169b0293dfac7 10-Jun-2016 Mitchell Wills <mwills@google.com> Fix crash when cleaning up WifiScanner client before Wifi enabled

Change-Id: Ia212840fcf781740d5e185d3e3c2e30a477e25f0
Fixes: 29250616
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
49410c13ba2284fb7c836fd3527dc526ea5681a0 07-Jun-2016 Glen Kuhne <kuh@google.com> DO NOT MERGE WifiMetrics: Record capture duration

Adds a wifi metric that records the capture duration period represented
by the WifiLog proto. This is to improve the way wifiLogs are weighted when
aggregated.
Modified WifiMetrics to use the Clock wrapper of SystemClock to
facilitate unit tests.

BUG=29185886

Change-Id: I61dd2b481c26f0ea21bcb280ce1d40f3d73b7625
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
e733ddab5260b153ad76ed73a672de928d0f4b37 26-May-2016 Mitchell Wills <mwills@google.com> Fix WifiScanner tests after parameter adjustment

Change-Id: Ia18913aed38ff5fa7655878340b99e15132a32d1
Fixes: 28970259
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
1f9f7c109ca952884fb7bff7271669d879ce9b97 23-May-2016 Mitchell Wills <mwills@google.com> Merge "Make sure that all ways a scan can fail get logged" into nyc-dev
9d6a7a1b5f9e9ea194fc6b15044c9d14d6aefabf 21-May-2016 Roshan Pius <rpius@google.com> Merge changes Ie64c11f3,I91272aa5 into nyc-dev

* changes:
WifiNetworHistory: Don't persist QNS blacklist
Change clock for time interval/elapsed measurments
56820e92fd4b1a0cee83f552905fc76fc8290146 20-May-2016 Mitchell Wills <mwills@google.com> Make sure that all ways a scan can fail get logged

Bug: 28682351
Change-Id: If9296d862adbd479e8600699f06f4684d377ae6a
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
61d025c1d760de811fd62e3b2d376b47d61d10a1 20-May-2016 Mitchell Wills <mwills@google.com> Merge "Add tests to verify single scan blame behavior" into nyc-dev
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/WifiScanningServiceTest.java
1345d63ec537cc75b8daf9cafbb8b1fd78338ec5 18-May-2016 Mitchell Wills <mwills@google.com> Add tests to verify single scan blame behavior

Bug: 28320003
Change-Id: I4cfdedb1d5c3c29608208bb1c3bda42f4759fb7f
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
f5cdd8e7a6b7d4c0b5f77134273c7e894d8c087b 16-May-2016 Mitchell Wills <mwills@google.com> Fix crash when scanner gets results that don't match the request

Before this, when WifiScanningService processed single scan results from
supplicant that only contained results that did not match a request the
filter code would return null indicating that the results should not be
delivered, causing a NPE later. This change updates the meaning of the
bucket index that the single scan code provides to the filtering code to
instead force it to always include scan results.

Change-Id: I65cd57b14abacec3f407991188c570601d05ac77
Fixes: 28794598
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
59298c7cfffdf856e32879ec967fe27c7e977a49 04-May-2016 Mitchell Wills <mwills@google.com> Add more details about what scan results were delivered to clients

Fixes: 28563549
Change-Id: I445054af4b176c69a26af6fe340a6eb88cf06452
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.java
d36b93b07ee7a3f6116cc7ae7a1a1e6b687a9d3c 25-Apr-2016 Mitchell Wills <mwills@google.com> Fix another potential crash when dumping WifiScanningService

Also make logging in WifiScanningService not static and add some tests
to verify some logging behavior.

Fixes: 28274869
Change-Id: I879200778dcadb4e67d5a85d42442baf3ceef6c9
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/WifiScanningServiceTest.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/WifiScanningServiceTest.java