Home
last modified time | relevance | path

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

/system/libvintf/include/vintf/
DMatrixKernel.h36 using KernelConfig = std::pair<KernelConfigKey, KernelConfigTypedValue>; variable
43 MatrixKernel(KernelVersion &&minLts, std::vector<KernelConfig> &&configs) in MatrixKernel()
52 const std::vector<KernelConfig> &configs() const { return mConfigs; } in configs()
56 const std::vector<KernelConfig>& conditions() const { return mConditions; } in conditions()
64 std::vector<KernelConfig> mConfigs;
65 std::vector<KernelConfig> mConditions;
DRuntimeInfo.h89 bool matchKernelConfigs(const std::vector<KernelConfig>& matrixConfigs,
/system/libvintf/test/
Dmain.cpp554 … {KernelConfig{"CONFIG_FOO", Tristate::YES}, KernelConfig{"CONFIG_BAR", "stringvalue"}}})); in TEST_F()
556 … {KernelConfig{"CONFIG_BAZ", 20}, KernelConfig{"CONFIG_BAR", KernelConfigRangeValue{3, 5} }}})); in TEST_F()
686 using KernelConfigs = std::vector<KernelConfig>; in TEST_F()
688 KernelConfig{"CONFIG_64BIT", Tristate::YES}, in TEST_F()
689 KernelConfig{"CONFIG_ANDROID_BINDER_DEVICES", "binder,hwbinder"}, in TEST_F()
690 KernelConfig{"CONFIG_ARCH_MMAP_RND_BITS", 24}, in TEST_F()
691 KernelConfig{"CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES", ""}, in TEST_F()
692 KernelConfig{"CONFIG_ILLEGAL_POINTER_VALUE", 0xdead000000000000}, in TEST_F()
693 KernelConfig{"CONFIG_NOTEXIST", Tristate::NO}, in TEST_F()
737 newConfigs[0] = KernelConfig{"CONFIG_64BIT", Tristate::NO}; in TEST_F()
[all …]
/system/libvintf/
Dassemble_vintf.cpp46 using Condition = std::unique_ptr<KernelConfig>;
47 using ConditionedConfig = std::pair<Condition, std::vector<KernelConfig> /* configs */>;
105 return std::make_unique<KernelConfig>(std::move(sub), Tristate::YES); in generateCondition()
108 static bool parseFileForKernelConfigs(const std::string& path, std::vector<KernelConfig>* out) { in parseFileForKernelConfigs()
129 KernelConfig& config = out->back(); in parseFileForKernelConfigs()
158 std::vector<KernelConfig> kernelConfigs; in parseFilesForKernelConfigs()
DRuntimeInfo.cpp72 bool RuntimeInfo::matchKernelConfigs(const std::vector<KernelConfig>& matrixConfigs, in matchKernelConfigs()
74 for (const KernelConfig& matrixConfig : matrixConfigs) { in matchKernelConfigs()
Dparse_xml.cpp441 struct KernelConfigConverter : public XmlNodeConverter<KernelConfig> {
443 void mutateNode(const KernelConfig &object, NodeType *root, DocType *d) const override { in mutateNode()
447 bool buildObject(KernelConfig *object, NodeType *root) const override { in buildObject()
552 struct MatrixKernelConditionsConverter : public XmlNodeConverter<std::vector<KernelConfig>> {
554 void mutateNode(const std::vector<KernelConfig>& conds, NodeType* root, in mutateNode()
558 bool buildObject(std::vector<KernelConfig>* object, NodeType* root) const override { in buildObject()