commit | 7e8e156232a65c7ee3f51c6d9deb37b27f988713 | [log] [tgz] |
---|---|---|
author | Wei Wang <wvw@google.com> | Wed Mar 04 11:44:58 2020 -0800 |
committer | Ratoriku <a1063021545@gmail.com> | Sun Aug 29 10:51:24 2021 +0800 |
tree | 8d565d7edf5ef29df2cb728390d605fb04e147e9 | |
parent | 16cc094c1443cdd0496a2474f483e0264d94ce8c [diff] |
Probe PowerHAL HIDL first Right now AIDL doesn't provide an API for vendor code to query if the AIDL HAL declared. This will lead to 1) long blocking call for device doesn't have the AIDL HAL and also 2) potential problem if the service starts late after 5s timeout. This is a workaround for addressing 1) on devices having HIDL, but still affects device that doesn't have HIDL service. Bug: 149797408 Test: build Change-Id: I60aada1ab1a044db965987bca5f6eee5b6262b20