7e91548e461e52af8e78ba2e968395caf29b55bf |
|
02-Aug-2017 |
Roshan Pius <rpius@google.com> |
RELAND: HalDeviceManager: Get IWifi proxy immediately Try to get IWifi proxy as a part of HalDeviceManager.initialize() directly instead of waiting for the IServiceMAnager callback. When HalDeviceManager.initialize() is invoked: a) If the wifi service is up at that point, we will get the proxy immediately and IServiceManager callback will be ignored. b) If the wifi service is not up at that point, we will get the proxy as a part of the IServiceManager callback. Bug: 64226605 Test: Unit tests Test: Regression test request. Change-Id: I3d6b89edb3f446bb39984d1ebb3caeb53011bec9
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
30f34829e0e7e49dc09c897c72dd0ded7d9805eb |
|
13-May-2017 |
Roshan Pius <rpius@google.com> |
WifiNative: Add VINTF check for vendor HAL Currently, we're ignoring HAL start failures to support devices like gce, hikey which did not have any vendor HAL support previously. To solve that problem: 1. Remove the Vendor HAL daemon (HIDL shim) from such device's device.mk. Handled by other CL's in the topic. 2. Add the Wifi HAL's to the VINTF (manifest.xml) on all devices which has the Vendor HAL daemon running. (Unfortunately, there is no automatic translation from the module missing in device.mk to manifest.xml currently). Handled by other CL's in the topic. 3. Use the HalDeviceManager to query the VINTF to figure out if the Vendor HAL is present on the device or not. 4a. If the Vendor HAL is not supported, ignore start/stop calls. 4b. If the Vendor HAL is present, report failure if start/stop fails. Also, fixed a few invalid mock expectations set. Bug: 36886769 Test: Device boots up and connects to wifi on 2017 devices. Test: Unit tests. Change-Id: Ia3d90c8fafe2f8c156c843f5f47b94deaabe5a56
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
3895a16e00aa5899e90c014566e4fe33a63e3619 |
|
29-Apr-2017 |
Ningyuan Wang <nywang@google.com> |
Add retry logic for wifi Hal starting failure This add the retry logic for starting the wifi HAL because wifi HAL might still be in the process of stopping. Bug: 37681479 Test: compile, unittests Test: manual test toggling the hotspot mode quickly Change-Id: If87d8a0ebdcdf8a0aca233808b9d84393d21f738
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
e450fe1a611e4dcf05046a6aa0df0bc8300cba61 |
|
14-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] getSupportedIfaceTypes() mod to never return null Change the semantics of HalDeviceManager.getSupportedIfaceTypes so that it never returns null. It now always returns a Set<IfaceType> - possibly an empty set. Cleaner than clients trying to figure out error conditions. Bug: 35101185 Test: unit tests (including new one for error) Change-Id: Icdff4192b3b7dc5901110e243a0a021a1593c01b
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
307acde0b29838b817a4fd3659a46c22be0ea314 |
|
10-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] API to return available interfaces Return the set of interfaces supported by the device (all chips) or a particular chip. Bug: 35101185 Test: (new) unit tests Change-Id: I02c7efd0ec1c11aa2301fe7192d202ce40053f24
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
d857cf147e21018690e12e7ae4f84c692a63b091 |
|
31-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] Minor clean-up of unit tests Remove duplicate in-order object initialization. Only use global in-order verifier. Bug: 34474043 Test: unit tests pass (before and after) Change-Id: If3fb10ad5ec8a59a5c8a7bf2139e686a0cced68e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
a5dc1667f752dc2446e6de12279614a4fd9e2fe2 |
|
30-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] Stop Wi-Fi if (re)started When getting notification that Wi-Fi service is started we don't know if this is a re-start of the service or potentially of the framework itself. If the framework is restarted then it is possible that the state of the service and framework are out-of-sync. Therefore, on every service restart make sure to reset it by stopping Wi-Fi. Bug: 34474043 Test: unit tests Change-Id: I5968598756cae3c1181659ef153b36cada7c2c16
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
448a7b6b7b16cf39ed25729ceaf61edb30368567 |
|
27-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[HAL Device Manager] Available for request API + STA/STA request bug Updated available for request API: - Simple register/unregister API - Will be called immediately on registration (if valid) - Will be registered until unregistered - Only a single copy is kept (duplicates detected) Fixed issue whereby the requested interface wasn't counted toward the total of required interfaces. So with only one STA allowed, a second STA would have been allowed. Bug: 34474043 Test: unit tests pass (with new unit tests added) Change-Id: Ic19731b66a609b828cda07f8065ef27ead077b2d
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
3145bb4d3359647cccd9b4aba1734066f36bb2e6 |
|
26-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[Wi-Fi HAL Device Manager] Status callback semantics change Change behavior of status callback/API: - Listener provides a status change only (onStatusChange) - Triggered when Wi-Fi is started or stopped - Triggered when Wi-Fi HAL service dies or restarts - API for - isStarted(): indicates if Wi-Fi is started or stopped - isReady(): indicates if Wi-Fi HAL service is alive Bug: 34474043 Test: unit tests Change-Id: I8babb00ea8a2c8c485d1661255644434f0787d8e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
5e9a23e2472ac7ba67924b8a8f79dff9f6e5e186 |
|
25-Jan-2017 |
Etan Cohen <etancohen@google.com> |
[Wi-Fi HAL Device Manager] Comments/nits Update naming and comments per original CL reviews. Bug: 34474043 Test: unit tests passing Change-Id: Ie32df5e2910d1b6c6efeecf7a2134653521ced51
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
d887e5c6bf4abf2f098ea6f087e717e29c551548 |
|
23-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL Device Manager: implement available for request logic Added code which dispatches the 'available for request' listeners. Bug: 34474043 Bug: 34633162 Test: (new) unit tests pass Change-Id: I77074a3dc59fafff0688c921ca8ca4156ca68d1f
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
a78e7cf8de28fd836f7a111e39e7d7e7005bf942 |
|
23-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: implement coordination logic The coordination logic for the HAL device management: uses chip information and hard-coded interface priority to determine interface creation decisions: - Changes mode - Destroys interfaces (dispatches listeners) - Creates new interface Unit tests based on the current default chip configuration. TODO: dispatch interface available for request listeners. Bug: 34474043 Test: (new) unit tests pass Change-Id: I5d2e865baac7e9948aad6d8f607757b8db485952
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|
dd4dcab629d1045b08f58f699a4a09ecc8cd23e3 |
|
20-Jan-2017 |
Etan Cohen <etancohen@google.com> |
Wi-Fi HAL device manager: baseline for init/start/stop Wi-Fi HAL device manager. All Wi-Fi services should use this manager to start/stop and monitor status of Wi-Fi. Baseline: will be extended to coordinate interface. Bug: 34474043 Test: unit tests Change-Id: I3846cb57f301bcd91534f1b5943d996f4c84ed63
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/HalDeviceManagerTest.java
|