Lines Matching refs:cm

255     void add(const ConfigMapper &cm) {  in add()
256 auto it = mConfigMappers.find(cm.mediaKey()); in add()
258 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
259 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
260 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
261 ((cm.domain() & Domain::IS_RAW) ? 'R' : ' '), in add()
262 ((cm.domain() & Domain::IS_CONFIG) ? 'c' : ' '), in add()
263 ((cm.domain() & Domain::IS_PARAM) ? 'p' : ' '), in add()
264 ((cm.domain() & Domain::IS_READ) ? 'r' : ' '), in add()
265 cm.domain(), in add()
267 cm.mediaKey().c_str(), cm.path().c_str()); in add()
269 std::vector<ConfigMapper> eqs = { cm }; in add()
270 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()
272 it->second.push_back(cm); in add()
288 for (const ConfigMapper &cm : el.second) { in getPathsForDomain() local
289 ALOGV("filtering %s %x %x %x %x", cm.path().c_str(), cm.domain(), any, in getPathsForDomain()
290 (cm.domain() & any), (cm.domain() & any & all)); in getPathsForDomain()
291 if ((cm.domain() & any) && ((cm.domain() & any & all) == (any & all))) { in getPathsForDomain()
292 res.push_back(cm.path()); in getPathsForDomain()
325 [params = mStandardParams](const ConfigMapper &cm) { in initializeStandardParams() argument
326 params->add(cm); in initializeStandardParams()
1086 for (const ConfigMapper &cm : el.second) { in getSdkFormatForDomain() local
1087 if ((cm.domain() & portDomain) == 0 // input-output-coded-raw in getSdkFormatForDomain()
1088 || (cm.domain() & mDomain) != mDomain // component domain + kind (these must match) in getSdkFormatForDomain()
1089 || (cm.domain() & IS_READ) == 0) { in getSdkFormatForDomain()
1092 auto it = reflected.find(cm.path()); in getSdkFormatForDomain()
1101 item = cm.mapToMessage(c2Value); in getSdkFormatForDomain()
1107 ALOGD("unexpected untyped query value for key: %s", cm.path().c_str()); in getSdkFormatForDomain()
1483 for (const ConfigMapper &cm : mStandardParams->getConfigMappersForSdkKey(name.c_str())) { in getReflectedFormat() local
1485 if ((cm.domain() & configDomain) in getReflectedFormat()
1487 && (cm.domain() & mDomain) == mDomain) { in getReflectedFormat()
1500 if (beVeryStrict || cm.mapper()) { in getReflectedFormat()
1501 item.set(cm.mapFromMessage(params->getEntryAt(ix))); in getReflectedFormat()
1511 filtered.emplace(cm.path(), item); in getReflectedFormat()