Searched refs:deviceCategory (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DStreamDescriptor.h44 void setVolumeCurvePoint(Volume::device_category deviceCategory, const VolumeCurvePoint *point);
45 const VolumeCurvePoint *getVolumeCurvePoint(Volume::device_category deviceCategory) const
47 return mVolumeCurve[deviceCategory];
74 Volume::device_category deviceCategory,
78 Volume::device_category deviceCategory) const;
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DStreamDescriptor.cpp71 void StreamDescriptor::setVolumeCurvePoint(Volume::device_category deviceCategory, argument
74 mVolumeCurve[deviceCategory] = point;
121 Volume::device_category deviceCategory,
124 editValueAt(stream).setVolumeCurvePoint(deviceCategory, point);
128 Volume::device_category deviceCategory) const
130 return valueAt(stream).getVolumeCurvePoint(deviceCategory);
120 setVolumeCurvePoint(audio_stream_type_t stream, Volume::device_category deviceCategory, const VolumeCurvePoint *point) argument
/frameworks/av/services/audiopolicy/enginedefault/src/
H A DGains.h32 static float volIndexToAmpl(Volume::device_category deviceCategory,
36 static float volIndexToDb(Volume::device_category deviceCategory,
H A DGains.cpp200 float Gains::volIndexToDb(Volume::device_category deviceCategory, argument
204 const VolumeCurvePoint *curve = streamDesc.getVolumeCurvePoint(deviceCategory);
246 float Gains::volIndexToAmpl(Volume::device_category deviceCategory, argument
250 return Volume::DbToAmpl(volIndexToDb(deviceCategory, streamDesc, indexInUi));
H A DEngine.h104 virtual float volIndexToDb(Volume::device_category deviceCategory, argument
107 return mPolicyEngine->volIndexToDb(deviceCategory, stream, indexInUi);
/frameworks/av/services/audiopolicy/engineconfigurable/src/
H A DStream.cpp94 float Element<audio_stream_type_t>::volIndexToDb(Volume::device_category deviceCategory, argument
97 VolumeProfileConstIterator it = mVolumeProfiles.find(deviceCategory);
99 ALOGE("%s: device category %d not found for stream %s", __FUNCTION__, deviceCategory,
103 const VolumeCurvePoints curve = mVolumeProfiles[deviceCategory];
105 ALOGE("%s: invalid profile for category %d and for stream %s", __FUNCTION__, deviceCategory,
H A DEngine.h100 virtual float volIndexToDb(Volume::device_category deviceCategory, argument
104 return mPolicyEngine->volIndexToDb(deviceCategory, stream, indexInUi);
145 Volume::device_category deviceCategory,
148 return mPolicyEngine->setVolumeProfileForStream(stream, deviceCategory, points);
175 Volume::device_category deviceCategory,
144 setVolumeProfileForStream(const audio_stream_type_t &stream, Volume::device_category deviceCategory, const VolumeCurvePoints &points) argument
H A DStream.h84 float volIndexToDb(Volume::device_category deviceCategory, int indexInUi);
H A DEngine.cpp119 Volume::device_category deviceCategory,
127 return stream->setVolumeProfile(deviceCategory, points) == NO_ERROR;
118 setVolumeProfileForStream(const audio_stream_type_t &streamType, Volume::device_category deviceCategory, const VolumeCurvePoints &points) argument
/frameworks/av/services/audiopolicy/engine/interface/
H A DAudioPolicyManagerInterface.h140 * @param[in] deviceCategory for which the conversion is requested.
146 virtual float volIndexToDb(Volume::device_category deviceCategory, audio_stream_type_t stream,

Completed in 88 milliseconds