/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 112 [&volumeConfig](const auto &volumeGroup) { in loadAudioPolicyEngineConfig() argument 113 return volumeConfig.name == volumeGroup.second->getName(); }); in loadAudioPolicyEngineConfig() 118 sp<VolumeGroup> volumeGroup = new VolumeGroup(volumeConfig.name, volumeConfig.indexMin, in loadAudioPolicyEngineConfig() local 120 volumeGroups[volumeGroup->getId()] = volumeGroup; in loadAudioPolicyEngineConfig() 132 volumeGroup->add(curve); in loadAudioPolicyEngineConfig() 134 return volumeGroup; in loadAudioPolicyEngineConfig() 136 auto addSupportedAttributesToGroup = [](auto &group, auto &volumeGroup, auto &strategy) { in loadAudioPolicyEngineConfig() argument 138 strategy->addAttributes({group.stream, volumeGroup->getId(), attr}); in loadAudioPolicyEngineConfig() 139 volumeGroup->addSupportedAttributes(attr); in loadAudioPolicyEngineConfig() 144 [&streamType](const auto &volumeGroup) { in loadAudioPolicyEngineConfig() argument [all …]
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 62 static constexpr const char *volumeGroup = "volumeGroup"; member 307 std::string volumeGroup = getXmlAttribute(child, Attributes::volumeGroup); in deserialize() local 308 if (volumeGroup.empty()) { in deserialize() 309 ALOGE("%s: No attribute %s found", __FUNCTION__, Attributes::volumeGroup); in deserialize() 311 ALOGV("%s: %s = %s", __FUNCTION__, Attributes::volumeGroup, volumeGroup.c_str()); in deserialize() 327 attributesGroup.push_back({name, streamType, volumeGroup, attributesVect}); in deserialize()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 312 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument 314 volumeGroup = mEngine->getVolumeGroupForAttributes(aa.getAttributes()); in getVolumeGroupFromAudioAttributes() 315 return volumeGroup != VOLUME_GROUP_NONE ? NO_ERROR : BAD_VALUE; in getVolumeGroupFromAudioAttributes() 377 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() argument 379 return static_cast<VolumeSource>(volumeGroup); in toVolumeSource()
|
D | AudioPolicyManager.cpp | 5977 for (const auto &volumeGroup : mEngine->getVolumeGroups()) { in applyStreamVolumes() local 5978 auto &curves = getVolumeCurves(toVolumeSource(volumeGroup)); in applyStreamVolumes() 5979 checkAndSetVolume(curves, toVolumeSource(volumeGroup), in applyStreamVolumes()
|
/frameworks/av/services/audiopolicy/engine/config/include/ |
D | EngineConfig.h | 40 std::string volumeGroup; member
|
/frameworks/base/core/java/android/preference/ |
D | SeekBarVolumizer.java | 558 int volumeGroup = getVolumeGroupIdForLegacyStreamType(streamType); in onReceive() local 559 if (volumeGroup != AudioVolumeGroup.DEFAULT_VOLUME_GROUP in onReceive() 560 && volumeGroup == mVolumeGroupId) { in onReceive()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyService.h | 224 volume_group_t &volumeGroup) = 0;
|
D | AudioSystem.h | 397 volume_group_t &volumeGroup);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 277 volume_group_t &volumeGroup) = 0;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1320 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument 1326 return mAudioPolicyManager->getVolumeGroupFromAudioAttributes(aa, volumeGroup); in getVolumeGroupFromAudioAttributes()
|
D | AudioPolicyService.h | 268 volume_group_t &volumeGroup);
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 2145 final int volumeGroup = getVolumeGroupIdForAttributes(attr); in setVolumeIndexForAttributes() local 2146 if (sVolumeGroupStates.indexOfKey(volumeGroup) < 0) { in setVolumeIndexForAttributes() 2150 final VolumeGroupState vgs = sVolumeGroupStates.get(volumeGroup); in setVolumeIndexForAttributes() 2162 Log.d(TAG, "volume group " + volumeGroup + " has internal streams (" + groupedStream in setVolumeIndexForAttributes() 2187 final int volumeGroup = getVolumeGroupIdForAttributes(attr); in getVolumeIndexForAttributes() local 2188 if (sVolumeGroupStates.indexOfKey(volumeGroup) < 0) { in getVolumeIndexForAttributes() 2191 final VolumeGroupState vgs = sVolumeGroupStates.get(volumeGroup); in getVolumeIndexForAttributes()
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 1529 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument 1533 return aps->getVolumeGroupFromAudioAttributes(aa, volumeGroup); in getVolumeGroupFromAudioAttributes()
|
D | IAudioPolicyService.cpp | 1260 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument 1276 volumeGroup = static_cast<volume_group_t>(reply.readInt32()); in getVolumeGroupFromAudioAttributes()
|