Home
last modified time | relevance | path

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

/system/libvintf/
DKernelInfo.cpp58 bool KernelInfo::matchKernelVersion(const KernelVersion& minLts) const { in matchKernelVersion()
59 return minLts.version == mVersion.version && minLts.majorRev == mVersion.majorRev && in matchKernelVersion()
60 minLts.minorRev <= mVersion.minorRev; in matchKernelVersion()
68 if (!matchKernelVersion(matrixKernel.minLts())) { in matchKernelRequirements()
86 for (const MatrixKernel& matrixKernel : kernels) ss << " " << matrixKernel.minLts(); in matchKernelRequirements()
DCompatibilityMatrix.cpp43 if (it->minLts() == kernel.minLts()) { in addKernel()
46 if (it->minLts().version == kernel.minLts().version && in addKernel()
47 it->minLts().majorRev == kernel.minLts().majorRev) { in addKernel()
49 *error = "Kernel version mismatch; cannot add " + to_string(kernel.minLts()) + in addKernel()
50 " because " + to_string(it->minLts()) + " was added."; in addKernel()
72 to_string(kernel.minLts()) + " for unknown reason."; in addKernel()
82 framework.mKernels.push_back(MatrixKernel(KernelVersion{kernel.minLts()}, {})); in addKernel()
258 KernelVersion ver = kernel.minLts(); in addAllKernels()
278 return kernelToAdd.minLts().version == existing.minLts().version && in addAllKernelsAsOptional()
279 kernelToAdd.minLts().majorRev == existing.minLts().majorRev; in addAllKernelsAsOptional()
[all …]
Dparse_xml.cpp1176 Version minLts(kernel.minLts().version, kernel.minLts().majorRev); in buildObject() local
1177 if (seenKernelVersions.find(minLts) != seenKernelVersions.end()) { in buildObject()
1181 *error = "First <kernel> for version " + to_string(minLts) + in buildObject()
1185 seenKernelVersions.insert(minLts); in buildObject()
/system/libvintf/include/vintf/
DMatrixKernel.h43 MatrixKernel(KernelVersion &&minLts, std::vector<KernelConfig> &&configs) in MatrixKernel()
44 : mMinLts(std::move(minLts)), mConfigs(std::move(configs)) {} in MatrixKernel()
48 inline const KernelVersion &minLts() const { return mMinLts; } in minLts() function
DKernelInfo.h43 bool matchKernelVersion(const KernelVersion& minLts) const;