Home
last modified time | relevance | path

Searched refs:KernelConfig (Results 1 – 6 of 6) sorted by relevance

/system/libvintf/include/vintf/
DMatrixKernel.h37 using KernelConfig = std::pair<KernelConfigKey, KernelConfigTypedValue>; variable
44 MatrixKernel(KernelVersion &&minLts, std::vector<KernelConfig> &&configs) in MatrixKernel()
53 const std::vector<KernelConfig> &configs() const { return mConfigs; } in configs()
57 const std::vector<KernelConfig>& conditions() const { return mConditions; } in conditions()
70 std::vector<KernelConfig> mConfigs;
71 std::vector<KernelConfig> mConditions;
DKernelInfo.h46 bool matchKernelConfigs(const std::vector<KernelConfig>& matrixConfigs,
/system/libvintf/
DKernelInfo.cpp40 bool KernelInfo::matchKernelConfigs(const std::vector<KernelConfig>& matrixConfigs, in matchKernelConfigs()
42 for (const KernelConfig& matrixConfig : matrixConfigs) { in matchKernelConfigs()
DAssembleVintf.cpp66 using Condition = std::unique_ptr<KernelConfig>;
67 using ConditionedConfig = std::pair<Condition, std::vector<KernelConfig> /* configs */>;
217 return std::make_unique<KernelConfig>(std::move(sub), Tristate::YES); in generateCondition()
221 std::vector<KernelConfig>* out) { in parseFileForKernelConfigs()
231 KernelConfig& config = out->back(); in parseFileForKernelConfigs()
267 std::vector<KernelConfig> kernelConfigs; in parseFilesForKernelConfigs()
Dparse_xml.cpp501 struct MatrixKernelConfigConverter : public XmlPairConverter<KernelConfig, KernelConfigKeyConverter,
643 struct MatrixKernelConditionsConverter : public XmlNodeConverter<std::vector<KernelConfig>> {
645 void mutateNode(const std::vector<KernelConfig>& conds, NodeType* root, in mutateNode()
649 bool buildObject(std::vector<KernelConfig>* object, NodeType* root, in buildObject()
/system/libvintf/test/
DLibVintfTest.cpp608 … {KernelConfig{"CONFIG_FOO", Tristate::YES}, KernelConfig{"CONFIG_BAR", "stringvalue"}}})); in TEST_F()
610 … {KernelConfig{"CONFIG_BAZ", 20}, KernelConfig{"CONFIG_BAR", KernelConfigRangeValue{3, 5} }}})); in TEST_F()
811 using KernelConfigs = std::vector<KernelConfig>; in TEST_F()
813 KernelConfig{"CONFIG_64BIT", Tristate::YES}, in TEST_F()
814 KernelConfig{"CONFIG_ANDROID_BINDER_DEVICES", "binder,hwbinder"}, in TEST_F()
815 KernelConfig{"CONFIG_ARCH_MMAP_RND_BITS", 24}, in TEST_F()
816 KernelConfig{"CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES", ""}, in TEST_F()
817 KernelConfig{"CONFIG_ILLEGAL_POINTER_VALUE", 0xdead000000000000}, in TEST_F()
818 KernelConfig{"CONFIG_NOTEXIST", Tristate::NO}, in TEST_F()
862 newConfigs[0] = KernelConfig{"CONFIG_64BIT", Tristate::NO}; in TEST_F()
[all …]