/system/libvintf/ |
D | ManifestHal.cpp | 57 FqInstance fqInstance; in forEachInstance() local 58 if (fqInstance.setTo(getName(), v.majorVer, v.minorVer, interface, instance)) { in forEachInstance() 59 if (!func(ManifestInstance(std::move(fqInstance), TransportArch{transportArch}, in forEachInstance() 99 bool ManifestHal::verifyInstance(const FqInstance& fqInstance, std::string* error) const { in verifyInstance() argument 100 if (fqInstance.hasPackage() && fqInstance.getPackage() != this->getName()) { in verifyInstance() 102 *error = "Should not add \"" + fqInstance.string() + "\" to a HAL with name " + in verifyInstance() 107 if (!fqInstance.hasVersion()) { in verifyInstance() 108 if (error) *error = "Should specify version: \"" + fqInstance.string() + "\""; in verifyInstance() 111 if (!fqInstance.hasInterface()) { in verifyInstance() 112 if (error) *error = "Should specify interface: \"" + fqInstance.string() + "\""; in verifyInstance() [all …]
|
D | MatrixInstance.cpp | 36 MatrixInstance::MatrixInstance(FqInstance&& fqInstance, VersionRange&& range, bool optional, in MatrixInstance() argument 38 : mFqInstance(std::move(fqInstance)), in MatrixInstance() 43 MatrixInstance::MatrixInstance(const FqInstance fqInstance, const VersionRange& range, in MatrixInstance() argument 45 : mFqInstance(fqInstance), mRange(range), mOptional(optional), mIsRegex(isRegex) {} in MatrixInstance()
|
D | ManifestInstance.cpp | 39 ManifestInstance::ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt) in ManifestInstance() argument 40 : mFqInstance(std::move(fqInstance)), mTransportArch(std::move(ta)), mHalFormat(fmt) {} in ManifestInstance() 41 ManifestInstance::ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, in ManifestInstance() argument 43 : mFqInstance(fqInstance), mTransportArch(ta), mHalFormat(fmt) {} in ManifestInstance()
|
D | HalManifest.cpp | 221 const auto& fqInstance = manifestInstance.getFqInstance(); in checkUnusedHals() local 222 if (!mat.matchInstance(fqInstance.getPackage(), fqInstance.getVersion(), in checkUnusedHals() 223 fqInstance.getInterface(), fqInstance.getInstance())) { in checkUnusedHals() 224 ret.insert(fqInstance.string()); in checkUnusedHals() 456 bool HalManifest::insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, in insertInstance() argument 459 if (hal.name == fqInstance.getPackage() && hal.format == format && in insertInstance() 461 return hal.insertInstance(fqInstance, error); in insertInstance() 466 hal.name = fqInstance.getPackage(); in insertInstance() 469 if (!hal.insertInstance(fqInstance, error)) return false; in insertInstance()
|
D | MatrixHal.cpp | 61 FqInstance fqInstance; in forEachInstance() local 62 if (fqInstance.setTo(getName(), vr.majorVer, vr.minMinor, interface, instance)) { in forEachInstance() 63 if (!func(MatrixInstance(std::move(fqInstance), VersionRange(vr), optional, in forEachInstance()
|
D | parse_string.cpp | 518 std::ostream& operator<<(std::ostream& os, const FqInstance& fqInstance) { in operator <<() argument 519 return os << fqInstance.string(); in operator <<() 522 bool parse(const std::string& s, FqInstance* fqInstance) { in parse() argument 523 return fqInstance->setTo(s); in parse()
|
/system/libvintf/include/vintf/ |
D | MatrixInstance.h | 39 MatrixInstance(FqInstance&& fqInstance, VersionRange&& range, bool optional, bool isRegex); 40 MatrixInstance(const FqInstance fqInstance, const VersionRange& range, bool optional,
|
D | ManifestInstance.h | 40 ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt); 41 ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, HalFormat fmt);
|
D | ManifestHal.h | 96 bool insertInstance(const FqInstance& fqInstance, std::string* error = nullptr); 100 bool verifyInstance(const FqInstance& fqInstance, std::string* error = nullptr) const;
|
D | parse_string.h | 54 std::ostream& operator<<(std::ostream& os, const FqInstance& fqInstance); 87 bool parse(const std::string& s, FqInstance* fqInstance);
|
D | HalManifest.h | 128 bool insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, HalFormat fmt,
|
/system/libvintf/analyze_matrix/ |
D | analyze_matrix.cpp | 54 FqInstance fqInstance; in getInterfaces() local 55 if (!fqInstance.setTo(matrixInstance.package(), matrixInstance.versionRange().majorVer, in getInterfaces() 64 set->insert(fqInstance.string()); in getInterfaces()
|