Effect factory: Test that the xml is correctly parsed

Compare the dump after parsing with the reference dump.

Test: This is it
Bug: 37492580

Change-Id: I7dbbe2754f182a0f5818bdf9010d89ac6f0498e2
Signed-off-by: Kevin Rocard <krocard@google.com>
diff --git a/media/libeffects/factory/EffectsXmlConfigLoader.h b/media/libeffects/factory/EffectsXmlConfigLoader.h
index 9bf4d18..a3fe9a3 100644
--- a/media/libeffects/factory/EffectsXmlConfigLoader.h
+++ b/media/libeffects/factory/EffectsXmlConfigLoader.h
@@ -19,6 +19,10 @@
 
 #include <unistd.h>
 
+#include <cutils/compiler.h>
+
+#include "EffectsFactoryState.h"
+
 #if __cplusplus
 extern "C" {
 #endif
@@ -28,8 +32,10 @@
  * @return -1 on unrecoverable error (eg: no configuration file)
  *         0 on success
  *         the number of invalid elements (lib & effect) skipped if the config is partially invalid
+ * @note this function is exported for test purpose only. Do not call from outside this library.
  */
-ssize_t loadXmlEffectConfig(const char* path);
+ANDROID_API
+ssize_t EffectLoadXmlEffectConfig(const char* path);
 
 #if __cplusplus
 } // extern "C"