Lines Matching refs:mat
235 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()
385 if (mat.level() != Level::UNSPECIFIED) in checkCompatibility()
386 *error += " Matrix level = " + to_string(mat.level()) + "."; in checkCompatibility()
397 if (!checkVendorNdkCompatibility(mat.device.mVendorNdk, framework.mVendorNdks, error)) { in checkCompatibility()
401 if (!checkSystemSdkCompatibility(mat.device.mSystemSdk, framework.mSystemSdk, error)) { in checkCompatibility()
406 for (const auto &range : mat.framework.mSepolicy.sepolicyVersions()) { in checkCompatibility()
422 ->getMatchedKernelRequirements(mat.framework.mKernels, kernel()->level(), error) in checkCompatibility()