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.cpp203 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.cpp530 testOne(KernelConfigTypedValue(Tristate::YES), in TEST_F()
532 testOne(KernelConfigTypedValue(Tristate::NO), in TEST_F()
534 testOne(KernelConfigTypedValue(Tristate::MODULE), in TEST_F()
597 … {KernelConfig{"CONFIG_FOO", Tristate::YES}, KernelConfig{"CONFIG_BAR", "stringvalue"}}})); in TEST_F()
802 KernelConfig{"CONFIG_64BIT", Tristate::YES}, in TEST_F()
807 KernelConfig{"CONFIG_NOTEXIST", Tristate::NO}, in TEST_F()
851 newConfigs[0] = KernelConfig{"CONFIG_64BIT", Tristate::NO}; in TEST_F()
875 newConfigs[1] = KernelConfig{"CONFIG_ANDROID_BINDER_DEVICES", Tristate::YES}; in TEST_F()
1707 EXPECT_EQ(KernelConfigTypedValue(Tristate::YES), cond.begin()->second); in TEST_F()