Home
last modified time | relevance | path

Searched refs:volumeGroups (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp109 auto loadVolumeConfig = [](auto &volumeGroups, auto &volumeConfig) { in loadAudioPolicyEngineConfig() argument
111 LOG_ALWAYS_FATAL_IF(std::any_of(std::begin(volumeGroups), std::end(volumeGroups), in loadAudioPolicyEngineConfig()
119 volumeGroups[volumeGroup->getId()] = volumeGroup; in loadAudioPolicyEngineConfig()
141 auto checkStreamForGroups = [](auto streamType, const auto &volumeGroups) { in loadAudioPolicyEngineConfig() argument
142 const auto &iter = std::find_if(std::begin(volumeGroups), std::end(volumeGroups), in loadAudioPolicyEngineConfig()
148 return iter != end(volumeGroups); in loadAudioPolicyEngineConfig()
155 android::status_t ret = engineConfig::parseLegacyVolumes(config.volumeGroups); in loadAudioPolicyEngineConfig()
160 result.parsedConfig->volumeGroups.insert( in loadAudioPolicyEngineConfig()
161 std::end(result.parsedConfig->volumeGroups), in loadAudioPolicyEngineConfig()
174 for (auto &volumeConfig : result.parsedConfig->volumeGroups) { in loadAudioPolicyEngineConfig()
/frameworks/av/services/audiopolicy/engine/config/include/
DEngineConfig.h99 VolumeGroups volumeGroups; member
113 android::status_t parseLegacyVolumes(VolumeGroups &volumeGroups);
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp572 VolumeGroups &volumeGroups, in deserializeLegacyVolumeCollection() argument
601 volumeGroups.push_back({ volumeMapIter.first, indexMin, indexMax, volumeMapIter.second }); in deserializeLegacyVolumeCollection()
670 doc, cur, config->volumeGroups, nbSkippedElements); in parse()
675 android::status_t parseLegacyVolumeFile(const char* path, VolumeGroups &volumeGroups) { in parseLegacyVolumeFile() argument
694 return deserializeLegacyVolumeCollection(doc, cur, volumeGroups, nbSkippedElements); in parseLegacyVolumeFile()
703 android::status_t parseLegacyVolumes(VolumeGroups &volumeGroups) { in parseLegacyVolumes() argument
719 ret = parseLegacyVolumeFile(audioPolicyXmlConfigFile, volumeGroups); in parseLegacyVolumes()