Lines Matching full:kernel
84 // Check matrix kernel level in getMatchedKernelRequirements()
86 // Use legacy behavior when kernel FCM version is not specified. Blindly add all of them in getMatchedKernelRequirements()
104 // matrix level >= kernel level in getMatchedKernelRequirements()
111 ss << "No kernel entry found for kernel version " << mVersion.dropMinor() in getMatchedKernelRequirements()
112 << " at kernel FCM version " in getMatchedKernelRequirements()
114 << ". The following kernel requirements are checked:"; in getMatchedKernelRequirements()
117 << ", kernel FCM version: " << matrixKernel.getSourceMatrixLevel() in getMatchedKernelRequirements()
125 // At this point, kernelsForLevel contains kernel requirements for each level. in getMatchedKernelRequirements()
126 // For example, if the running kernel version is 4.14.y then kernelsForLevel contains in getMatchedKernelRequirements()
128 // (This excludes kernels < kernel FCM version, or device FCM version if kernel FCM version is in getMatchedKernelRequirements()
129 // empty. For example, if device level = Q and kernel level is unspecified, this list only in getMatchedKernelRequirements()
132 // Use legacy behavior when kernel FCM version is not specified. e.g. target FCM version 3 (P) in getMatchedKernelRequirements()
133 // matches kernel 4.4-p, 4.9-p, 4.14-p, 4.19-q, etc., but not 4.9-q or 4.14-q. in getMatchedKernelRequirements()
134 // Since we already filtered |kernels| based on kernel version, we only need to check the first in getMatchedKernelRequirements()
137 // state kernel FCM version explicitly in the device manifest. The value is automatically in getMatchedKernelRequirements()
147 *error = "Kernel FCM version is not specified, but kernel version " + in getMatchedKernelRequirements()
149 " is found. Fix by specifying kernel FCM version in device manifest. " in getMatchedKernelRequirements()
150 "For example, for a *-r kernel:\n" + in getMatchedKernelRequirements()
163 // Use new behavior when kernel FCM version is specified. e.g. kernel FCM version 3 (P) in getMatchedKernelRequirements()
164 // matches kernel 4.4-p, 4.9-p, 4.14-p, 4.9-q, 4.14-q, 4.14-r etc., but not 5.4-r. in getMatchedKernelRequirements()
165 // Note we already filtered |kernels| based on kernel version. in getMatchedKernelRequirements()
169 *error = "Kernel FCM Version is " + to_string(kernelLevel) + " and kernel version is " + in getMatchedKernelRequirements()
171 ", but the first kernel FCM version allowed for kernel version " + in getMatchedKernelRequirements()
185 *error += "For kernel requirements at matrix level " + in getMatchedKernelRequirements()
194 error->insert(0, "No compatible kernel requirement found (kernel FCM version = " + in getMatchedKernelRequirements()
221 ss << "Framework is incompatible with kernel version " << version() in getMatchedKernelVersionAndConfigs()
222 << ", compatible kernel versions are:"; in getMatchedKernelVersionAndConfigs()
225 << ", kernel FCM version: " << matrixKernel->getSourceMatrixLevel() in getMatchedKernelVersionAndConfigs()
234 // This should not happen because first <conditions> for each <kernel> must be in getMatchedKernelVersionAndConfigs()
237 error->insert(0, "Framework matches kernel version with unmet conditions."); in getMatchedKernelVersionAndConfigs()
254 *error = "Conflicting kernel version: " + to_string(version()) + " vs. " + in merge()
263 *error = "Found <kernel><config> items in two manifests."; in merge()
270 *error = "Conflicting kernel level: " + to_string(level()) + " vs. " + in merge()