Home
last modified time | relevance | path

Searched refs:volumeGroup (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp104 [&group](const auto &volumeGroup) { in loadAudioPolicyEngineConfig() argument
105 return group.volumeGroup == volumeGroup.second->getName(); }); in loadAudioPolicyEngineConfig()
107 group.volumeGroup.c_str()); in loadAudioPolicyEngineConfig()
122 sp<VolumeGroup> volumeGroup = new VolumeGroup(volumeConfig.name, volumeConfig.indexMin, in loadAudioPolicyEngineConfig() local
124 volumeGroups[volumeGroup->getId()] = volumeGroup; in loadAudioPolicyEngineConfig()
136 volumeGroup->add(curve); in loadAudioPolicyEngineConfig()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp62 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/
DAudioPolicyManager.h304 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument
306 volumeGroup = mEngine->getVolumeGroupForAttributes(aa.getAttributes()); in getVolumeGroupFromAudioAttributes()
307 return volumeGroup != VOLUME_GROUP_NONE ? NO_ERROR : BAD_VALUE; in getVolumeGroupFromAudioAttributes()
366 VolumeSource toVolumeSource(volume_group_t volumeGroup) const in toVolumeSource() argument
368 return static_cast<VolumeSource>(volumeGroup); in toVolumeSource()
DAudioPolicyManager.cpp5879 for (const auto &volumeGroup : mEngine->getVolumeGroups()) { in applyStreamVolumes() local
5880 auto &curves = getVolumeCurves(toVolumeSource(volumeGroup)); in applyStreamVolumes()
5881 checkAndSetVolume(curves, toVolumeSource(volumeGroup), in applyStreamVolumes()
/frameworks/av/services/audiopolicy/engine/config/include/
DEngineConfig.h43 std::string volumeGroup; member
/frameworks/base/core/java/android/preference/
DSeekBarVolumizer.java558 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/
DIAudioPolicyService.h222 volume_group_t &volumeGroup) = 0;
DAudioSystem.h395 volume_group_t &volumeGroup);
/frameworks/av/include/media/
DIAudioPolicyService.h222 volume_group_t &volumeGroup) = 0;
DAudioSystem.h395 volume_group_t &volumeGroup);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h271 volume_group_t &volumeGroup) = 0;
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp1312 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument
1318 return mAudioPolicyManager->getVolumeGroupFromAudioAttributes(aa, volumeGroup); in getVolumeGroupFromAudioAttributes()
DAudioPolicyService.h257 volume_group_t &volumeGroup);
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1508 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument
1512 return aps->getVolumeGroupFromAudioAttributes(aa, volumeGroup); in getVolumeGroupFromAudioAttributes()
DIAudioPolicyService.cpp1256 volume_group_t &volumeGroup) in getVolumeGroupFromAudioAttributes() argument
1272 volumeGroup = static_cast<volume_group_t>(reply.readInt32()); in getVolumeGroupFromAudioAttributes()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java2083 final int volumeGroup = getVolumeGroupIdForAttributes(attr); in setVolumeIndexForAttributes() local
2084 final AudioVolumeGroup avg = getAudioVolumeGroupById(volumeGroup); in setVolumeIndexForAttributes()