/system/libvintf/include/vintf/ |
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() 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()
|
D | FQName.h | 34 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);
|
D | FqInstance.h | 67 size_t minorVer, const std::string& interface, 71 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer,
|
D | VersionRange.h | 59 return majorVer == ver.majorVer && minMinor <= ver.minorVer; in supportedBy()
|
/system/libvintf/ |
D | FQName.cpp | 34 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 …]
|
D | ManifestHal.cpp | 149 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()
|
D | FqInstance.cpp | 105 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()
|
D | RuntimeInfo.cpp | 112 mBootAvbVersion.minorVer < matAvb.minorVer) { in checkCompatibility() 122 mBootVbmetaAvbVersion.minorVer < matAvb.minorVer) { in checkCompatibility()
|
D | utils.cpp | 31 ss << toAidlFqnameString(package, interface, instance) << " (@" << version.minorVer << ")"; in convertLegacyInstanceIntoFqInstance() 74 parsed = FqInstance::from(version.majorVer, version.minorVer, interface, instance); in convertLegacyInstanceIntoFqInstance()
|
D | main.cpp | 201 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()
|
D | ManifestInstance.cpp | 127 success = e.setTo(version().majorVer, version().minorVer, interface(), instance()); in getSimpleFqInstance() 166 CHECK(fqInstance.setTo(getFqInstance().getPackage(), v.majorVer, v.minorVer, in withVersion()
|
D | parse_string.cpp | 237 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()
|
D | HalManifest.cpp | 595 .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()
|
D | VintfObject.cpp | 842 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()
|
D | AssembleVintf.cpp | 628 v.minorVer); in assembleCompatibilityMatrix()
|
D | parse_xml.cpp | 1025 details::kDefaultAidlVersion.minorVer, e.getInterface(), in buildObject() 1063 if (v.minorVer != 0) { in checkAdditionalRestrictionsOnHal()
|
/system/libvintf/analyze_matrix/ |
D | analyze_matrix.cpp | 53 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/ |
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 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/ |
D | FQName.h | 39 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);
|
D | FqInstance.h | 84 size_t minorVer, 90 __attribute__((warn_unused_result)) bool setTo(size_t majorVer, size_t minorVer,
|
/system/libvintf/test/ |
D | vintf_object_tests.cpp | 2554 os << "v" << v.majorVer << "_" << v.minorVer; in operator <<() 2708 os << "v" << v.majorVer << "_" << v.minorVer; in operator <<()
|