diff options
author | 2024-05-03 09:01:56 +0000 | |
---|---|---|
committer | 2024-07-19 16:49:07 +0000 | |
commit | 8578f13447d10824b9c29b0130f2096bb9401575 (patch) | |
tree | 5ed7ad2ec0f211c4a46e9be8b5d6250715caa4ae /libs/binder/BackendUnifiedServiceManager.h | |
parent | 454e2fef1f5756553128a2c573d34eac9a1815e7 (diff) |
Support IAccessor in libbinder for RPC services
This cl sets up preconnected RPC binder for services launched with
IAccessor as a proxy.
Bug: 338541373
Test: m
Test: atest vm_accessor_test
Change-Id: Ic54732980778bc9ba8fec3395a0e98d336fea440
Diffstat (limited to 'libs/binder/BackendUnifiedServiceManager.h')
-rw-r--r-- | libs/binder/BackendUnifiedServiceManager.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/binder/BackendUnifiedServiceManager.h b/libs/binder/BackendUnifiedServiceManager.h index d72b5bb94f..4715be4580 100644 --- a/libs/binder/BackendUnifiedServiceManager.h +++ b/libs/binder/BackendUnifiedServiceManager.h @@ -26,8 +26,8 @@ public: explicit BackendUnifiedServiceManager(const sp<os::IServiceManager>& impl); sp<os::IServiceManager> getImpl(); - binder::Status getService(const ::std::string& name, sp<IBinder>* _aidl_return) override; - binder::Status checkService(const ::std::string& name, sp<IBinder>* _aidl_return) override; + binder::Status getService(const ::std::string& name, os::Service* out) override; + binder::Status checkService(const ::std::string& name, os::Service* out) override; binder::Status addService(const ::std::string& name, const sp<IBinder>& service, bool allowIsolated, int32_t dumpPriority) override; binder::Status listServices(int32_t dumpPriority, @@ -60,6 +60,7 @@ public: private: sp<os::IServiceManager> mTheRealServiceManager; + void toBinderService(const os::Service& in, os::Service* _out); }; sp<BackendUnifiedServiceManager> getBackendUnifiedServiceManager(); |