Home
last modified time | relevance | path

Searched refs:make_xmlUnique (Results 1 – 3 of 3) sorted by relevance

/aosp12/hardware/interfaces/audio/common/all-versions/test/utility/src/
H A DValidateXml.cpp53 constexpr auto make_xmlUnique(T* t) { in make_xmlUnique() function
104 auto schemaParserCtxt = make_xmlUnique(xmlSchemaNewParserCtxt(xsdFilePath)); in validateXml()
105 auto schema = make_xmlUnique(xmlSchemaParse(schemaParserCtxt.get())); in validateXml()
110 auto doc = make_xmlUnique(xmlReadFile(xmlFilePath, nullptr, 0)); in validateXml()
120 auto schemaCtxt = make_xmlUnique(xmlSchemaNewValidCtxt(schema.get())); in validateXml()
/aosp12/frameworks/av/services/audiopolicy/engine/config/src/
H A DEngineConfig.cpp151 constexpr auto make_xmlUnique(T *t) { in make_xmlUnique() function
159 auto charPtr = make_xmlUnique(xmlGetProp(cur, reinterpret_cast<const xmlChar *>(attribute))); in getXmlAttribute()
457 auto pointXml = make_xmlUnique(xmlNodeListGetString(doc, child->xmlChildrenNode, 1)); in deserialize()
487 auto nameXml = make_xmlUnique(xmlNodeListGetString(doc, child->xmlChildrenNode, 1)); in deserialize()
494 auto indexMinXml = make_xmlUnique(xmlNodeListGetString(doc, child->xmlChildrenNode, 1)); in deserialize()
504 auto indexMaxXml = make_xmlUnique(xmlNodeListGetString(doc, child->xmlChildrenNode, 1)); in deserialize()
564 auto pointXml = make_xmlUnique(xmlNodeListGetString(doc, child->xmlChildrenNode, 1)); in deserializeLegacyVolume()
656 auto doc = make_xmlUnique(xmlParseFile(path)); in parse()
696 auto doc = make_xmlUnique(xmlParseFile(path)); in parseLegacyVolumeFile()
/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DSerializer.cpp277 constexpr auto make_xmlUnique(T *t) { in make_xmlUnique() function
285 auto xmlValue = make_xmlUnique(xmlGetProp(cur, reinterpret_cast<const xmlChar*>(attribute))); in getXmlAttribute()
708 auto attachedDevice = make_xmlUnique(xmlNodeListGetString(
729 auto defaultOutputDevice = make_xmlUnique(xmlNodeListGetString(
839 auto doc = make_xmlUnique(xmlParseFile(configFile)); in deserialize()