Lines Matching refs:cm
172 void add(const ConfigMapper &cm) { in add()
173 auto it = mConfigMappers.find(cm.mediaKey()); in add()
175 ((cm.domain() & Domain::IS_INPUT) ? 'I' : ' '), in add()
176 ((cm.domain() & Domain::IS_OUTPUT) ? 'O' : ' '), in add()
177 ((cm.domain() & Domain::IS_CODED) ? 'C' : ' '), in add()
178 ((cm.domain() & Domain::IS_RAW) ? 'R' : ' '), in add()
179 cm.domain(), in add()
181 cm.mediaKey().c_str(), cm.path().c_str()); in add()
183 std::vector<ConfigMapper> eqs = { cm }; in add()
184 mConfigMappers.emplace(cm.mediaKey(), eqs); in add()
186 it->second.push_back(cm); in add()
202 for (const ConfigMapper &cm : el.second) { in getPathsForDomain() local
203 ALOGV("filtering %s %x %x %x %x", cm.path().c_str(), cm.domain(), any, in getPathsForDomain()
204 (cm.domain() & any), (cm.domain() & any & all)); in getPathsForDomain()
205 if ((cm.domain() & any) && ((cm.domain() & any & all) == (any & all))) { in getPathsForDomain()
206 res.push_back(cm.path()); in getPathsForDomain()
237 [params = mStandardParams](const ConfigMapper &cm) { in initializeStandardParams() argument
238 params->add(cm); in initializeStandardParams()
705 for (const ConfigMapper &cm : el.second) { in getSdkFormatForDomain() local
706 if ((cm.domain() & domain) == 0 || (cm.domain() & mDomain) == 0) { in getSdkFormatForDomain()
709 auto it = reflected.find(cm.path()); in getSdkFormatForDomain()
718 item = cm.mapToMessage(c2Value); in getSdkFormatForDomain()
724 ALOGD("unexpected untyped query value for key: %s", cm.path().c_str()); in getSdkFormatForDomain()
854 for (const ConfigMapper &cm : mStandardParams->getConfigMappersForSdkKey(name.c_str())) { in getReflectedFormat() local
855 if (cm.domain() & domain & mDomain) { in getReflectedFormat()
868 if (beVeryStrict || cm.mapper()) { in getReflectedFormat()
869 item.set(cm.mapFromMessage(params->getEntryAt(ix))); in getReflectedFormat()
879 filtered.emplace(cm.path(), item); in getReflectedFormat()