Home
last modified time | relevance | path

Searched refs:xmlFilePath (Results 1 – 19 of 19) sorted by relevance

/aosp_15_r20/external/apache-xml/test/java/src/org/apache/qetest/
H A DXMLParserTestDriver.java35 String xmlFilePath = args[0]; in main() local
37 documentParse(xmlFilePath, contextProcessor); in main()
40 private static void documentParse(String xmlFilePath, String contextProcessor) { in documentParse() argument
41 XMLParse xmlParse = new XMLParse(xmlFilePath); in documentParse()
44 … System.out.println(SUCCESS_MESG + " [" + contextProcessor + " : " + xmlFilePath.substring(0, in documentParse()
45xmlFilePath.indexOf(FILE_EXT_SEPARATOR)) + "]!"); in documentParse()
48 System.out.println(FAIL_MESG + " [" + contextProcessor + " : " + xmlFilePath.substring(0, in documentParse()
49xmlFilePath.indexOf(FILE_EXT_SEPARATOR)) + "]!"); in documentParse()
H A DXMLParse.java33 private String xmlFilePath = null; field in XMLParse
35 public XMLParse(String xmlFilePath) { in XMLParse() argument
36 this.xmlFilePath = xmlFilePath; in XMLParse()
44 Document document = builder.parse(xmlFilePath); in parse()
H A DXSValidate.java43 private String xmlFilePath = null; field in XSValidate
50 public XSValidate(String xmlFilePath, String xsdFilePath) { in XSValidate() argument
51 this.xmlFilePath = xmlFilePath; in XSValidate()
64 validator.validate(new SAXSource(new InputSource(xmlFilePath))); in validate()
H A DXSValidationTestDriver.java37 String xmlFilePath = args[0]; in main() local
40 xsValidationTest(xmlFilePath, xsdFilePath, contextProcessor); in main()
43 …private static void xsValidationTest(String xmlFilePath, String xsdFilePath, String contextProcess… in xsValidationTest() argument
44 XSValidate xsValidate = new XSValidate(xmlFilePath, xsdFilePath); in xsValidationTest()
/aosp_15_r20/external/parameter-framework/upstream/tools/xmlValidator/
H A DxmlValidator.py53 def getSchemaFilenameFromXmlFile(xmlFilePath): argument
67 xmlTree = etree.parse(xmlFilePath)
71 def validateXmlWithSchema(xmlFilePath, schemaFilePath): argument
80 baseXmlName = path.basename(xmlFilePath)
86 xmlContent = etree.parse(xmlFilePath)
107 xmlFilePath = path.join(rootPath, filename) variable
108 schemaFileName = getSchemaFilenameFromXmlFile(xmlFilePath)
110 validateXmlWithSchema(xmlFilePath, schemaFilePath)
/aosp_15_r20/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPolicyConfig.cpp200 const std::string& xmlFilePath) { in loadFromApmXmlConfigWithFallback() argument
202 xmlFilePath.empty() ? audio_get_audio_policy_config_file() : xmlFilePath; in loadFromApmXmlConfigWithFallback()
217 const std::string& xmlFilePath) { in loadFromCustomXmlConfigForTests() argument
219 if (status_t status = config->loadFromXml(xmlFilePath, false /*forVts*/); status == NO_ERROR) { in loadFromCustomXmlConfigForTests()
280 status_t AudioPolicyConfig::loadFromXml(const std::string& xmlFilePath, bool forVts) { in loadFromXml() argument
281 if (xmlFilePath.empty()) { in loadFromXml()
285 status_t status = forVts ? deserializeAudioPolicyFileForVts(xmlFilePath.c_str(), this) in loadFromXml()
286 : deserializeAudioPolicyFile(xmlFilePath.c_str(), this); in loadFromXml()
288 mSource = xmlFilePath; in loadFromXml()
292 xmlFilePath.c_str(), status); in loadFromXml()
/aosp_15_r20/hardware/interfaces/audio/common/all-versions/test/utility/src/
H A DValidateXml.cpp93 const char* xmlFilePath, const char* xsdFilePath) { in validateXml()
98 "\n Which is: " + xmlFilePath + "\nAgainst the schema: " + xsdFilePathExpr + in validateXml()
108 auto doc = make_xmlUnique(xmlReadFile(xmlFilePath, nullptr, 0)); in validateXml()
142 std::string xmlFilePath = location + "/"s + xmlFileName; in validateXmlMultipleLocations() local
143 if (access(xmlFilePath.c_str(), F_OK) != 0) { in validateXmlMultipleLocations()
147 foundFiles.push_back(" " + xmlFilePath + '\n'); in validateXmlMultipleLocations()
148 auto result = validateXml("xmlFilePath", xsdFilePathExpr, xmlFilePath.c_str(), xsdFilePath); in validateXmlMultipleLocations()
/aosp_15_r20/hardware/interfaces/audio/common/all-versions/test/utility/include/utility/
H A DValidateXml.h35 const char* xmlFilePath, const char* xsdFilePath);
38 #define ASSERT_VALID_XML(xmlFilePath, xsdFilePath) \ argument
40 xmlFilePath, xsdFilePath)
43 #define EXPECT_VALID_XML(xmlFilePath, xsdFilePath) \ argument
45 xmlFilePath, xsdFilePath)
/aosp_15_r20/frameworks/av/services/audiopolicy/managerdefault/
H A DEngineLibrary.cpp73 EngineInstance EngineLibrary::createEngineUsingXmlConfig(const std::string& xmlFilePath) in createEngineUsingXmlConfig() argument
77 if (status_t status = instance->loadFromXmlConfigWithFallback(xmlFilePath); in createEngineUsingXmlConfig()
82 __func__, xmlFilePath.empty() ? "default" : xmlFilePath.c_str(), status); in createEngineUsingXmlConfig()
H A DEngineLibrary.h45 EngineInstance createEngineUsingXmlConfig(const std::string& xmlFilePath);
/aosp_15_r20/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h62 const std::string& xmlFilePath = "");
67 const std::string& xmlFilePath);
157 status_t loadFromXml(const std::string& xmlFilePath, bool forVts);
/aosp_15_r20/frameworks/av/services/audiopolicy/engine/common/src/
H A DEngineBase.cpp145 const std::string& xmlFilePath, bool isConfigurable) in loadAudioPolicyEngineConfig() argument
151 const std::string filePath = xmlFilePath.empty() ? engineConfig::DEFAULT_PATH : xmlFilePath; in loadAudioPolicyEngineConfig()
/aosp_15_r20/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DEngine.cpp102 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) in loadFromXmlConfigWithFallback() argument
104 status_t status = loadWithFallback(xmlFilePath); in loadFromXmlConfigWithFallback()
H A DEngine.h48 status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") override;
/aosp_15_r20/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.h44 status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") override;
H A DEngine.cpp51 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) { in loadFromXmlConfigWithFallback() argument
52 return loadWithFallback(xmlFilePath); in loadFromXmlConfigWithFallback()
/aosp_15_r20/frameworks/av/services/audiopolicy/engine/interface/
H A DEngineInterface.h63 virtual status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") = 0;
/aosp_15_r20/frameworks/av/services/audiopolicy/engine/common/include/
H A DEngineBase.h123 const std::string& xmlFilePath = "", bool isConfigurable = false);
/aosp_15_r20/prebuilts/module_sdk/art/current/test-exports/java/
Dcore-tests.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/maven/ META- ...