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/FQName.cpp b/FQName.cpp
index 908d39b..02e31e2 100644
--- a/FQName.cpp
+++ b/FQName.cpp
@@ -269,6 +269,10 @@
return string() == other.string();
}
+bool FQName::operator!=(const FQName &other) const {
+ return !(*this == other);
+}
+
std::string FQName::getInterfaceBaseName() const {
CHECK(names().size() == 1) << "Must be a top level type";
CHECK(!mName.empty() && mName[0] == 'I') << mName;