Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp199 const std::string& xmlFilePath) { in loadFromApmXmlConfigWithFallback() argument
201 xmlFilePath.empty() ? audio_get_audio_policy_config_file() : xmlFilePath; in loadFromApmXmlConfigWithFallback()
216 const std::string& xmlFilePath) { in loadFromCustomXmlConfigForTests() argument
218 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() argument
277 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()
/frameworks/av/services/audiopolicy/managerdefault/
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()
DEngineLibrary.h45 EngineInstance createEngineUsingXmlConfig(const std::string& xmlFilePath);
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h61 const std::string& xmlFilePath = "");
66 const std::string& xmlFilePath);
150 status_t loadFromXml(const std::string& xmlFilePath, bool forVts);
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.h47 status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") override;
143 status_t loadAudioPolicyEngineConfig(const std::string& xmlFilePath);
DEngine.cpp79 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) in loadFromXmlConfigWithFallback() argument
81 status_t loadResult = loadAudioPolicyEngineConfig(xmlFilePath); in loadFromXmlConfigWithFallback()
202 status_t Engine::loadAudioPolicyEngineConfig(const std::string& xmlFilePath) in loadAudioPolicyEngineConfig() argument
204 auto result = EngineBase::loadAudioPolicyEngineConfig(xmlFilePath); in loadAudioPolicyEngineConfig()
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.h58 status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") override;
DEngine.cpp65 status_t Engine::loadFromXmlConfigWithFallback(const std::string& xmlFilePath) { in loadFromXmlConfigWithFallback() argument
66 return loadWithFallback(xmlFilePath); in loadFromXmlConfigWithFallback()
/frameworks/av/services/audiopolicy/engine/interface/
DEngineInterface.h63 virtual status_t loadFromXmlConfigWithFallback(const std::string& xmlFilePath = "") = 0;
/frameworks/av/services/audiopolicy/engine/common/include/
DEngineBase.h122 engineConfig::ParsingResult loadAudioPolicyEngineConfig(const std::string& xmlFilePath = "");
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp135 engineConfig::ParsingResult EngineBase::loadAudioPolicyEngineConfig(const std::string& xmlFilePath) in loadAudioPolicyEngineConfig() argument
141 const std::string filePath = xmlFilePath.empty() ? engineConfig::DEFAULT_PATH : xmlFilePath; in loadAudioPolicyEngineConfig()