Searched refs:xmlFilePath (Results 1 – 11 of 11) sorted by relevance
199 const std::string& xmlFilePath) { in loadFromApmXmlConfigWithFallback() argument201 xmlFilePath.empty() ? audio_get_audio_policy_config_file() : xmlFilePath; in loadFromApmXmlConfigWithFallback()216 const std::string& xmlFilePath) { in loadFromCustomXmlConfigForTests() argument218 if (status_t status = config->loadFromXml(xmlFilePath, false /*forVts*/); status == NO_ERROR) { in loadFromCustomXmlConfigForTests()276 status_t AudioPolicyConfig::loadFromXml(const std::string& xmlFilePath, bool forVts) { in loadFromXml() argument277 if (xmlFilePath.empty()) { in loadFromXml()281 status_t status = forVts ? deserializeAudioPolicyFileForVts(xmlFilePath.c_str(), this) in loadFromXml()282 : deserializeAudioPolicyFile(xmlFilePath.c_str(), this); in loadFromXml()284 mSource = xmlFilePath; in loadFromXml()288 xmlFilePath.c_str(), status); in loadFromXml()
73 EngineInstance EngineLibrary::createEngineUsingXmlConfig(const std::string& xmlFilePath) in createEngineUsingXmlConfig() argument77 if (status_t status = instance->loadFromXmlConfigWithFallback(xmlFilePath); in createEngineUsingXmlConfig()82 __func__, xmlFilePath.empty() ? "default" : xmlFilePath.c_str(), status); in createEngineUsingXmlConfig()
45 EngineInstance createEngineUsingXmlConfig(const std::string& xmlFilePath);
61 const std::string& xmlFilePath = "");66 const std::string& xmlFilePath);150 status_t loadFromXml(const std::string& xmlFilePath, bool forVts);
47 status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") override;143 status_t loadAudioPolicyEngineConfig(const std::string& xmlFilePath);
79 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) in loadFromXmlConfigWithFallback() argument81 status_t loadResult = loadAudioPolicyEngineConfig(xmlFilePath); in loadFromXmlConfigWithFallback()202 status_t Engine::loadAudioPolicyEngineConfig(const std::string& xmlFilePath) in loadAudioPolicyEngineConfig() argument204 auto result = EngineBase::loadAudioPolicyEngineConfig(xmlFilePath); in loadAudioPolicyEngineConfig()
58 status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") override;
65 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) { in loadFromXmlConfigWithFallback() argument66 return loadWithFallback(xmlFilePath); in loadFromXmlConfigWithFallback()
63 virtual status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") = 0;
122 engineConfig::ParsingResult loadAudioPolicyEngineConfig(const std::string& xmlFilePath = "");
135 engineConfig::ParsingResult EngineBase::loadAudioPolicyEngineConfig(const std::string& xmlFilePath) in loadAudioPolicyEngineConfig() argument141 const std::string filePath = xmlFilePath.empty() ? engineConfig::DEFAULT_PATH : xmlFilePath; in loadAudioPolicyEngineConfig()