Home
last modified time | relevance | path

Searched refs:fqInstance (Results 1 – 12 of 12) sorted by relevance

/system/libvintf/
DManifestHal.cpp57 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 …]
DMatrixInstance.cpp36 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()
DManifestInstance.cpp39 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()
DHalManifest.cpp221 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()
DMatrixHal.cpp61 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()
Dparse_string.cpp518 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/
DMatrixInstance.h39 MatrixInstance(FqInstance&& fqInstance, VersionRange&& range, bool optional, bool isRegex);
40 MatrixInstance(const FqInstance fqInstance, const VersionRange& range, bool optional,
DManifestInstance.h40 ManifestInstance(FqInstance&& fqInstance, TransportArch&& ta, HalFormat fmt);
41 ManifestInstance(const FqInstance& fqInstance, const TransportArch& ta, HalFormat fmt);
DManifestHal.h96 bool insertInstance(const FqInstance& fqInstance, std::string* error = nullptr);
100 bool verifyInstance(const FqInstance& fqInstance, std::string* error = nullptr) const;
Dparse_string.h54 std::ostream& operator<<(std::ostream& os, const FqInstance& fqInstance);
87 bool parse(const std::string& s, FqInstance* fqInstance);
DHalManifest.h128 bool insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, HalFormat fmt,
/system/libvintf/analyze_matrix/
Danalyze_matrix.cpp54 FqInstance fqInstance; in getInterfaces() local
55 if (!fqInstance.setTo(matrixInstance.package(), matrixInstance.versionRange().majorVer, in getInterfaces()
64 set->insert(fqInstance.string()); in getInterfaces()