Add 1.1 version of hwservicemanager.
Test: boot marlin
Test: hidl_test
Bug: 63940457
Change-Id: I9c86c7c99eb6cccbf2e54596414bfec34e0bdbb8
diff --git a/transport/include/hidl/ServiceManagement.h b/transport/include/hidl/ServiceManagement.h
index 324a584..d53cd7e 100644
--- a/transport/include/hidl/ServiceManagement.h
+++ b/transport/include/hidl/ServiceManagement.h
@@ -27,6 +27,9 @@
namespace V1_0 {
struct IServiceManager;
}; // namespace V1_0
+namespace V1_1 {
+ struct IServiceManager;
+}; // namespace V1_0
}; // namespace manager
}; // namespace hidl
@@ -47,7 +50,9 @@
// These functions are for internal use by hidl. If you want to get ahold
// of an interface, the best way to do this is by calling IFoo::getService()
sp<::android::hidl::manager::V1_0::IServiceManager> defaultServiceManager();
+sp<::android::hidl::manager::V1_1::IServiceManager> defaultServiceManager1_1();
sp<::android::hidl::manager::V1_0::IServiceManager> getPassthroughServiceManager();
+sp<::android::hidl::manager::V1_1::IServiceManager> getPassthroughServiceManager1_1();
/**
* Given a service that is in passthrough mode, this function will go ahead and load the