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.cpp476 struct KernelConfigTypedValueConverter : public XmlNodeConverter<KernelConfigTypedValue> {
478 … void mutateNode(const KernelConfigTypedValue &object, NodeType *root, DocType *d) const override { in mutateNode()
482 bool buildObject(KernelConfigTypedValue* object, NodeType* root, in buildObject()
1374 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);
92 bool parseKernelConfigValue(const std::string &s, KernelConfigTypedValue *kctv);
96 bool parseKernelConfigTypedValue(const std::string& s, KernelConfigTypedValue* kctv);
DMatrixKernel.h37 using KernelConfig = std::pair<KernelConfigKey, KernelConfigTypedValue>;
/system/libvintf/test/
DLibVintfTest.cpp517 KernelConfigTypedValue converted; in TEST_F()
519 auto testOne = [] (const KernelConfigTypedValue &original, in TEST_F()
522 KernelConfigTypedValue converted; in TEST_F()
529 auto testParse = [] (const KernelConfigTypedValue &original, in TEST_F()
531 KernelConfigTypedValue converted; in TEST_F()
536 testOne(KernelConfigTypedValue("stringvalue"), in TEST_F()
538 testOne(KernelConfigTypedValue(""), in TEST_F()
541 testOne(KernelConfigTypedValue(Tristate::YES), in TEST_F()
543 testOne(KernelConfigTypedValue(Tristate::NO), in TEST_F()
545 testOne(KernelConfigTypedValue(Tristate::MODULE), in TEST_F()
[all …]