Home
last modified time | relevance | path

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

/system/libvintf/
DMatrixKernel.cpp22 bool MatrixKernel::operator==(const MatrixKernel &other) const { in operator ==()
30 void MatrixKernel::setSourceMatrixLevel(Level level) { in setSourceMatrixLevel()
34 Level MatrixKernel::getSourceMatrixLevel() const { in getSourceMatrixLevel()
DKernelInfo.cpp72 std::vector<const MatrixKernel*> KernelInfo::getMatchedKernelRequirements( in getMatchedKernelRequirements()
73 const std::vector<MatrixKernel>& kernels, Level kernelLevel, std::string* error) const { in getMatchedKernelRequirements()
74 std::map<Level, std::vector<const MatrixKernel*>> kernelsForLevel; in getMatchedKernelRequirements()
75 for (const MatrixKernel& matrixKernel : kernels) { in getMatchedKernelRequirements()
115 for (const MatrixKernel& matrixKernel : kernels) { in getMatchedKernelRequirements()
200 std::vector<const MatrixKernel*> KernelInfo::getMatchedKernelVersionAndConfigs( in getMatchedKernelVersionAndConfigs()
201 const std::vector<const MatrixKernel*>& kernels, std::string* error) const { in getMatchedKernelVersionAndConfigs()
202 std::vector<const MatrixKernel*> result; in getMatchedKernelVersionAndConfigs()
204 for (const MatrixKernel* matrixKernel : kernels) { in getMatchedKernelVersionAndConfigs()
223 for (const MatrixKernel* matrixKernel : kernels) { in getMatchedKernelVersionAndConfigs()
DCompatibilityMatrix.cpp48 bool CompatibilityMatrix::addKernel(MatrixKernel&& kernel, std::string* error) { in addKernel()
105 framework.mKernels.push_back(MatrixKernel(KernelVersion{kernel.minLts()}, {})); in addKernel()
272 for (MatrixKernel& kernel : other->framework.mKernels) { in addAllKernels()
468 Level CompatibilityMatrix::getSourceMatrixLevel(const MatrixKernel* matrixKernel) const { in getSourceMatrixLevel()
DAndroid.bp50 "MatrixKernel.cpp",
Dparse_xml.cpp643 struct MatrixKernelConverter : public XmlNodeConverter<MatrixKernel> {
645 void mutateNode(const MatrixKernel& kernel, NodeType* root, DocType* d) const override { in mutateNode()
648 void mutateNode(const MatrixKernel& kernel, NodeType* root, DocType* d, in mutateNode()
667 bool buildObject(MatrixKernel* object, NodeType* root, std::string* error) const override { in buildObject()
DAssembleVintf.cpp464 MatrixKernel kernel(KernelVersion{pair.first}, std::move(conditionedConfig.second)); in assembleFrameworkCompatibilityMatrixKernels()
/system/libvintf/include/vintf/
DMatrixKernel.h41 struct MatrixKernel { struct
43 MatrixKernel() {} in MatrixKernel() function
44 MatrixKernel(KernelVersion &&minLts, std::vector<KernelConfig> &&configs) in MatrixKernel() function
47 bool operator==(const MatrixKernel &other) const;
DKernelInfo.h51 std::vector<const MatrixKernel*> getMatchedKernelRequirements(
52 const std::vector<MatrixKernel>& kernels, Level kernelLevel,
68 std::vector<const MatrixKernel*> getMatchedKernelVersionAndConfigs(
69 const std::vector<const MatrixKernel*>& kernels, std::string* error) const;
DCompatibilityMatrix.h84 bool addKernel(MatrixKernel&& kernel, std::string* error);
144 Level getSourceMatrixLevel(const MatrixKernel* matrixKernel) const;
162 std::vector<MatrixKernel> mKernels;
/system/libvintf/test/
DLibVintfTest.cpp64 bool add(CompatibilityMatrix &cm, MatrixKernel &&kernel) { in add()
119 std::vector<MatrixKernel>& getKernels(CompatibilityMatrix& cm) { return cm.framework.mKernels; } in getKernels()
600 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(3, 18, 22), in TEST_F()
602 EXPECT_TRUE(add(cm, MatrixKernel{KernelVersion(4, 4, 1), in TEST_F()
814 auto testMatrix = [&] (MatrixKernel &&kernel) { in TEST_F()
825 MatrixKernel kernel(KernelVersion{4, 4, 1}, KernelConfigs(configs)); in TEST_F()
831 MatrixKernel kernel(KernelVersion{3, 18, 60}, KernelConfigs(configs)); in TEST_F()
837 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
843 MatrixKernel kernel(KernelVersion{3, 18, 22}, KernelConfigs(configs)); in TEST_F()
856 MatrixKernel kernel(KernelVersion{3, 18, 22}, std::move(newConfigs)); in TEST_F()
[all …]