/system/libvintf/include/vintf/ |
D | VersionRange.h | 36 : majorVer(mjV), minMinor(miM), maxMinor(mxM) {} in VersionRange() 37 inline Version minVer() const { return Version(majorVer, minMinor); } in minVer() 38 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
|
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 | 164 void removeHals(const std::string& name, size_t majorVer);
|
/system/libvintf/ |
D | RuntimeInfo.cpp | 101 if (mBootAvbVersion.majorVer != matAvb.majorVer || in checkCompatibility() 111 if (mBootVbmetaAvbVersion.majorVer != matAvb.majorVer || in checkCompatibility()
|
D | ManifestHal.cpp | 29 if (existing.find(v.majorVer) != existing.end()) { in isValid() 32 existing.insert(v.majorVer); in isValid() 58 if (fqInstance.setTo(getName(), v.majorVer, v.minorVer, interface, instance)) { in forEachInstance() 138 if (it->version().majorVer == e.getMajorVersion() && it->interface() == e.getInterface() && in insertInstance()
|
D | HalManifest.cpp | 54 existingMajorVersions.insert(v.majorVer); in shouldAdd() 58 if (!existingMajorVersions.emplace(v.majorVer).second /* no insertion */) { in shouldAdd() 77 void HalManifest::removeHals(const std::string& name, size_t majorVer) { in removeHals() argument 78 removeIf(mHals, [&name, majorVer](auto& existingHalPair) { in removeHals() 84 removeIf(existingVersions, [majorVer](const auto& existingVersion) { in removeHals() 85 return existingVersion.majorVer == majorVer; in removeHals() 100 removeHals(halToAdd.name, versionToAdd.majorVer); in add() 352 .versionRanges = {VersionRange{e.version().majorVer, e.version().minorVer}}, in generateCompatibleMatrix() 362 {{device.mSepolicyVersion.majorVer, device.mSepolicyVersion.minorVer}}); in generateCompatibleMatrix() 410 xmlFileName + "_V" + std::to_string(version.majorVer) + "_" + in getXmlFilePath() [all …]
|
D | ManifestInstance.cpp | 91 bool success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getFqInstanceNoPackage()
|
D | parse_string.cpp | 233 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()
|
D | MatrixHal.cpp | 62 if (fqInstance.setTo(getName(), vr.majorVer, vr.minMinor, interface, instance)) { in forEachInstance()
|
D | main.cpp | 205 matrixInstance.package(), Version{matrixInstance.versionRange().majorVer, minorVer}, in insert()
|
D | VintfObject.cpp | 701 if (targetMatrixInstance.versionRange().majorVer == version.majorVer && in IsInstanceDeprecated()
|
D | parse_xml.cpp | 600 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal() 607 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal() 772 to_string(Version{v.majorVer, 0}) + "'?"; in checkAdditionalRestrictionsOnHal()
|
D | CompatibilityMatrix.cpp | 121 xmlFileName + "_V" + std::to_string(matrixXmlFile.versionRange().majorVer) + in getXmlSchemaPath()
|
D | AssembleVintf.cpp | 583 matrix->framework.mSepolicy.mSepolicyVersionRanges.emplace_back(v.majorVer, in assembleCompatibilityMatrix()
|
/system/tools/hidl/utils/ |
D | FqInstance.cpp | 98 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument 100 if (!mFqName.setTo(package, majorVer, minorVer, interface)) return false; in setTo() 105 bool FqInstance::setTo(size_t majorVer, size_t minorVer, const std::string& interface, in setTo() argument 107 return setTo("", majorVer, minorVer, interface, instance); in setTo()
|
D | FQName.cpp | 41 size_t majorVer, minorVer; in FQName() local 42 CHECK(parseVersion(version, &majorVer, &minorVer)); in FQName() 43 CHECK(setTo(package, majorVer, minorVer, name, valueName)) << string(); in FQName() 46 bool FQName::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument 49 mMajor = majorVer; in setTo() 194 void FQName::clearVersion(size_t* majorVer, size_t* minorVer) { in clearVersion() argument 195 *majorVer = *minorVer = 0; in clearVersion() 199 size_t* majorVer, size_t* minorVer) { in parseVersion() argument 200 bool versionParseSuccess = ::android::base::ParseUint(majorStr, majorVer) && in parseVersion() 208 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 | 40 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer, 244 size_t* majorVer, 247 size_t* majorVer, 249 static void clearVersion(size_t* majorVer, size_t* minorVer);
|
D | FqInstance.h | 78 __attribute__((warn_unused_result)) bool setTo(const std::string& package, size_t majorVer, 85 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer,
|
/system/libvintf/analyze_matrix/ |
D | analyze_matrix.cpp | 55 if (!fqInstance.setTo(matrixInstance.package(), matrixInstance.versionRange().majorVer, in getInterfaces() 58 << matrixInstance.versionRange().majorVer << "." << minorVer in getInterfaces()
|