bc3a847de5a76a2f1f3a75c46e1cc76d02673ada |
|
18-Aug-2017 |
Ningyuan Wang <nywang@google.com> |
Fix scan result age on log dumping Bug: 64812119 Test: compile, unit tests, verify it by looking at bug report Change-Id: I4ce439e2c2e1bce19eed6ef4a80cc9fe141b4e61
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
c6e7fd8b76398114980a43c5d90197939c1ddfeb |
|
25-Jul-2017 |
Ningyuan Wang <nywang@google.com> |
Dump latest unfiltered scan result Bug: 63810310 Test: compile, unit tests, manual test Change-Id: I090aaacb00c3a774edd5c353037f2265f3bf138f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
23216ca333dc411e6ce0829f777ca29992388443 |
|
13-Jun-2017 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Cache only results of full single scans Change the single scan results caching logic inside WifiScanner: 1. Only cache scan results if they were for full scans. We've expanded the meaning of "full scans" to include both 2g + 5g and 2g + 5g + dfs. 2. Filter out any scan results from the cache if they're over 3 minutes old. The motivation of this CL is to solve these problems: 1. Do not overwrite full scan results requested by an external app (ex. Settings) with results from a partial scan (ex. from WifiConnectivityManager). This avoids the race condition where the settings app performs a scan and gets a partial list of results back because it was ovewritten by an internal partial scan request in between. 2. Scan results retrieved by apps will not contain stale scan results. In N, wpa_supplicant evicted any scan results which were older than 3 minutes from the cache. So, this CL restores that behavior. Bug: 38212080 Test: Verified that both the settings and wifi wake is working properly with the fix. Test: Will send for full regression tests (b/62711875). Test: New unit tests to verify that the partial scan results don't override the cache. Test: Modified existing unit tests to account for the change in behavior. The broadcast (and cache) is now only updated on full scans. Some of the tests were modified to produce full scan results, while the other tests expectations were modified for partial scan results. Change-Id: I4d6fb994d50995434f76218386272aa2562476fe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
04977155d75180c629a6c44b9db1fa9d2e250e76 |
|
08-Jun-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge "Revert "WifiScanningService: Don't cache results of partial scan"" into oc-dev
|
ae5d7343534f7f41c53f98a1782183405ff32a0d |
|
08-Jun-2017 |
Roshan Pius <rpius@google.com> |
Revert "WifiScanningService: Don't cache results of partial scan" This reverts commit 24dc6bb288a15516c89ab507bb86511556824144. BUG: 62394341 Change-Id: Ice9c5d34a374d5a600e0797504d3c4774e4b2ace
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
e2e66be742947c65f882dd1fe6a267b1acf97001 |
|
01-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Dump SingleScanStateMachine events" into oc-dev
|
e29b548574b1dac325038659834d0a8fd28da01f |
|
01-Jun-2017 |
Ningyuan Wang <nywang@google.com> |
Dump SingleScanStateMachine events This is useful for single scan debugging. This also reduces the PnoScanStateMachine's locallog size, so as a result we won't increase the total log size. Bug: 62019591 Test: compile, unit tests, manual tests Change-Id: Ia59f24a977d332d7993448c0df41b4df6d038922
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
24dc6bb288a15516c89ab507bb86511556824144 |
|
30-May-2017 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Don't cache results of partial scan These partial scan requests are initiated by the wifi stack when connected to a network for network selection purposes. This might interfere with full scan requests made by external apps. So, don't cache such partial scan results. The apps will always get results of the last full scan request made. Bug: 38212080 Test: Unit tests Test: Verified manually that the WifiManager#getScanResults() no longer outputs partial scan results. Change-Id: I5e320435e34c6bd74639dd13a480bb26ecea1edb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
bb9016d1e5f7c2b27502e7d7db13b55460bca88b |
|
24-Mar-2017 |
Michael Plass <mplass@google.com> |
Cherry-picl: Remove bssid hotlist from framework Bug: 30147676 Test: Relevant unit tests pass, wifi functions Change-Id: Iac6a4c3d4a9e842e73b6122218fe0842126e43e7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
8a9a103245ecfaf2c596603ccef884b870509566 |
|
29-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Fix hidden network list comparision for scan merging This fixes the case where we reject the scan merging because we think a null hidden network list and an empty hidden network list is practically different. Bug: 36697185 Test: compile, unit tests, integration test Change-Id: Ib0185f3ad962805b1939d2d108f82506eccf5940
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
13124e91e541c1a91cd91075064d5560cc2f7db0 |
|
23-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Merge "Do not return member array reference upon CMD_GET_SINGLE_SCAN_RESULTS" am: 4990cf1ecd am: a94723b115 am: 1f16394997 Change-Id: I12f870225685ef48f680b6a32930455643696013
|
6781d02916ada0ee87df09b68e4082e44932b25d |
|
20-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Do not return member array reference upon CMD_GET_SINGLE_SCAN_RESULTS If the caller is within the same process, this might cause concurrent access of mCachedScanResults. This patch uses a copy of this array instead. Bug: 34670610 Test: compile, unit tests, integration test Change-Id: I143ce97f21f172fe195a3b97383b9fb8d6e5e5b2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
efe96b06536c59bf0e47d83c5544b228caf5111f |
|
13-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Rename SupplicantWifiScannerImpl to WificondScannerImpl am: 05d51a2d8e am: e11ddc06aa am: bea1f6ae58 Change-Id: Ic65d1cc964329c93e53b5a3f3bc39a8bc9f68b06
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
622fa1247e4fdbc588e9ff15ea36e5f1adb50a62 |
|
07-Mar-2017 |
Ningyuan Wang <nywang@google.com> |
Request Pno scan via wificond and re-enable pno scan am: 04c453c2e0 am: aa4cd04469 am: d591170013 Change-Id: Ie9b5bac0c47e7dc2faee7efec73e3597aa1e7c3e
|
04c453c2e07efc30b99528926f205740226f1c7b |
|
17-Feb-2017 |
Ningyuan Wang <nywang@google.com> |
Request Pno scan via wificond and re-enable pno scan Bug: 32977707 Test: compile, unit tests, manual test, will do integration test Change-Id: I3b7d5020aa695120a047a2d228fc6be5760e2343
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
d9e0e830e4b4f3c8397460cf5e197345df62c802 |
|
10-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Fix WifiScanningServiceImpl stand-alone unit test failure WifiAsyncChannel and WifiHandler objects use lazy intialization for the logging objects. WifiInjector.getInstance() may return a null object if the unit test is run by itself or if earlier tests have not created it. If the unit tests are able to update these instances with a logging objects that are not null, then unit test can pass stand-alone. - Add a method in FrameworkFacade to return new instances of WifiAsyncChannel - Update WifiAsyncChannel to expose setWifiLog() API for testing only - Call this method on instances of WifiAsyncChannel returned by the mock of FrameworkFacade factory to ensure mLog is not null - Add a method in WifiScanningServiceImpl, also meant for testing only to update WifiHandler with logging object - Change unit tests to call this method after starting scanning service Bug: 34127212 Test: WifiScanningServiceTest by itself and all unit tests pass Change-Id: I0bc7a55d6d6862e2360bfb20897828e84358dd39 Merged-In: I0bc7a55d6d6862e2360bfb20897828e84358dd39
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
e7ebc3fba71f4f996794bc5fa939674f8b4b2c5a |
|
10-Jan-2017 |
Sohani Rao <sohanirao@google.com> |
Fix WifiScanningServiceImpl stand-alone unit test failure WifiAsyncChannel and WifiHandler objects use lazy intialization for the logging objects. WifiInjector.getInstance() may return a null object if the unit test is run by itself or if earlier tests have not created it. If the unit tests are able to update these instances with a logging objects that are not null, then unit test can pass stand-alone. - Add a method in FrameworkFacade to return new instances of WifiAsyncChannel - Update WifiAsyncChannel to expose setWifiLog() API for testing only - Call this method on instances of WifiAsyncChannel returned by the mock of FrameworkFacade factory to ensure mLog is not null - Add a method in WifiScanningServiceImpl, also meant for testing only to update WifiHandler with logging object - Change unit tests to call this method after starting scanning service Bug: 34127212 Test: WifiScanningServiceTest by itself and all unit tests pass Change-Id: I0bc7a55d6d6862e2360bfb20897828e84358dd39
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
710639ecf8ff2ab929c30121e7194c0a1b20d003 |
|
19-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiScanningService am: 4fbaf3821b am: 993626cd83 am: 688db32a92 am: 8e3ac94e9d Change-Id: I7f6df4508e7be56abd00f2392b56f270809b3bb6
|
4fbaf3821bd5c3056c7c4cdd1aee3e17ac7046d0 |
|
29-Nov-2016 |
Sohani Rao <sohanirao@google.com> |
Log API surfaces of WifiScanningService Add logging to trace the following API surfaces in WifiScanningService - AIDL methods calls, - Async Channel messages sent to the scanning service - Use WifiHandler instead of Handler to define the client handler to trace incoming messsages - Async Channel messages sent by the service - Use WifiAsyncChannel to trace reply messages sent by the service - Fully connected Async Channel is used here, therefore, it can send messages directly to the client's messenger without using Async channel methods. Add logging in replySucceeded() and replyFailed() to trace messages sent by the service directly to the client. Bug: 33085782 Test: Unit test suite, verify logging, sanity test (power on and connect to Wifi Access Point) Change-Id: I8df4f4077801c359e11a93fde2c1ce5ea811a0e4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
c4ab3a215e66b9745bd8ad0b48372f090919cb7c |
|
13-Dec-2016 |
Roshan Pius <rpius@google.com> |
Merge "WifiScanninService: Reject bgscan requests on invalid caps" am: cb5d15ae89 am: 22be8e6da9 am: cf13c9cb33 am: c8ec943671 Change-Id: I39d0c640877baae11c3fbdffb57374e93bc06fe4
|
1b76ca405029249b41b38424a253a8c5fa72dab1 |
|
13-Dec-2016 |
Roshan Pius <rpius@google.com> |
WifiScanninService: Reject bgscan requests on invalid caps Reject any bgscan requests if the HAL returns invalid capabilities at startup. Bug: 33566846 Test: Added unit test. Change-Id: I1a6a986194dd0da2ef139f13307657aafd67b4e4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
da94688198c864bb29be2e9603ebbe9ae6492a87 |
|
01-Nov-2016 |
Tamas Berghammer <tberghammer@google.com> |
Update package names to work with the proto3 compiler Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
a049f83a308e7753b68c1a5036ab67d9806807ec |
|
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiServiceImpl: move scan results dump to scanner The dump command includes the most recent scan results. This information should be dumped directly from WifiScanningServiceImpl instead of WifiServiceImpl. The output was also updated to better reflect the age of the entries. Invalid scan result timestamps are output with "___?___". Values that are older than the allotted characters are displayed as ">1000.0". Valid ages were not changed. The character representing isAutoJoinCandidate was removed from the output. SSID names that are longer than 32 characters are truncated. BUG: 31523862 Test: manual check of bugreport output Test: manual check of adb shell dumpsys wifi output Test: manual check of adb shell dumpsys wifiscanner output Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Change-Id: I6529fa7b125a6d7d283fd7dc5f8938632ae4e93f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
c9c91fd93350151a33d87fca768921520c256256 |
|
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 (cherry picked from commit d76a14997a969ea44daa47756dcc8f83aee96935) (also includes cherry picked from commit ca0add40bb7138b361c8a86e42aa5facc4fa5f2d)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
d94a62ffdf0e7f282948109d05d96e682eb32eef |
|
15-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiService: get scan results from WifiScanner Retrieve scan results in WifiServiceImpl from WifiScanner instead of WifiStateMachine. This utilizes a new method and message type in WifiScanner. Tests are added to verify the scan results are returned, updated and cleared properly. This CL additionally fixes a few typos in tests. Removal of cached scan results from WifiStateMachine will be included in a separate CL. BUG: 31444878 Test: manually tested from settings UI Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh Test: ran GTS CtsNetTestCases Change-Id: I02c4e24030d2801eb195a84177d908574de0596e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
6c11cd5d6ff04afdf1bbbc99a850025d46c7bdc9 |
|
12-Sep-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiScanningService: Move scan results bcast A WifiManager.SCAN_RESULTS_AVIALABLE_ACTION broadcast is sent when scan results are returned for an app/user initiated scan. This broadcast is now located in the WifiScanningService instead of WifiStateMachine. Further cleanup will move retrieval of the scan results from WifiStateMachine to WifiScanningService. Tests were added to WifiScanningServiceTest to verify the broadcast is sent in both scanning success and failure cases. BUG: 31347837 TEST: frameworks/opt/net/wifi/tests/wifitests/runtests.sh on angler Change-Id: I7c11d571552090057593539b0ed736bc2cedeb00
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
909a6e58d5cb6222f329ac8b3f2083db2345eed7 |
|
25-Aug-2016 |
songjinshi <songjinshi@xiaomi.com> |
[WifiScanningServiceImpl]:Fixes the system server crash issue. When the ScanData results is null we should return to aviod the crash issue. https://code.google.com/p/android/issues/detail?id=219999 Change-Id: I4ccf4808208ec8dc7a96b798330cfc99551100cc Signed-off-by: songjinshi <songjinshi@xiaomi.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
1581a6e6da810df4173dcbb62a1c51eb624ad427 |
|
06-Aug-2016 |
Mitchell Wills <mwills@google.com> |
Log the message contents received from disconnected clients BUG=29368784 Change-Id: I7c34366132985de93e03d9b316c137dcbc99fbcb
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
635e01902944c3367ccca28611a5b0b718f98bfd |
|
21-Jul-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningServiceImpl: Add ClientInfo null checks am: 5382acb5eb am: 0df9502510 Change-Id: Ibd4c01c4a32935d2a1d72ef179dbca9d8b3ff2c7
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
bc23392fd5f2d7df4c00b1647016394b2bbbd78f |
|
01-Jul-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Fix NPE in WifiScanningService\\" into nyc-mr1-dev am: a03e931932 am: e5911436b9 Change-Id: I28c07eff5677aa01e76998c463ad30e17ff7a8cb
|
ed70365e5a3a6e2b06c2d4d06603f97596f1124b |
|
01-Jul-2016 |
Mitchell Wills <mwills@google.com> |
Fix NPE in WifiScanningService Fixes: 29924121 Change-Id: Iabb8111d0d4cdef6b02710f6ea2b3545f1b6d70b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
251a38bb7fcac510ad8b0264a0346573e724519d |
|
27-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Add a WifiScanner API to listen for ongoing scans\\" into nyc-mr1-dev am: 450fee26a2 am: f12262368a Change-Id: I159d7a82a9cf965b90284174c635090ee8704c26
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
4dcf7a8d2b9253e5a58328a9cd954c524c76c7af |
|
25-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Reuse single scan results if a request comes in during an ongoing scan\\" into nyc-mr1-dev am: 55b1b58e72 am: b5dcbf476f Change-Id: I341a4d5523ef20e0e44558ee12d448fd7324e0e4
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
c1a5efc53a277b68c72bc501f6ab68e266bb6cd1 |
|
20-Jun-2016 |
Randy Pan <zpan@google.com> |
Merge \\"Cut down Wifi local log buffers size\\" into nyc-mr1-dev am: 4301f4786e am: 4a770e2e3f Change-Id: Ibd4f5d9e77ddab7ea16ee4f9a8af736d601f9648
|
1e911c92133843fc0a50a1b1c6f654f62e7c98a8 |
|
17-Jun-2016 |
Randy Pan <zpan@google.com> |
Cut down Wifi local log buffers size The new buffer size can hold up to around 3 hours of logs. This can be further optimized later after we have more usage data. The goal is to save the logs from the last one hour only. Bug: 29179543 Change-Id: I99e15531328fdb03df28dcf5a014deb2f074b254
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
a2f9a80b25772edfa6a8b4cb679202fc8e9154cd |
|
16-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Merge \\"Better distinguish between WifiScanner clients in logs\\" into nyc-mr1-dev am: b271c249de am: 8b35350228 Change-Id: I8f827d683a15c285194b7e4a773368dd02e9d85e
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
7684d94aa98d82c82e060ff48326181669184f35 |
|
11-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crash when cleaning up WifiScanner client before Wifi enabled am: 3040b86393 am: 82f4aada1c am: cecab03d5d Change-Id: I1378659fc87d0b419a8f96e4fec779e4251db158
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
83681ce58e32ab802ce46e8f1999a90e035a61d4 |
|
09-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crashes in significant change when wifi hasn\\\'t started am: 11bb0926a6 am: f1f88eebd8 am: 49872c10dc Change-Id: I118db5b04233a512ba43349dfa1d9da3536fc37e
|
11bb0926a6cc3380f2217532fefb9605a1fdc9e8 |
|
09-Jun-2016 |
Mitchell Wills <mwills@google.com> |
Fix crashes in significant change when wifi hasn't started The SignificantChange state machine doesn't actually have a concept of if Wifi is on or not. This will simply ensure that it is not possible to cause a crash. Change-Id: I8ff87364bf7d5c87f0519b6cdc32d164facf30eb Fixes: 29237535
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.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
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.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/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
985df17909a5703a86f3e665abc9dd964d9623d9 |
|
20-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Fix NullPointerException when dumping WifiScanningService If WiFi was not turned on prior to dumping WifiScanningService a NullPointerException would be thrown. Change-Id: I79d7a0d23db670f4fef3fb01072d3eb2155428b2 Fixes: 28274869
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
799f1c026941c9183657ffb99f0fb34ff643a0dd |
|
15-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Correct state machine names This improves readability of the state machine dump command. BUG: 27886011 Change-Id: I8676f3c3c638d8f32dde063adb5e79b0cf978ea5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
f8f5cb07ca2ead74f7f8bb03621fe0157aeba373 |
|
14-Apr-2016 |
Roshan Pius <rpius@google.com> |
WifiScanningService: Remove ClienthandlerMap Migrate all scans to use the new RequestList class to maintain the list of active scans. BUG: 28190728 Change-Id: Iad84fda9c50c0c1c493a399ce2adb2792ec75a2f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|
a8367288377cbaed6371256ca837b7aa22280706 |
|
11-Apr-2016 |
Mitchell Wills <mwills@google.com> |
Move WifiScanner related code to scanner package Change-Id: I73d01fe4d0de99a4e9758353cacf1d7a790cf040
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/WifiScanningServiceImpl.java
|