Lines Matching refs:cm
252 void add(const ConfigMapper &cm) { in add()
253 auto it = mConfigMappers.find(cm.mediaKey()); in add()
255 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
256 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
257 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
258 ((cm.domain() & Domain::IS_RAW) ? 'R' : ' '), in add()
259 ((cm.domain() & Domain::IS_CONFIG) ? 'c' : ' '), in add()
260 ((cm.domain() & Domain::IS_PARAM) ? 'p' : ' '), in add()
261 ((cm.domain() & Domain::IS_READ) ? 'r' : ' '), in add()
262 cm.domain(), in add()
264 cm.mediaKey().c_str(), cm.path().c_str()); in add()
266 std::vector<ConfigMapper> eqs = { cm }; in add()
267 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()
269 it->second.push_back(cm); in add()
285 for (const ConfigMapper &cm : el.second) { in getPathsForDomain() local
286 ALOGV("filtering %s %x %x %x %x", cm.path().c_str(), cm.domain(), any, in getPathsForDomain()
287 (cm.domain() & any), (cm.domain() & any & all)); in getPathsForDomain()
288 if ((cm.domain() & any) && ((cm.domain() & any & all) == (any & all))) { in getPathsForDomain()
289 res.push_back(cm.path()); in getPathsForDomain()
321 [params = mStandardParams](const ConfigMapper &cm) { in initializeStandardParams() argument
322 params->add(cm); in initializeStandardParams()
1058 for (const ConfigMapper &cm : el.second) { in getSdkFormatForDomain() local
1059 if ((cm.domain() & portDomain) == 0 // input-output-coded-raw in getSdkFormatForDomain()
1060 || (cm.domain() & mDomain) != mDomain // component domain + kind (these must match) in getSdkFormatForDomain()
1061 || (cm.domain() & IS_READ) == 0) { in getSdkFormatForDomain()
1064 auto it = reflected.find(cm.path()); in getSdkFormatForDomain()
1073 item = cm.mapToMessage(c2Value); in getSdkFormatForDomain()
1079 ALOGD("unexpected untyped query value for key: %s", cm.path().c_str()); in getSdkFormatForDomain()
1455 for (const ConfigMapper &cm : mStandardParams->getConfigMappersForSdkKey(name.c_str())) { in getReflectedFormat() local
1457 if ((cm.domain() & configDomain) in getReflectedFormat()
1459 && (cm.domain() & mDomain) == mDomain) { in getReflectedFormat()
1472 if (beVeryStrict || cm.mapper()) { in getReflectedFormat()
1473 item.set(cm.mapFromMessage(params->getEntryAt(ix))); in getReflectedFormat()
1483 filtered.emplace(cm.path(), item); in getReflectedFormat()