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/AST.h b/AST.h
index dc5a7e2..05e1270 100644
--- a/AST.h
+++ b/AST.h
@@ -112,6 +112,8 @@
void addSyntaxError();
size_t syntaxErrors() const;
+ bool isIBase() const;
+
private:
Coordinator *mCoordinator;
std::string mPath;
@@ -126,10 +128,6 @@
// in this AST, this is a subset of those specified in import statements.
std::set<FQName> mImportedNames;
- // Similar to mImportedNames, but all types references from "types.hal"
- // are individually listed.
- std::set<FQName> mImportedNamesForJava;
-
// A set of all ASTs we explicitly or implicitly (types.hal) import.
std::set<AST *> mImportedASTs;