3aeba6c3b4f09c29b75ec8c18b46507ecd69293c |
|
22-Aug-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Remove mannual memory management in OffloadScanManager Bug: 64853991 Test: Unit tests and on-device testing for finding APs in Offloaded PNO scans Change-Id: I88fcbaed00627a7d282b6214f93419a761764da6
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
8f574ac480a39accc9fe5a5f065f4212e8175bd5 |
|
28-Jul-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond ScannerImpl Unit testing Offload HAL Wificond ScannerImpl interfaces with Offload HAL to invoke APIs to perform disconnected mode PNO scans. This CL tests behavior of ScannerImpl. Bug: 32842314 Test: Unit test and VTS Change-Id: I070d17c98ce90a9aeded80eac7135d02e36f0231
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
8043a56883bfb32333b4f007ff52bb880a75cd70 |
|
27-Jul-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Address bugs in handling Offload scans This CL addresses the following issues in handling of Offload HAL scan results from the Offload HAL service - Make cached scan results member variable a pointer so that the memory for the vector can be allocated on the heap - When an Async Error occurs in the Offload HAL service, switch to performing PNO scans over netlink instead of letting it decide again. - OffloadScanUtils convertToNativeScanResults() now needs to take in a pointer to the vector that will store the scan results for retrieval. - Populate tsf field fo the scanResult so that it doesn't get filtered out by the framework - Add logging to scan stats Bug: 63148974 Test: Unit tests, on-device testing for ensuring we connect to an available access point from screen off disconnected mode. Change-Id: Ida507d857faa8ea6dbee362cf0116f8ca858963f
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
69f61f7fd15d44dd32a107d850f05f0eb933ab2c |
|
26-Jul-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Create mocks of Offload Scan objects Create objects for Offload HAL to enable testing of Scanner Impl Test: Unit tests Bug: 32842314 Change-Id: Iea881dbbef0f6dc53b87f8ea24acd3c3e347f902
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
7439bcacc8805ae85bf1440d5f28df88dd1aee56 |
|
12-Jul-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Make Offload HAL service nonblocking Offload HAL getService() is a blocking call which can cause a deadlock. Replace it with non blocking call tryGetService() which returns null if the service is not running instead of waiting on the service to start. This implies that the client needs to be able to get a reference to the service at a later time. The design choice is to use tryGetService() API to get the handle when a disconnected mode PNO scan is requested if this was not available before. Bug: 62807929 Test: Unit test, sanity test Change-Id: I344fd93c4afe2381c356e626e83311af49a5ad49
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
e15c0edc98c9e6e906b9c53d1691a6bcfae5c61d |
|
12-Jul-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Async Errors from Offload HAL service Asynchronous errors from the Offload HAL service must be forwarded to Wificond scanner implementation which can then switch over to the other interfaces for completing disconnected PNO scans. This requires specification of an interface from Offload HAL client to Wificond's scanner implementation. Unit tetsts are updated accordingly. Bug: 32842314 Test: Unit test and VTS Change-Id: Ie56a52caf161c851d1945584a2bf93734008598a
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
7a3d8ddff0ea3bca99fb3e554651e1541a93121e |
|
11-Jul-2017 |
Ningyuan Wang <nywang@google.com> |
ScannerImpl: Add unit tests for scheduled scans This patch adds unit tests for scheduled scans. In order to do that, this also moves the isOffloadScanSupprted() out of OffloadScanManager to OffloadServiceUtils. By injecting MockOffloadServiceUtils to ScannerImpl, we can test either offload supported or not supported cases. Bug: 33452931 Test: compile, unit tests Test: manual test that offload scan is not enabled by mistake. This is done by checking manually inserted logs. Change-Id: I6c78df78605321013676e5f4578026f21d953e3b
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
7739aa7fba23503a5d6646b7b198bef0944ac5d8 |
|
07-Jun-2017 |
Sohani Rao <sohanirao@google.com> |
Offload HAL Wificond Client: Handle binder death Binder death handling for Offload HAL and corresponding unit tests Bug: 32842314 Test: Unit tests Change-Id: I7eb52689070046ae8d2db15fd2dda80d3d398022
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
e10ec9e1f15007331afe569d7c13790eae5b40de |
|
12-May-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Offload HAL APIs return status Handle changes to the Offload HAL HIDL interface where the APIs now return status of synchronous operations. Bug: 32842314 Test: Unit Tests Change-Id: If5cde06c3ad398774f33430ededda8f541540a31
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
16b75e6e37fa9567be23e18c8a98e4132fc9d91c |
|
18-May-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Offload HAL calling code formatting fixes Clang formatting for all files introduced, Also move "using" to source files from header files. Bug: 32842314 Test: Unit tests Change-Id: I913fced31568a61d4ae1a78ceeec5a43d300904b
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
971bf3180671aa08ab0f0bda0a5cb32a9bdc7c1c |
|
20-Apr-2017 |
Sohani Rao <sohanirao@google.com> |
WifiCond: Invoke OffloadScanManager APIs for PNO scans Offload Scan Manager APIs will be used if available. If scans over Offload fail, scans will be performed over netlink as a fallback. Bug: 32842314 Test: Unit tests Change-Id: If48eb0bd1de38c29a2b3a7d461673b1e3502baa5
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
f33517d79737dd96e5d86ed45ab095be3a4c4773 |
|
15-Apr-2017 |
Sohani Rao <sohanirao@google.com> |
WifiCond: getScanStats() API in OffloadSCanManager Introduce new API in OffloadScanManager getScanStats() to get scan stats from Offload HAL. Created a parcelable NativeScanStats struct to export this data and corresponding unit test coverage. Also included unit tests to verify conversion from ScanStats in Offload HAL format to Wificond format. Test: Unit tests Bug: 32842314 Change-Id: I82bec2cc42635588ef8cb3fd0ad3206242349645
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
2a270852b006b16d500ca11a6e30d3a1a16ba200 |
|
14-Apr-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Introduce new APIS to OffloadScanManager The following APIs are now supported - startScan() and stopScan() Including unit tests to verify behavior of these APIs Test: Unit tests Bug: 32842314 Change-Id: I23ddd436139976b0aefcbd05b486c934b748e3c4
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
26e97959c7b5bf8a2b259b2aa665ae4a807f3030 |
|
30-Mar-2017 |
Sohani Rao <sohanirao@google.com> |
Wificond: Handle Error callback from Offload HAL Client code changes to handle error can be reported by the Offload HAL service and corresponding unit tests. Bug: 32842314 Test: Unit tests Change-Id: I17666c9faa2979c894a3b76559e3b36ed92ff2a9
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|
3b558d191c4237e137429ffeeaf686e34e5da98b |
|
22-Dec-2016 |
Sohani Rao <sohanirao@google.com> |
Wificond: Client for Offload HAL HIDL service This CL creates the client side implementation for Offload HAL and exports it's API's to wificond. It also creates the interface object for callback from the Offload HAL. Cherry pick from 1f05294be907f55add2533e83fca1cea440a6d6c Bug: 32842314 Test: Unit tests and Mannual tests of verifying Wifi can be turned on connected and ensure we are getting a handle on Offload HAL service Change-Id: Ie63b31742a6b53d60c4c2a3560829fc69a2a5f3d
/system/connectivity/wificond/scanning/offload/offload_scan_manager.h
|