Home
last modified time | relevance | path

Searched refs:MatrixKernel (Results 1 – 10 of 10) sorted by relevance

/system/libvintf/include/vintf/
DMatrixKernel.h40 struct MatrixKernel { struct
42 MatrixKernel() {} in MatrixKernel() argument
43 MatrixKernel(KernelVersion &&minLts, std::vector<KernelConfig> &&configs) in MatrixKernel() function
46 bool operator==(const MatrixKernel &other) const;
DCompatibilityMatrix.h78 bool addKernel(MatrixKernel&& kernel, std::string* error);
153 std::vector<MatrixKernel> mKernels;
DKernelInfo.h48 bool matchKernelRequirements(const std::vector<MatrixKernel>& kernels,
/system/libvintf/
DMatrixKernel.cpp22 bool MatrixKernel::operator==(const MatrixKernel &other) const { in operator ==()
DKernelInfo.cpp63 bool KernelInfo::matchKernelRequirements(const std::vector<MatrixKernel>& kernels, in matchKernelRequirements()
67 for (const MatrixKernel& matrixKernel : kernels) { in matchKernelRequirements()
86 for (const MatrixKernel& matrixKernel : kernels) ss << " " << matrixKernel.minLts(); in matchKernelRequirements()
DCompatibilityMatrix.cpp33 bool CompatibilityMatrix::addKernel(MatrixKernel&& kernel, std::string* error) { in addKernel()
82 framework.mKernels.push_back(MatrixKernel(KernelVersion{kernel.minLts()}, {})); in addKernel()
257 for (MatrixKernel& kernel : other->framework.mKernels) { in addAllKernels()
274 for (MatrixKernel& kernelToAdd : other->framework.mKernels) { in addAllKernelsAsOptional()
277 [&kernelToAdd](const MatrixKernel& existing) { in addAllKernelsAsOptional()
DAndroid.bp54 "MatrixKernel.cpp",
Dparse_xml.cpp632 struct MatrixKernelConverter : public XmlNodeConverter<MatrixKernel> {
634 void mutateNode(const MatrixKernel& kernel, NodeType* root, DocType* d) const override { in mutateNode()
637 void mutateNode(const MatrixKernel& kernel, NodeType* root, DocType* d, in mutateNode()
652 bool buildObject(MatrixKernel* object, NodeType* root, std::string* error) const override { in buildObject()
DAssembleVintf.cpp433 MatrixKernel kernel(KernelVersion{pair.first}, std::move(conditionedConfig.second)); in assembleFrameworkCompatibilityMatrixKernels()
/system/libvintf/test/
DLibVintfTest.cpp62 bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { in add()
117 std::vector<MatrixKernel>& getKernels(CompatibilityMatrix& cm) { return cm.framework.mKernels; } in getKernels()
596 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(3, 18, 22), in TEST_F()
598 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(4, 4, 1), in TEST_F()
810 auto testMatrix = [&] (MatrixKernel &&kernel) { in TEST_F()
821 MatrixKernel kernel(KernelVersion{4, 4, 1}, KernelConfigs(configs)); in TEST_F()
827 MatrixKernel kernel(KernelVersion{3, 18, 60}, KernelConfigs(configs)); in TEST_F()
833 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
839 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
852 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
[all …]