Home
last modified time | relevance | path

Searched refs:Tristate (Results 1 – 7 of 7) sorted by relevance

/system/libvintf/
DKernelConfigTypedValue.cpp27 const KernelConfigTypedValue KernelConfigTypedValue::gMissingConfig{Tristate::NO};
48 KernelConfigTypedValue::KernelConfigTypedValue(Tristate t){ in KernelConfigTypedValue()
83 Tristate tristate; in matchValue()
Dparse_string.cpp98 DEFINE_PARSE_STREAMIN_FOR_ENUM(Tristate)
DAssembleVintf.cpp217 return std::make_unique<KernelConfig>(std::move(sub), Tristate::YES); in generateCondition()
/system/libvintf/include/vintf/
DKernelConfigTypedValue.h42 KernelConfigTypedValue(Tristate t);
57 Tristate mTristateValue;
DTristate.h27 enum class Tristate : size_t { enum
Dparse_string.h35 std::ostream &operator<<(std::ostream &os, Tristate tr);
68 bool parse(const std::string &s, Tristate *tr);
/system/libvintf/test/
DLibVintfTest.cpp534 testOne(KernelConfigTypedValue(Tristate::YES), in TEST_F()
536 testOne(KernelConfigTypedValue(Tristate::NO), in TEST_F()
538 testOne(KernelConfigTypedValue(Tristate::MODULE), in TEST_F()
601 … {KernelConfig{"CONFIG_FOO", Tristate::YES}, KernelConfig{"CONFIG_BAR", "stringvalue"}}})); in TEST_F()
806 KernelConfig{"CONFIG_64BIT", Tristate::YES}, in TEST_F()
811 KernelConfig{"CONFIG_NOTEXIST", Tristate::NO}, in TEST_F()
855 newConfigs[0] = KernelConfig{"CONFIG_64BIT", Tristate::NO}; in TEST_F()
879 newConfigs[1] = KernelConfig{"CONFIG_ANDROID_BINDER_DEVICES", Tristate::YES}; in TEST_F()
1711 EXPECT_EQ(KernelConfigTypedValue(Tristate::YES), cond.begin()->second); in TEST_F()