Add forEachHidlInstanceOfPackage

It is only used by VintfObject and no external clients,
so hide it.
Also, rename from forEachInstanceOfPackage to reflect that
only HIDL instances are returned.

Bug: 140832836
Test: vintf_object_test
Change-Id: I6056c8928e11d56e163380f9e3cb2a6e90af8814
diff --git a/VintfObject.cpp b/VintfObject.cpp
index 98f821e..69fbff6 100644
--- a/VintfObject.cpp
+++ b/VintfObject.cpp
@@ -697,7 +697,7 @@
         // Find any package@x.? in target matrix, and check if instance is in target matrix.
         bool foundInstance = false;
         Version targetMatrixMinVer;
-        targetMatrix.forEachInstanceOfPackage(package, [&](const auto& targetMatrixInstance) {
+        targetMatrix.forEachHidlInstanceOfPackage(package, [&](const auto& targetMatrixInstance) {
             if (targetMatrixInstance.versionRange().majorVer == version.majorVer &&
                 targetMatrixInstance.interface() == interface &&
                 targetMatrixInstance.matchInstance(servedInstance)) {