HIDL defined type to support a composed interface

This patch supports parcel/un-parcel a struct with a composed
Interface.

Bug: 68295540
Test: hidl_test
Change-Id: Ia1d4493115c9bd2df8a5b2266632d3e88931ee4d
diff --git a/Interface.cpp b/Interface.cpp
index e06a310..b45b8ba 100644
--- a/Interface.cpp
+++ b/Interface.cpp
@@ -534,6 +534,11 @@
     return Scope::validate();
 }
 
+void Interface::getAlignmentAndSize(size_t* align, size_t* size) const {
+    *align = 8;
+    *size = 8;
+}
+
 status_t Interface::validateUniqueNames() const {
     std::unordered_map<std::string, const Interface*> registeredMethodNames;
     for (auto const& tuple : allSuperMethodsFromRoot()) {
@@ -753,8 +758,7 @@
         out << "{\n";
         out.indent();
 
-        const std::string binderName = "_hidl_" + name + "_binder";
-
+        const std::string binderName = "_hidl_binder";
         out << "::android::sp<::android::hardware::IBinder> "
             << binderName << ";\n";