Home
last modified time | relevance | path

Searched refs:curves (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h179 status_t getVolumeIndex(const IVolumeCurves &curves, int &index,
380 auto *curves = mEngine->getVolumeCurvesForVolumeGroup( in getVolumeCurves() local
382 ALOG_ASSERT(curves != nullptr, "No curves for volume source %d", volumeSource); in getVolumeCurves()
383 return *curves; in getVolumeCurves()
387 auto *curves = mEngine->getVolumeCurvesForAttributes(attr); in getVolumeCurves() local
388 ALOG_ASSERT(curves != nullptr, "No curves for attributes %s", toString(attr).c_str()); in getVolumeCurves()
389 return *curves; in getVolumeCurves()
393 auto *curves = mEngine->getVolumeCurvesForStreamType(stream); in getVolumeCurves() local
394 ALOG_ASSERT(curves != nullptr, "No curves for stream %s", toString(stream).c_str()); in getVolumeCurves()
395 return *curves; in getVolumeCurves()
[all …]
DAudioPolicyManager.cpp1729 auto &curves = getVolumeCurves(client->attributes()); in startSource() local
1730 checkAndSetVolume(curves, client->volumeSource(), in startSource()
1731 curves.getVolumeIndex(outputDesc->devices().types()), in startSource()
2478 IVolumeCurves &curves = getVolumeCurves(attributes); in setVolumeIndexForAttributes() local
2482 status = setVolumeCurveIndex(index, device, curves); in setVolumeIndexForAttributes()
2489 auto curCurvAttrs = curves.getAttributes(); in setVolumeIndexForAttributes()
2493 } else if (!curves.getStreamTypes().empty()) { in setVolumeIndexForAttributes()
2494 auto stream = curves.getStreamTypes().front(); in setVolumeIndexForAttributes()
2560 status_t volStatus = checkAndSetVolume(curves, vs, index, desc, curDevice, in setVolumeIndexForAttributes()
2578 applyVolume = !curves.hasVolumeIndexForDevice(curSrcDevice); in setVolumeIndexForAttributes()
[all …]
/frameworks/av/services/audiopolicy/engine/common/src/
DEngineBase.cpp243 VolumeCurves *curves = getVolumeCurvesForStreamType(stream); in restoreOriginVolumeCurve() local
244 return curves != nullptr ? curves->switchCurvesFrom(*curves) : BAD_VALUE; in restoreOriginVolumeCurve()
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto869 // curves to be used when generating SSID only bases score curves.