hidl-gen: remove references to AIDL

git grep -l _aidl_ . | xargs sed -i -e 's/_aidl_/_hidl_/g'

b/30778629 Generated code has many references to AIDL

Change-Id: I3172e7da7acd6ba8c8c332be7316317b0eb59136
Signed-off-by: Iliyan Malchev <malchev@google.com>
diff --git a/HandleType.cpp b/HandleType.cpp
index a2288a9..7ad2368 100644
--- a/HandleType.cpp
+++ b/HandleType.cpp
@@ -34,13 +34,13 @@
 
         out.indent();
 
-        out << "_aidl_err = ::android::UNKNOWN_ERROR;\n";
+        out << "_hidl_err = ::android::UNKNOWN_ERROR;\n";
         handleError2(out, mode);
 
         out.unindent();
         out << "}\n\n";
     } else {
-        out << "_aidl_err = ";
+        out << "_hidl_err = ";
         out << parcelObjDeref
             << "writeNativeHandleNoDup("
             << name
@@ -61,7 +61,7 @@
         const std::string &parentName,
         const std::string &offsetText) const {
     if (isReader) {
-        const std::string ptrName = "_aidl_" + name  + "_ptr";
+        const std::string ptrName = "_hidl_" + name  + "_ptr";
 
         out << "const native_handle_t *"
             << ptrName
@@ -86,12 +86,12 @@
             << " == nullptr) {\n";
 
         out.indent();
-        out << "_aidl_err = ::android::UNKNOWN_ERROR;\n";
+        out << "_hidl_err = ::android::UNKNOWN_ERROR;\n";
         handleError2(out, mode);
         out.unindent();
         out << "}\n\n";
     } else {
-        out << "_aidl_err = "
+        out << "_hidl_err = "
             << parcelObj
             << (parcelObjIsPointer ? "->" : ".")
             << "writeEmbeddedNativeHandle(\n";