CodecConfig: Hide vendor params that are marked hidden

Do not expose parameters marked as 'IS_HIDDEN' to
the clients

b/226121597
CRs-Fixed: 3157491

Change-Id: I518f807e9bbf5c6b33aac3d3a724d8bba60d4bb7
diff --git a/media/codec2/sfplugin/CCodecConfig.cpp b/media/codec2/sfplugin/CCodecConfig.cpp
index 0899e99..242eeaf 100644
--- a/media/codec2/sfplugin/CCodecConfig.cpp
+++ b/media/codec2/sfplugin/CCodecConfig.cpp
@@ -1893,7 +1893,9 @@
     names->clear();
     // TODO: expand to standard params
     for (const auto &[key, desc] : mVendorParams) {
-        names->push_back(key);
+        if (desc->isVisible()) {
+            names->push_back(key);
+        }
     }
     return OK;
 }