Searched refs:deviceCategory (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | VolumeCurve.h | 138 const sp<VolumeCurve> getOriginVolumeCurve(device_category deviceCategory) const in getOriginVolumeCurve() argument 140 ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(deviceCategory) >= 0, "Invalid device category"); in getOriginVolumeCurve() 141 return mOriginVolumeCurves.valueFor(deviceCategory); in getOriginVolumeCurve() 143 void setVolumeCurve(device_category deviceCategory, const sp<VolumeCurve> &volumeCurve) in setVolumeCurve() argument 145 ALOG_ASSERT(indexOfKey(deviceCategory) >= 0, "Invalid device category for Volume Curve"); in setVolumeCurve() 146 replaceValueFor(deviceCategory, volumeCurve); in setVolumeCurve() 151 device_category deviceCategory = volumeCurve->getDeviceCategory(); in add() local 152 ssize_t index = indexOfKey(deviceCategory); in add() 155 mOriginVolumeCurves.add(deviceCategory, volumeCurve); in add() 156 return KeyedVector::add(deviceCategory, volumeCurve); in add()
|
/frameworks/av/services/audiopolicy/engine/config/src/ |
D | EngineConfig.cpp | 119 static constexpr const char *deviceCategory = "deviceCategory"; member 439 std::string deviceCategory = getXmlAttribute(root, Attributes::deviceCategory); in deserialize() local 440 if (deviceCategory.empty()) { in deserialize() 441 ALOGW("%s: No %s found", __FUNCTION__, Attributes::deviceCategory); in deserialize() 473 volumes.push_back({ deviceCategory, curvePoints }); in deserialize()
|
/frameworks/av/services/audiopolicy/engine/config/include/ |
D | EngineConfig.h | 53 std::string deviceCategory; member
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | EngineBase.cpp | 128 if (!DeviceCategoryConverter::fromString(configCurve.deviceCategory, deviceCat)) { in loadAudioPolicyEngineConfig() 129 ALOGE("%s: Invalid %s", __FUNCTION__, configCurve.deviceCategory.c_str()); in loadAudioPolicyEngineConfig()
|