diff options
author | Martijn Coenen <maco@google.com> | 2017-11-27 15:09:28 -0800 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2017-12-05 16:02:57 +0100 |
commit | 3f5ac4ca824f178bc60d2ae867c7453a74a122f9 (patch) | |
tree | 20324ce472fcef41aff319672f837f3a2e6ed9f4 /transport/HidlTransportSupport.cpp | |
parent | bc06f24c16d8ba449a5427a5b8b7c6b95daae64a (diff) | |
download | libhidl-3f5ac4ca824f178bc60d2ae867c7453a74a122f9.tar.gz |
Add support for polling transport.
To remove remaining direct calls/linkage into libhwbinder.
Bug: 34388964
Test: wifi works
Change-Id: Idd3928e9a0879434cb71ab63eaca905f174e645e
Diffstat (limited to 'transport/HidlTransportSupport.cpp')
-rw-r--r-- | transport/HidlTransportSupport.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/transport/HidlTransportSupport.cpp b/transport/HidlTransportSupport.cpp index 1df6c38..d0871f6 100644 --- a/transport/HidlTransportSupport.cpp +++ b/transport/HidlTransportSupport.cpp @@ -30,6 +30,14 @@ void joinRpcThreadpool() { joinBinderRpcThreadpool(); } +int setupTransportPolling() { + return setupBinderPolling(); +} + +status_t handleTransportPoll(int /*fd*/) { + return handleBinderPoll(); +} + bool setMinSchedulerPolicy(const sp<::android::hidl::base::V1_0::IBase>& service, int policy, int priority) { if (service->isRemote()) { |