Home
last modified time | relevance | path

Searched refs:versionRanges (Results 1 – 7 of 7) sorted by relevance

/system/libvintf/
DMatrixHal.cpp31 if (versionRanges != other.versionRanges) in operator ==()
40 for (VersionRange vRange : versionRanges) { in containsVersion()
47 for (const auto& vr : versionRanges) { in forEachInstance()
83 return func(this->versionRanges, interface, instance, isRegex); in forEachInstance()
95 return std::any_of(versionRanges.begin(), versionRanges.end(), [&](const VersionRange& vr) { in isCompatible()
135 auto existingVr = std::find_if(this->versionRanges.begin(), this->versionRanges.end(), in insertVersionRanges()
138 if (existingVr == this->versionRanges.end()) { in insertVersionRanges()
139 this->versionRanges.push_back(otherVr); in insertVersionRanges()
Dparse_string.cpp384 if (!parse(v[2], &req->versionRanges)) { in parse()
397 << req.versionRanges << "/" in operator <<()
437 return {expandInstances(req, req.versionRanges.front(), false /* brace */)}; in expandInstances()
440 for (const auto& vr : req.versionRanges) { in expandInstances()
Dparse_xml.cpp553 appendChildren(root, versionRangeConverter, hal.versionRanges, d); in mutateNode()
563 !parseChildren(root, versionRangeConverter, &object->versionRanges, error) || in buildObject()
568 if (!object->versionRanges.empty()) { in buildObject()
571 object->versionRanges.clear(); in buildObject()
575 object->versionRanges.push_back(details::kFakeAidlVersionRange); in buildObject()
600 if (hal.versionRanges.size() != 1) { in checkAdditionalRestrictionsOnHal()
606 const VersionRange& v = hal.versionRanges.at(0); in checkAdditionalRestrictionsOnHal()
DCompatibilityMatrix.cpp207 halToAdd.forEachInstance([&](const std::vector<VersionRange>& versionRanges, in addAllHalsAsOptional()
219 splitInstance->insertVersionRanges(versionRanges); in addAllHalsAsOptional()
DHalManifest.cpp442 .versionRanges = {VersionRange{e.version().majorVer, e.version().minorVer}}, in generateCompatibleMatrix()
/system/libvintf/include/vintf/
DMatrixHal.h43 std::vector<VersionRange> versionRanges; member
/system/libvintf/test/
DLibVintfTest.cpp1278 camera->versionRanges[0] = {3, 5}; in TEST_F()
1280 camera->versionRanges[0] = {3, 6}; in TEST_F()