Rename global..Decls to package...Decls

For something like android.hidl.foo@V1_0::IFoo.SomeStruct.SomeEnum
emitGlobalType/HwDeclarations puts relevant functions in
"android::hidl::foo::V1_0".

Since this isn't the global namespace and we are actually going
to put other things relative to the global namespace, renaming.

Bug: 68715899
Test: hidl_test
Change-Id: Ibc465dc69d028b13d96f123a42a1f5bf391c32b3
diff --git a/Type.h b/Type.h
index d45e066..ee47157 100644
--- a/Type.h
+++ b/Type.h
@@ -263,11 +263,15 @@
 
     // Emit any declarations pertaining to this type that have to be
     // at global scope, i.e. enum class operators.
-    virtual status_t emitGlobalTypeDeclarations(Formatter &out) const;
+    // For android.hardware.foo@1.0::*, this will be in namespace
+    // android::hardware::foo::V1_0
+    virtual status_t emitPackageTypeDeclarations(Formatter& out) const;
 
     // Emit any declarations pertaining to this type that have to be
     // at global scope for transport, e.g. read/writeEmbeddedTo/FromParcel
-    virtual status_t emitGlobalHwDeclarations(Formatter &out) const;
+    // For android.hardware.foo@1.0::*, this will be in namespace
+    // android::hardware::foo::V1_0
+    virtual status_t emitPackageHwDeclarations(Formatter& out) const;
 
     virtual status_t emitTypeDefinitions(Formatter& out, const std::string& prefix) const;