Hidlize IBase; use IBase instead of IBinder.
* IBase is hidlized over hwbinder. GenericBinder
is removed and Interface with name
android.hidl.base@1.0::IBase is used instead.
* Removed AST::mImportedNamesForJava, because in Java,
we always refer to a type with the full name. We don't
import anything in the java file.
* IFoo.h now includes HidlSupport.h instead of
HidlTransportSupport.h
Test: hidl_test
Test: hidl_test_java
Fix: 32756130
Fix: 33273293
Change-Id: I435ad7c68dea028a16252148b6f5778e3610b7cd
diff --git a/Interface.h b/Interface.h
index 5da326c..02b04dc 100644
--- a/Interface.h
+++ b/Interface.h
@@ -34,6 +34,7 @@
bool isInterface() const override;
bool isBinder() const override;
bool isRootType() const { return mSuperType == nullptr; }
+ bool isIBase() const { return fqName() == gIBaseFqName; }
const Interface *superType() const;