Home
last modified time | relevance | path

Searched refs:mat (Results 1 – 5 of 5) sorted by relevance

/system/libvintf/analyze_matrix/
Danalyze_matrix.cpp49 std::optional<std::set<std::string>> getInterfaces(const CompatibilityMatrix& mat) { in getInterfaces() argument
51 mat.forEachInstance([&set](const auto& matrixInstance) { in getInterfaces()
83 auto mat = readObject(FLAGS_input, gCompatibilityMatrixConverter); in main() local
84 if (!mat) { in main()
91 if (mat->level() == Level::UNSPECIFIED) { in main()
94 std::cout << mat->level() << std::endl; in main()
100 auto pvs = getInterfaces(*mat); in main()
/system/libvintf/
DRuntimeInfo.cpp76 bool RuntimeInfo::checkCompatibility(const CompatibilityMatrix& mat, std::string* error, in checkCompatibility() argument
78 if (mat.mType != SchemaType::FRAMEWORK) { in checkCompatibility()
80 *error = "Should not check runtime info against " + to_string(mat.mType) in checkCompatibility()
85 if (kernelSepolicyVersion() < mat.framework.mSepolicy.kernelSepolicyVersion()) { in checkCompatibility()
89 " but required >= " + to_string(mat.framework.mSepolicy.kernelSepolicyVersion()); in checkCompatibility()
99 mKernel.getMatchedKernelRequirements(mat.framework.mKernels, kernelLevel(), error) in checkCompatibility()
106 const Version& matAvb = mat.framework.mAvbMetaVersion; in checkCompatibility()
DHalManifest.cpp235 std::vector<std::string> HalManifest::checkIncompatibleHals(const CompatibilityMatrix& mat) const { in checkIncompatibleHals()
237 for (const MatrixHal &matrixHal : mat.getHals()) { in checkIncompatibleHals()
272 const CompatibilityMatrix& mat, const std::vector<HidlInterfaceMetadata>& hidlMetadata) const { in checkUnusedHals() argument
282 forEachInstance([&ret, &mat, &childrenMap](const auto& manifestInstance) { in checkUnusedHals()
283 if (mat.matchInstance(manifestInstance.format(), manifestInstance.package(), in checkUnusedHals()
299 if (mat.matchInstance(manifestInstance.format(), fqName.package(), in checkUnusedHals()
372 bool HalManifest::checkCompatibility(const CompatibilityMatrix& mat, std::string* error, in checkCompatibility() argument
374 if (mType == mat.mType) { in checkCompatibility()
377 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility()
381 auto incompatibleHals = checkIncompatibleHals(mat); in checkCompatibility()
[all …]
/system/libvintf/include/vintf/
DHalManifest.h85 bool checkCompatibility(const CompatibilityMatrix& mat, std::string* error = nullptr,
176 std::vector<std::string> checkIncompatibleHals(const CompatibilityMatrix& mat) const;
186 const CompatibilityMatrix& mat,
DRuntimeInfo.h82 bool checkCompatibility(const CompatibilityMatrix& mat, std::string* error = nullptr,