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/VectorType.cpp b/VectorType.cpp
index e2e7c56..1443697 100644
--- a/VectorType.cpp
+++ b/VectorType.cpp
@@ -191,18 +191,18 @@
out.indent();
out << mElementType->getCppStackType(true /* specifyNamespaces */)
- << " _hidl_binder;\n";
+ << " _hidl_base;\n";
mElementType->emitReaderWriter(
out,
- "_hidl_binder",
+ "_hidl_base",
parcelObj,
parcelObjIsPointer,
isReader,
mode);
out << name
- << "[_hidl_index] = _hidl_binder;\n";
+ << "[_hidl_index] = _hidl_base;\n";
out.unindent();
out << "}\n";