Home
last modified time | relevance | path

Searched refs:minorVer (Results 1 – 22 of 22) sorted by relevance

/system/libvintf/include/vintf/
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()
36 size_t minorVer; member
39 return majorVer == other.majorVer && minorVer == other.minorVer;
49 return minorVer < other.minorVer;
65 return majorVer == other.majorVer && minorVer >= other.minorVer; in minorAtLeast()
DFQName.h34 size_t minorVer, const std::string& name = "");
113 size_t* minorVer);
116 size_t* minorVer);
117 static void clearVersion(size_t* majorVer, size_t* minorVer);
DFqInstance.h67 size_t minorVer, const std::string& interface,
71 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer,
DVersionRange.h59 return majorVer == ver.majorVer && minMinor <= ver.minorVer; in supportedBy()
/system/libvintf/
DFQName.cpp34 size_t majorVer, minorVer; in FQName() local
35 CHECK(parseVersion(version, &majorVer, &minorVer)); in FQName()
36 CHECK(setTo(package, majorVer, minorVer, name)) << string(); in FQName()
39 bool FQName::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument
43 mMinor = minorVer; in setTo()
204 void FQName::clearVersion(size_t* majorVer, size_t* minorVer) { in clearVersion() argument
205 *majorVer = *minorVer = 0; in clearVersion()
209 size_t* majorVer, size_t* minorVer) { in parseVersion() argument
211 ::android::base::ParseUint(minorStr, minorVer); in parseVersion()
218 bool FQName::parseVersion(const std::string& v, size_t* majorVer, size_t* minorVer) { in parseVersion() argument
[all …]
DManifestHal.cpp149 size_t minorVer = e.getMinorVersion(); in insertInstance() local
155 *error = "Duplicated HAL version: " + to_string(it->version().minorVer) + in insertInstance()
163 minorVer = std::max(minorVer, it->version().minorVer); in insertInstance()
171 if (!toAdd.setTo(this->getName(), e.getMajorVersion(), minorVer, e.getInterface(), in insertInstance()
175 to_string(Version(e.getMajorVersion(), minorVer)) + "', interface='" + in insertInstance()
DFqInstance.cpp105 bool FqInstance::setTo(const std::string& package, size_t majorVer, size_t minorVer, in setTo() argument
107 if (!mFqName.setTo(package, majorVer, minorVer, interface)) return false; in setTo()
112 bool FqInstance::setTo(size_t majorVer, size_t minorVer, const std::string& interface, in setTo() argument
114 return setTo("", majorVer, minorVer, interface, instance); in setTo()
DRuntimeInfo.cpp112 mBootAvbVersion.minorVer < matAvb.minorVer) { in checkCompatibility()
122 mBootVbmetaAvbVersion.minorVer < matAvb.minorVer) { in checkCompatibility()
Dutils.cpp31 ss << toAidlFqnameString(package, interface, instance) << " (@" << version.minorVer << ")"; in convertLegacyInstanceIntoFqInstance()
74 parsed = FqInstance::from(version.majorVer, version.minorVer, interface, instance); in convertLegacyInstanceIntoFqInstance()
Dmain.cpp201 for (auto minorVer = matrixInstance.versionRange().minMinor; in insert() local
202 minorVer >= matrixInstance.versionRange().minMinor && in insert()
203 minorVer <= matrixInstance.versionRange().maxMinor; in insert()
204 ++minorVer) { in insert()
205 Version version{matrixInstance.versionRange().majorVer, minorVer}; in insert()
212 if (minorVer == matrixInstance.versionRange().minMinor) { in insert()
DManifestInstance.cpp127 success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getSimpleFqInstance()
166 CHECK(fqInstance.setTo(getFqInstance().getPackage(), v.majorVer, v.minorVer, in withVersion()
Dparse_string.cpp237 return os << ver.majorVer << "." << ver.minorVer; in operator <<()
254 *vr = VersionRange(minVer.majorVer, minVer.minorVer); in parseVersionRange()
260 *vr = VersionRange(minVer.majorVer, minVer.minorVer, maxMinor); in parseVersionRange()
494 return to_string(v.minorVer); in aidlVersionToString()
498 return android::base::ParseUint(s, &version->minorVer); in parseAidlVersion()
DHalManifest.cpp595 .versionRanges = {VersionRange{e.version().majorVer, e.version().minorVer}}, in generateCompatibleMatrix()
606 {{device.mSepolicyVersion.majorVer, device.mSepolicyVersion.minorVer}}); in generateCompatibleMatrix()
651 std::to_string(version.minorVer) + ".xml"; in getXmlFilePath()
DVintfObject.cpp842 if (!fqInstance.setTo(package, version.majorVer, version.minorVer, interface, instance)) { in GetListedInstanceInheritance()
1239 v <= matrixInstance.versionRange().maxVer(); ++v.minorVer) { in checkMissingHalsInMatrices()
1310 v <= matrixInstance.versionRange().maxVer(); ++v.minorVer) { in checkMatrixHalsHasDefinition()
DAssembleVintf.cpp628 v.minorVer); in assembleCompatibilityMatrix()
Dparse_xml.cpp1025 details::kDefaultAidlVersion.minorVer, e.getInterface(), in buildObject()
1063 if (v.minorVer != 0) { in checkAdditionalRestrictionsOnHal()
/system/libvintf/analyze_matrix/
Danalyze_matrix.cpp53 for (auto minorVer = matrixInstance.versionRange().minMinor; in getDescription() local
54 minorVer >= matrixInstance.versionRange().minMinor && in getDescription()
55 minorVer <= matrixInstance.versionRange().maxMinor; in getDescription()
56 ++minorVer) { in getDescription()
57 Version version{matrixInstance.versionRange().majorVer, minorVer}; in getDescription()
/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
44 mMinor = minorVer; 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
263 ::android::base::ParseUint(minorStr, minorVer); 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/
DFQName.h39 size_t minorVer, const std::string& name = "",
240 size_t* minorVer);
243 size_t* minorVer);
244 static void clearVersion(size_t* majorVer, size_t* minorVer);
DFqInstance.h84 size_t minorVer,
90 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer,
/system/libvintf/test/
Dvintf_object_tests.cpp2554 os << "v" << v.majorVer << "_" << v.minorVer; in operator <<()
2708 os << "v" << v.majorVer << "_" << v.minorVer; in operator <<()