Searched refs:deviceCategory (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | VolumeCurve.h | 113 const sp<VolumeCurve> getOriginVolumeCurve(device_category deviceCategory) const in getOriginVolumeCurve() argument 115 ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(deviceCategory) >= 0, "Invalid device category"); in getOriginVolumeCurve() 116 return mOriginVolumeCurves.valueFor(deviceCategory); in getOriginVolumeCurve() 118 void setVolumeCurve(device_category deviceCategory, const sp<VolumeCurve> &volumeCurve) in setVolumeCurve() argument 120 ALOG_ASSERT(indexOfKey(deviceCategory) >= 0, "Invalid device category for Volume Curve"); in setVolumeCurve() 121 replaceValueFor(deviceCategory, volumeCurve); in setVolumeCurve() 126 device_category deviceCategory = volumeCurve->getDeviceCategory(); in add() local 127 ssize_t index = indexOfKey(deviceCategory); in add() 130 mOriginVolumeCurves.add(deviceCategory, volumeCurve); in add() 131 return KeyedVector::add(deviceCategory, volumeCurve); in add()
|
D | StreamDescriptor.h | 49 void setVolumeCurvePoint(device_category deviceCategory, const VolumeCurvePoint *point); 50 const VolumeCurvePoint *getVolumeCurvePoint(device_category deviceCategory) const in getVolumeCurvePoint() argument 52 return mVolumeCurve[deviceCategory]; in getVolumeCurvePoint() 102 void setVolumeCurvePoint(audio_stream_type_t stream, device_category deviceCategory, 105 device_category deviceCategory) const;
|
D | Serializer.h | 202 static const char deviceCategory[]; member
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | StreamDescriptor.cpp | 76 void StreamDescriptor::setVolumeCurvePoint(device_category deviceCategory, in setVolumeCurvePoint() argument 79 mVolumeCurve[deviceCategory] = point; in setVolumeCurvePoint() 126 device_category deviceCategory, in setVolumeCurvePoint() argument 129 editValueAt(stream).setVolumeCurvePoint(deviceCategory, point); in setVolumeCurvePoint() 133 … device_category deviceCategory) const in getVolumeCurvePoint() 135 return valueAt(stream).getVolumeCurvePoint(deviceCategory); in getVolumeCurvePoint()
|
D | Serializer.cpp | 527 const char VolumeTraits::Attributes::deviceCategory[] = "deviceCategory"; member in android::VolumeTraits::Attributes 543 string deviceCategoryLiteral = getXmlAttribute(root, Attributes::deviceCategory); in deserialize() 545 ALOGE("%s: No %s found", __FUNCTION__, Attributes::deviceCategory); in deserialize() 548 device_category deviceCategory; in deserialize() local 549 if (!DeviceCategoryConverter::fromString(deviceCategoryLiteral, deviceCategory)) { in deserialize() 550 ALOGE("%s: Invalid %s=%s", __FUNCTION__, Attributes::deviceCategory, in deserialize() 565 element = new Element(deviceCategory, streamType); in deserialize()
|
/frameworks/av/services/audiopolicy/engineconfigurable/src/ |
D | Engine.h | 156 device_category deviceCategory,
|