/system/libvintf/include/vintf/ |
D | VersionRange.h | 36 : 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 59 return majorVer == ver.majorVer && minMinor <= ver.minorVer; in supportedBy() 67 return majorVer == other.majorVer && minMinor <= other.maxMinor && in overlaps() 71 size_t majorVer; member
|
D | Version.h | 31 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()
|
D | HalManifest.h | 190 void removeHals(const std::string& name, size_t majorVer);
|
/system/tools/hidl/utils/ |
D | FqInstance.cpp | 108 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()
|
D | FQName.cpp | 35 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() 256 void FQName::clearVersion(size_t* majorVer, size_t* minorVer) { in clearVersion() argument 257 *majorVer = *minorVer = 0; in clearVersion() 261 size_t* majorVer, size_t* minorVer) { in parseVersion() argument 262 bool versionParseSuccess = ::android::base::ParseUint(majorStr, majorVer) && in parseVersion() 270 bool FQName::parseVersion(const std::string& v, size_t* majorVer, size_t* minorVer) { in parseVersion() argument [all …]
|
/system/tools/hidl/utils/include/hidl-util/ |
D | FQName.h | 38 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer, 249 size_t* majorVer, 252 size_t* majorVer, 254 static void clearVersion(size_t* majorVer, size_t* minorVer);
|
D | FqInstance.h | 83 __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/ |
D | RuntimeInfo.cpp | 110 if (mBootAvbVersion.majorVer != matAvb.majorVer || in checkCompatibility() 120 if (mBootVbmetaAvbVersion.majorVer != matAvb.majorVer || in checkCompatibility()
|
D | ManifestHal.cpp | 39 auto&& [it, inserted] = existing.emplace(v.majorVer, v); in isValid() 95 if (fqInstance.setTo(getName(), v.majorVer, v.minorVer, interface, instance)) { in forEachInstance() 186 if (it->version().majorVer == e.getMajorVersion() && it->interface() == e.getInterface() && in insertInstance()
|
D | HalManifest.cpp | 72 existing.emplace(v.majorVer, std::make_tuple(&existingHal, v)); in addingConflictingMajorVersion() 77 auto&& [existingIt, inserted] = existing.emplace(v.majorVer, std::make_tuple(&hal, v)); in addingConflictingMajorVersion() 111 void HalManifest::removeHals(const std::string& name, size_t majorVer) { in removeHals() argument 112 removeIf(mHals, [&name, majorVer](auto& existingHalPair) { in removeHals() 118 removeIf(existingVersions, [majorVer](const auto& existingVersion) { in removeHals() 119 return existingVersion.majorVer == majorVer; in removeHals() 134 removeHals(halToAdd.name, versionToAdd.majorVer); in add() 466 .versionRanges = {VersionRange{e.version().majorVer, e.version().minorVer}}, in generateCompatibleMatrix() 477 {{device.mSepolicyVersion.majorVer, device.mSepolicyVersion.minorVer}}); in generateCompatibleMatrix() 525 xmlFileName + "_V" + std::to_string(version.majorVer) + "_" + in getXmlFilePath()
|
D | ManifestInstance.cpp | 119 success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getSimpleFqInstance() 158 CHECK(fqInstance.setTo(getFqInstance().getPackage(), v.majorVer, v.minorVer, in withVersion()
|
D | utils.cpp | 27 if (FqInstance::from(package, version.majorVer, version.minorVer, interface, instance) in canConvertToFqInstance()
|
D | parse_string.cpp | 236 return os << ver.majorVer << "." << ver.minorVer; in operator <<() 253 *vr = VersionRange(minVer.majorVer, minVer.minorVer); in parseVersionRange() 259 *vr = VersionRange(minVer.majorVer, minVer.minorVer, maxMinor); in parseVersionRange() 540 version->majorVer = details::kFakeAidlMajorVersion; in parseAidlVersion()
|
D | MatrixHal.cpp | 89 if (fqInstance.setTo(getName(), vr.majorVer, vr.minMinor, interface, instance)) { in forEachInstance()
|
D | main.cpp | 205 Version version{matrixInstance.versionRange().majorVer, minorVer}; in insert()
|
D | parse_xml.cpp | 627 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal() 634 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal() 830 if (!withFakeVersion.setTo(details::kDefaultAidlVersion.majorVer, in buildObject() 861 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal()
|
D | CompatibilityMatrix.cpp | 137 xmlFileName + "_V" + std::to_string(matrixXmlFile.versionRange().majorVer) + in getXmlSchemaPath()
|
D | VintfObject.cpp | 758 if (!fqInstance.setTo(package, version.majorVer, version.minorVer, interface, instance)) { in GetListedInstanceInheritance() 806 if (targetMatrixInstance.versionRange().majorVer == fqInstance.getMajorVersion() && in IsFqInstanceDeprecated()
|
D | AssembleVintf.cpp | 603 matrix->framework.mSepolicy.mSepolicyVersionRanges.emplace_back(v.majorVer, in assembleCompatibilityMatrix()
|
/system/libvintf/analyze_matrix/ |
D | analyze_matrix.cpp | 58 Version version{matrixInstance.versionRange().majorVer, minorVer}; in getDescription()
|