Searched refs:attrText (Results 1 – 1 of 1) sorted by relevance
124 static bool parse(const std::string &attrText, bool *attr) { in parse() argument125 if (attrText == "true" || attrText == "1") { in parse()129 if (attrText == "false" || attrText == "0") { in parse()250 std::string attrText; in parseOptionalAttr() local251 bool success = getAttr(root, attrName, &attrText) && in parseOptionalAttr()252 ::android::vintf::parse(attrText, attr); in parseOptionalAttr()262 std::string attrText; in parseAttr() local263 bool ret = getAttr(root, attrName, &attrText) && ::android::vintf::parse(attrText, attr); in parseAttr()266 attrText + "\" for element <" + elementName() + ">"; in parseAttr()