Lines Matching refs:mat
181 std::vector<std::string> HalManifest::checkIncompatibleHals(const CompatibilityMatrix& mat) const { in checkIncompatibleHals()
183 for (const MatrixHal &matrixHal : mat.getHals()) { in checkIncompatibleHals()
217 std::set<std::string> HalManifest::checkUnusedHals(const CompatibilityMatrix& mat) const { in checkUnusedHals()
220 forEachInstance([&ret, &mat](const auto& manifestInstance) { in checkUnusedHals()
222 if (!mat.matchInstance(fqInstance.getPackage(), fqInstance.getVersion(), in checkUnusedHals()
289 bool HalManifest::checkCompatibility(const CompatibilityMatrix &mat, std::string *error) const { in checkCompatibility() argument
290 if (mType == mat.mType) { in checkCompatibility()
293 + to_string(mat.mType) + " compatibility matrix"; in checkCompatibility()
297 auto incompatibleHals = checkIncompatibleHals(mat); in checkCompatibility()
301 if (mat.level() != Level::UNSPECIFIED) in checkCompatibility()
302 *error += " Matrix level = " + to_string(mat.level()) + "."; in checkCompatibility()
313 if (!checkVendorNdkCompatibility(mat.device.mVendorNdk, framework.mVendorNdks, error)) { in checkCompatibility()
317 if (!checkSystemSdkCompatibility(mat.device.mSystemSdk, framework.mSystemSdk, error)) { in checkCompatibility()
322 for (const auto &range : mat.framework.mSepolicy.sepolicyVersions()) { in checkCompatibility()
336 if (!!kernel() && !kernel()->matchKernelRequirements(mat.framework.mKernels, error)) { in checkCompatibility()