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()
65 std::vector<KernelConfig> mConfigs;
66 std::vector<KernelConfig> mConditions;
DKernelInfo.h45 bool matchKernelConfigs(const std::vector<KernelConfig>& matrixConfigs,
/system/libvintf/
DKernelInfo.cpp31 bool KernelInfo::matchKernelConfigs(const std::vector<KernelConfig>& matrixConfigs, in matchKernelConfigs()
33 for (const KernelConfig& matrixConfig : matrixConfigs) { in matchKernelConfigs()
DAssembleVintf.cpp64 using Condition = std::unique_ptr<KernelConfig>;
65 using ConditionedConfig = std::pair<Condition, std::vector<KernelConfig> /* configs */>;
203 return std::make_unique<KernelConfig>(std::move(sub), Tristate::YES); in generateCondition()
207 std::vector<KernelConfig>* out) { in parseFileForKernelConfigs()
217 KernelConfig& config = out->back(); in parseFileForKernelConfigs()
243 std::vector<KernelConfig> kernelConfigs; in parseFilesForKernelConfigs()
Dparse_xml.cpp501 XmlPairConverter<KernelConfig> matrixKernelConfigConverter{
618 struct MatrixKernelConditionsConverter : public XmlNodeConverter<std::vector<KernelConfig>> {
620 void mutateNode(const std::vector<KernelConfig>& conds, NodeType* root, in mutateNode()
624 bool buildObject(std::vector<KernelConfig>* object, NodeType* root, in buildObject()
/system/libvintf/test/
DLibVintfTest.cpp597 … {KernelConfig{"CONFIG_FOO", Tristate::YES}, KernelConfig{"CONFIG_BAR", "stringvalue"}}})); in TEST_F()
599 … {KernelConfig{"CONFIG_BAZ", 20}, KernelConfig{"CONFIG_BAR", KernelConfigRangeValue{3, 5} }}})); in TEST_F()
800 using KernelConfigs = std::vector<KernelConfig>; in TEST_F()
802 KernelConfig{"CONFIG_64BIT", Tristate::YES}, in TEST_F()
803 KernelConfig{"CONFIG_ANDROID_BINDER_DEVICES", "binder,hwbinder"}, in TEST_F()
804 KernelConfig{"CONFIG_ARCH_MMAP_RND_BITS", 24}, in TEST_F()
805 KernelConfig{"CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE_NAMES", ""}, in TEST_F()
806 KernelConfig{"CONFIG_ILLEGAL_POINTER_VALUE", 0xdead000000000000}, in TEST_F()
807 KernelConfig{"CONFIG_NOTEXIST", Tristate::NO}, in TEST_F()
851 newConfigs[0] = KernelConfig{"CONFIG_64BIT", Tristate::NO}; in TEST_F()
[all …]