OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:deviceCategory
(Results
1 - 4
of
4
) sorted by null
/frameworks/av/services/audiopolicy/engine/common/include/
VolumeCurve.h
139
const sp<VolumeCurve> getOriginVolumeCurve(device_category
deviceCategory
) const
141
ALOG_ASSERT(mOriginVolumeCurves.indexOfKey(
deviceCategory
) >= 0, "Invalid device category");
142
return mOriginVolumeCurves.valueFor(
deviceCategory
);
144
void setVolumeCurve(device_category
deviceCategory
, const sp<VolumeCurve> &volumeCurve)
146
ALOG_ASSERT(indexOfKey(
deviceCategory
) >= 0, "Invalid device category for Volume Curve");
147
replaceValueFor(
deviceCategory
, volumeCurve);
152
device_category
deviceCategory
= volumeCurve->getDeviceCategory();
153
ssize_t index = indexOfKey(
deviceCategory
);
156
mOriginVolumeCurves.add(
deviceCategory
, volumeCurve);
157
return KeyedVector::add(
deviceCategory
, volumeCurve)
[
all
...]
/frameworks/av/services/audiopolicy/engine/config/include/
EngineConfig.h
56
std::string
deviceCategory
;
/frameworks/av/services/audiopolicy/engine/common/src/
EngineBase.cpp
128
if (!DeviceCategoryConverter::fromString(configCurve.
deviceCategory
, deviceCat)) {
129
ALOGE("%s: Invalid %s", __FUNCTION__, configCurve.
deviceCategory
.c_str());
/frameworks/av/services/audiopolicy/engine/config/src/
EngineConfig.cpp
119
static constexpr const char *
deviceCategory
= "
deviceCategory
";
425
std::string
deviceCategory
= getXmlAttribute(root, Attributes::
deviceCategory
);
426
if (
deviceCategory
.empty()) {
427
ALOGW("%s: No %s found", __FUNCTION__, Attributes::
deviceCategory
);
459
volumes.push_back({
deviceCategory
, curvePoints });
531
std::string deviceCategoryLiteral = getXmlAttribute(cur, "
deviceCategory
");
533
ALOGE("%s: No attribute
deviceCategory
found", __func__);
Completed in 869 milliseconds