Home
last modified time | relevance | path

Searched refs:majorVer (Results 1 – 19 of 19) sorted by relevance

/system/libvintf/include/vintf/
DVersionRange.h36 : majorVer(mjV), minMinor(miM), maxMinor(mxM) {} in VersionRange()
37 constexpr inline Version minVer() const { return Version(majorVer, minMinor); } in minVer()
38 constexpr inline Version maxVer() const { return Version(majorVer, maxMinor); } in maxVer()
42 return majorVer == other.majorVer
57 return majorVer == ver.majorVer && minMinor <= ver.minorVer; in supportedBy()
65 return majorVer == other.majorVer && minMinor <= other.maxMinor && in overlaps()
69 size_t majorVer; member
DVersion.h31 constexpr Version(size_t mj, size_t mi) : majorVer(mj), minorVer(mi) {} in Version()
33 : majorVer(pair.first), minorVer(pair.second) {} in Version()
35 size_t majorVer; member
39 return majorVer == other.majorVer && minorVer == other.minorVer;
45 if (majorVer < other.majorVer)
47 if (majorVer > other.majorVer)
65 return majorVer == other.majorVer && minorVer >= other.minorVer; in minorAtLeast()
DHalManifest.h178 void removeHals(const std::string& name, size_t majorVer);
/system/libvintf/
DRuntimeInfo.cpp107 if (mBootAvbVersion.majorVer != matAvb.majorVer || in checkCompatibility()
117 if (mBootVbmetaAvbVersion.majorVer != matAvb.majorVer || in checkCompatibility()
DManifestHal.cpp35 auto&& [it, inserted] = existing.emplace(v.majorVer, v); in isValid()
74 if (fqInstance.setTo(getName(), v.majorVer, v.minorVer, interface, instance)) { in forEachInstance()
154 if (it->version().majorVer == e.getMajorVersion() && it->interface() == e.getInterface() && in insertInstance()
DHalManifest.cpp63 existing.emplace(v.majorVer, std::make_tuple(&existingHal, v)); in shouldAdd()
68 auto&& [existingIt, inserted] = existing.emplace(v.majorVer, std::make_tuple(&hal, v)); in shouldAdd()
102 void HalManifest::removeHals(const std::string& name, size_t majorVer) { in removeHals() argument
103 removeIf(mHals, [&name, majorVer](auto& existingHalPair) { in removeHals()
109 removeIf(existingVersions, [majorVer](const auto& existingVersion) { in removeHals()
110 return existingVersion.majorVer == majorVer; in removeHals()
125 removeHals(halToAdd.name, versionToAdd.majorVer); in add()
442 .versionRanges = {VersionRange{e.version().majorVer, e.version().minorVer}}, in generateCompatibleMatrix()
453 {{device.mSepolicyVersion.majorVer, device.mSepolicyVersion.minorVer}}); in generateCompatibleMatrix()
501 xmlFileName + "_V" + std::to_string(version.majorVer) + "_" + in getXmlFilePath()
DManifestInstance.cpp102 success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getSimpleFqInstance()
Dparse_string.cpp233 return os << ver.majorVer << "." << ver.minorVer; in operator <<()
246 *vr = VersionRange(minVer.majorVer, minVer.minorVer); in parse()
252 *vr = VersionRange(minVer.majorVer, minVer.minorVer, maxMinor); in parse()
DMatrixHal.cpp62 if (fqInstance.setTo(getName(), vr.majorVer, vr.minMinor, interface, instance)) { in forEachInstance()
Dmain.cpp205 Version version{matrixInstance.versionRange().majorVer, minorVer}; in insert()
Dparse_xml.cpp611 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal()
618 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal()
797 if (!withFakeVersion.setTo(details::kFakeAidlVersion.majorVer, in buildObject()
823 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal()
DVintfObject.cpp737 if (!fqInstance.setTo(package, version.majorVer, version.minorVer, interface, instance)) { in GetListedInstanceInheritance()
785 if (targetMatrixInstance.versionRange().majorVer == fqInstance.getMajorVersion() && in IsFqInstanceDeprecated()
DCompatibilityMatrix.cpp138 xmlFileName + "_V" + std::to_string(matrixXmlFile.versionRange().majorVer) + in getXmlSchemaPath()
DAssembleVintf.cpp620 matrix->framework.mSepolicy.mSepolicyVersionRanges.emplace_back(v.majorVer, in assembleCompatibilityMatrix()
/system/tools/hidl/utils/
DFqInstance.cpp108 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument
110 if (!mFqName.setTo(package, majorVer, minorVer, interface)) return false; in setTo()
115 bool FqInstance::setTo(size_t majorVer, size_t minorVer, const std::string& interface, in setTo() argument
117 return setTo("", majorVer, minorVer, interface, instance); in setTo()
DFQName.cpp35 size_t majorVer, minorVer; in FQName() local
36 CHECK(parseVersion(version, &majorVer, &minorVer)); in FQName()
37 CHECK(setTo(package, majorVer, minorVer, name, valueName)) << string(); in FQName()
40 bool FQName::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument
43 mMajor = majorVer; in setTo()
264 void FQName::clearVersion(size_t* majorVer, size_t* minorVer) { in clearVersion() argument
265 *majorVer = *minorVer = 0; in clearVersion()
269 size_t* majorVer, size_t* minorVer) { in parseVersion() argument
270 bool versionParseSuccess = ::android::base::ParseUint(majorStr, majorVer) && in parseVersion()
278 bool FQName::parseVersion(const std::string& v, size_t* majorVer, size_t* minorVer) { in parseVersion() argument
[all …]
/system/tools/hidl/utils/include/hidl-util/
DFQName.h40 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
251 size_t* majorVer,
254 size_t* majorVer,
256 static void clearVersion(size_t* majorVer, size_t* minorVer);
DFqInstance.h83 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer,
90 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer,
/system/libvintf/analyze_matrix/
Danalyze_matrix.cpp56 Version version{matrixInstance.versionRange().majorVer, minorVer}; in getInterfaces()