Home
last modified time | relevance | path

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

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