Lines Matching refs:cm
262 void add(const ConfigMapper &cm) { in add()
263 auto it = mConfigMappers.find(cm.mediaKey()); in add()
265 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
266 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
267 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
268 ((cm.domain() & Domain::IS_RAW) ? 'R' : ' '), in add()
269 ((cm.domain() & Domain::IS_CONFIG) ? 'c' : ' '), in add()
270 ((cm.domain() & Domain::IS_PARAM) ? 'p' : ' '), in add()
271 ((cm.domain() & Domain::IS_READ) ? 'r' : ' '), in add()
272 cm.domain(), in add()
274 cm.mediaKey().c_str(), cm.path().c_str()); in add()
276 std::vector<ConfigMapper> eqs = { cm }; in add()
277 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()
279 it->second.push_back(cm); in add()
295 for (const ConfigMapper &cm : mappers) { in getPathsForDomain() local
296 ALOGV("filtering %s %x %x %x %x", cm.path().c_str(), cm.domain(), any, in getPathsForDomain()
297 (cm.domain() & any), (cm.domain() & any & all)); in getPathsForDomain()
298 if ((cm.domain() & any) && ((cm.domain() & any & all) == (any & all))) { in getPathsForDomain()
299 res.push_back(cm.path()); in getPathsForDomain()
333 [params = mStandardParams](const ConfigMapper &cm) { in initializeStandardParams() argument
334 params->add(cm); in initializeStandardParams()
1231 for (const ConfigMapper &cm : mappers) { in getFormatForDomain() local
1232 if ((cm.domain() & portDomain) == 0 // input-output-coded-raw in getFormatForDomain()
1233 || (cm.domain() & mDomain) != mDomain // component domain + kind (these must match) in getFormatForDomain()
1234 || (cm.domain() & IS_READ) == 0) { in getFormatForDomain()
1237 auto it = reflected.find(cm.path()); in getFormatForDomain()
1246 item = cm.mapToMessage(c2Value); in getFormatForDomain()
1252 ALOGD("unexpected untyped query value for key: %s", cm.path().c_str()); in getFormatForDomain()
1714 for (const ConfigMapper &cm : mStandardParams->getConfigMappersForSdkKey(name.c_str())) { in getReflectedFormat() local
1716 if ((cm.domain() & configDomain) in getReflectedFormat()
1718 && (cm.domain() & mDomain) == mDomain) { in getReflectedFormat()
1731 if (beVeryStrict || cm.mapper()) { in getReflectedFormat()
1732 item.set(cm.mapFromMessage(params->getEntryAt(ix))); in getReflectedFormat()
1742 filtered.emplace(cm.path(), item); in getReflectedFormat()