Home
last modified time | relevance | path

Searched refs:KernelConfigTypedValue (Results 1 – 10 of 10) sorted by relevance

/system/libvintf/
DKernelConfigTypedValue.cpp27 const KernelConfigTypedValue KernelConfigTypedValue::gMissingConfig{Tristate::NO};
29 KernelConfigTypedValue::KernelConfigTypedValue() in KernelConfigTypedValue() function in android::vintf::KernelConfigTypedValue
30 : KernelConfigTypedValue("") { in KernelConfigTypedValue()
33 KernelConfigTypedValue::KernelConfigTypedValue(std::string &&s){ in KernelConfigTypedValue() function in android::vintf::KernelConfigTypedValue
38 KernelConfigTypedValue::KernelConfigTypedValue(KernelConfigIntValue v){ in KernelConfigTypedValue() function in android::vintf::KernelConfigTypedValue
43 KernelConfigTypedValue::KernelConfigTypedValue(KernelConfigRangeValue &&v){ in KernelConfigTypedValue() function in android::vintf::KernelConfigTypedValue
48 KernelConfigTypedValue::KernelConfigTypedValue(Tristate t){ in KernelConfigTypedValue() function in android::vintf::KernelConfigTypedValue
53 bool KernelConfigTypedValue::operator==(const KernelConfigTypedValue &other) const { in operator ==()
70 bool KernelConfigTypedValue::matchValue(const std::string &s) const { in matchValue()
Dparse_xml_for_test.h24 std::string toXml(const KernelConfigTypedValue& o,
30 [[nodiscard]] bool fromXml(KernelConfigTypedValue* o, const std::string& xml,
Dparse_string.cpp105 std::ostream &operator<<(std::ostream &os, const KernelConfigTypedValue &kctv) {
187 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv) { in parseKernelConfigValue()
201 bool parseKernelConfigTypedValue(const std::string& s, KernelConfigTypedValue* kctv) { in parseKernelConfigTypedValue()
DAndroid.bp73 "KernelConfigTypedValue.cpp",
DKernelInfo.cpp47 if (matrixConfig.second == KernelConfigTypedValue::gMissingConfig) { in matchKernelConfigs()
Dparse_xml.cpp529 struct KernelConfigTypedValueConverter : public XmlNodeConverter<KernelConfigTypedValue> {
531 void mutateNode(const KernelConfigTypedValue& object, NodeType* root, in mutateNode()
536 bool buildObject(KernelConfigTypedValue* object, NodeType* root, in buildObject()
1460 CREATE_CONVERT_FN(KernelConfigTypedValue)
/system/libvintf/include/vintf/
DKernelConfigTypedValue.h32 struct KernelConfigTypedValue { struct
34 const static KernelConfigTypedValue gMissingConfig; argument
37 KernelConfigTypedValue();
39 KernelConfigTypedValue(std::string &&s);
40 KernelConfigTypedValue(KernelConfigIntValue v);
41 KernelConfigTypedValue(KernelConfigRangeValue &&v);
42 KernelConfigTypedValue(Tristate t);
44 bool operator==(const KernelConfigTypedValue &other) const;
50 friend std::ostream &operator<<(std::ostream &os, const KernelConfigTypedValue &kctv);
51 friend bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv);
[all …]
Dparse_string.h51 std::ostream &operator<<(std::ostream &os, const KernelConfigTypedValue &kcv);
88 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv);
92 bool parseKernelConfigTypedValue(const std::string& s, KernelConfigTypedValue* kctv);
DMatrixKernel.h37 using KernelConfig = std::pair<KernelConfigKey, KernelConfigTypedValue>;
/system/libvintf/test/
DLibVintfTest.cpp516 KernelConfigTypedValue converted; in TEST_F()
518 auto testOne = [] (const KernelConfigTypedValue &original, in TEST_F()
521 KernelConfigTypedValue converted; in TEST_F()
528 auto testParse = [] (const KernelConfigTypedValue &original, in TEST_F()
530 KernelConfigTypedValue converted; in TEST_F()
535 testOne(KernelConfigTypedValue("stringvalue"), in TEST_F()
537 testOne(KernelConfigTypedValue(""), in TEST_F()
540 testOne(KernelConfigTypedValue(Tristate::YES), in TEST_F()
542 testOne(KernelConfigTypedValue(Tristate::NO), in TEST_F()
544 testOne(KernelConfigTypedValue(Tristate::MODULE), in TEST_F()
[all …]