Home
last modified time | relevance | path

Searched refs:matrixInstance (Results 1 – 6 of 6) sorted by relevance

/system/libvintf/analyze_matrix/
Danalyze_matrix.cpp51 mat.forEachInstance([&set](const auto& matrixInstance) { in getInterfaces() argument
52 for (auto minorVer = matrixInstance.versionRange().minMinor; in getInterfaces()
53 minorVer >= matrixInstance.versionRange().minMinor && in getInterfaces()
54 minorVer <= matrixInstance.versionRange().maxMinor; in getInterfaces()
56 Version version{matrixInstance.versionRange().majorVer, minorVer}; in getInterfaces()
57 set->insert(matrixInstance.interfaceDescription(version)); in getInterfaces()
/system/libvintf/
Dmain.cpp200 matrix->forEachInstance([&](const auto& matrixInstance) { in insert() argument
201 for (auto minorVer = matrixInstance.versionRange().minMinor; in insert()
202 minorVer >= matrixInstance.versionRange().minMinor && in insert()
203 minorVer <= matrixInstance.versionRange().maxMinor; in insert()
205 Version version{matrixInstance.versionRange().majorVer, minorVer}; in insert()
206 std::string key = matrixInstance.description(version); in insert()
212 if (minorVer == matrixInstance.versionRange().minMinor) { in insert()
213 it->second.required = !matrixInstance.optional(); in insert()
DCompatibilityMatrix.cpp156 existingHal->forEachInstance([&](const auto& matrixInstance) { in splitInstance() argument
157 bool interfaceMatch = matrixInstance.interface() == interface; in splitInstance()
159 if (matrixInstance.isRegex() && isRegex) { in splitInstance()
160 instanceMatch = (matrixInstance.regexPattern() == instanceOrPattern); in splitInstance()
161 } else if (!matrixInstance.isRegex() && !isRegex) { in splitInstance()
162 instanceMatch = (matrixInstance.exactInstance() == instanceOrPattern); in splitInstance()
440 bool cont = hal->forEachInstance([&](const MatrixInstance& matrixInstance) { in forEachInstanceOfVersion() argument
441 if (matrixInstance.format() == format && in forEachInstanceOfVersion()
442 matrixInstance.versionRange().contains(expectVersion)) { in forEachInstanceOfVersion()
443 return func(matrixInstance); in forEachInstanceOfVersion()
Dparse_string.cpp404 req.forEachInstance(vr, [&](const auto& matrixInstance) { in expandInstances() argument
406 auto instance = matrixInstance.isRegex() ? matrixInstance.regexPattern() in expandInstances()
407 : matrixInstance.exactInstance(); in expandInstances()
411 s += toFQNameString(matrixInstance.interface(), instance); in expandInstances()
416 s += toFQNameString(vr, matrixInstance.interface(), instance); in expandInstances()
DMatrixHal.cpp106 forEachInstance(vr, [&](const MatrixInstance& matrixInstance) { in isCompatible() argument
112 return matrixInstance.isSatisfiedBy(providedInstance); in isCompatible()
/system/libvintf/test/
Dvintf_object_tests.cpp643 fcm->forEachHidlInstance([&found, &expectInstance](const auto& matrixInstance) { in TEST_F() argument
644 found |= matrixInstance.isSatisfiedBy(expectInstance); in TEST_F()
1605 fcm->forEachHidlInstance([&instances](const auto& matrixInstance) { in GetInstances() argument
1606 instances.insert(matrixInstance.description(matrixInstance.versionRange().minVer())); in GetInstances()