/external/parameter-framework/upstream/xmlserializer/ |
D | XmlDocSource.cpp | 116 bool CXmlDocSource::populate(CXmlSerializingContext &serializingContext) in populate() argument 121 serializingContext.setError("Could not parse document "); in populate() 130 serializingContext.setError("Document is not valid"); in populate() 139 serializingContext.setError("Error: Wrong XML structure document "); in populate() 140 serializingContext.appendLineToError("Root Element " + getRootElementName() + in populate() 153 serializingContext.setError("Error: Wrong XML structure document "); in populate() 154 serializingContext.appendLineToError( in populate() 234 CXmlSerializingContext &serializingContext) in mkXmlDoc() argument 248 serializingContext.appendLineToError(errorMsg); in mkXmlDoc() 254 serializingContext.appendLineToError("libxml failed to resolve XIncludes"); in mkXmlDoc()
|
D | XmlDocSink.h | 57 bool process(CXmlDocSource &xmlDocSource, CXmlSerializingContext &serializingContext) in process() argument 59 if (!xmlDocSource.populate(serializingContext)) { in process() 63 return doProcess(xmlDocSource, serializingContext); in process() 79 CXmlSerializingContext &serializingContext) = 0;
|
D | XmlMemoryDocSource.cpp | 57 bool CXmlMemoryDocSource::populate(CXmlSerializingContext &serializingContext) in populate() argument 60 serializingContext.setError("XML file exporting feature unsupported on this image. " + in populate() 71 _pXmlSource->toXml(docElement, serializingContext); in populate()
|
/external/parameter-framework/upstream/parameter/ |
D | Element.cpp | 145 CXmlSerializingContext &serializingContext) try { in fromXml() argument 163 serializingContext.setError("Unable to handle XML element: " + in fromXml() 171 pChild = createChild(childElement, serializingContext); in fromXml() 180 if (!pChild->fromXml(childElement, serializingContext)) { in fromXml() 188 serializingContext.appendLineToError(e.what()); 193 CXmlSerializingContext &serializingContext) const in childrenToXml() 204 pChild->toXml(xmlChildElement, serializingContext); in childrenToXml() 208 void CElement::toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const in toXml() 212 childrenToXml(xmlElement, serializingContext); in toXml() 301 CXmlSerializingContext &serializingContext) in createChild() argument [all …]
|
D | ConfigurableDomain.cpp | 111 CXmlSerializingContext &serializingContext) const in toXml() 113 base::toXml(xmlElement, serializingContext); in toXml() 120 CXmlSerializingContext &serializingContext) const in childrenToXml() 123 composeDomainConfigurations(xmlElement, serializingContext); in childrenToXml() 129 composeSettings(xmlElement, static_cast<CXmlDomainExportContext &>(serializingContext)); in childrenToXml() 134 CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const in composeDomainConfigurations() 142 base::childrenToXml(xmlConfigurationsElement, serializingContext); in composeDomainConfigurations() 209 CXmlSerializingContext &serializingContext) in fromXml() argument 213 static_cast<CXmlDomainImportContext &>(serializingContext); in fromXml() 243 CXmlDomainImportContext &serializingContext) in parseDomainConfigurations() argument [all …]
|
D | ComponentType.cpp | 72 CXmlSerializingContext &serializingContext) in fromXml() argument 76 static_cast<CXmlParameterSerializingContext &>(serializingContext); in fromXml() 81 if (!base::fromXml(xmlElement, serializingContext)) { in fromXml() 96 serializingContext.setError("ComponentType " + strExtendsType + " referred to by " + in fromXml() 104 serializingContext.setError("Recursive ComponentType definition of " + in fromXml()
|
D | ComponentInstance.cpp | 80 CXmlSerializingContext &serializingContext) in fromXml() argument 84 static_cast<CXmlParameterSerializingContext &>(serializingContext); in fromXml() 95 serializingContext.setError("Unable to create Component " + xmlElement.getPath() + in fromXml() 102 serializingContext.setError("Recursive definition of " + _pComponentType->getName() + in fromXml() 109 return base::fromXml(xmlElement, serializingContext); in fromXml()
|
D | ComponentLibrary.cpp | 50 CXmlSerializingContext &serializingContext) in fromXml() argument 63 if (!fromXml(childElement, serializingContext)) { in fromXml() 69 CElement *pChild = createChild(childElement, serializingContext); in fromXml() 71 if (!pChild || !pChild->fromXml(childElement, serializingContext)) { in fromXml()
|
D | ConfigurableElement.h | 168 bool fromXml(const CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) final; 170 void toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const final; 174 CXmlSerializingContext &serializingContext) in structureFromXml() argument 187 return CElement::fromXml(xmlElement, serializingContext); in structureFromXml() 192 CXmlSerializingContext &serializingContext) const in structureToXml() argument 195 CElement::toXml(xmlElement, serializingContext); in structureToXml()
|
D | BitParameterBlockType.cpp | 60 CXmlSerializingContext &serializingContext) in fromXml() argument 67 return base::fromXml(xmlElement, serializingContext); in fromXml() 78 CXmlSerializingContext &serializingContext) const in toXml() 83 base::toXml(xmlElement, serializingContext); in toXml()
|
D | ConfigurableDomain.h | 150 CXmlSerializingContext &serializingContext) override; 153 void toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const override; 155 CXmlSerializingContext &serializingContext) const override; 238 CXmlDomainImportContext &serializingContext); 249 CXmlDomainImportContext &serializingContext); 259 bool parseSettings(const CXmlElement &xmlElement, CXmlDomainImportContext &serializingContext); 263 CXmlSerializingContext &serializingContext) const;
|
D | EnumValuePair.cpp | 55 CXmlSerializingContext &serializingContext) in fromXml() argument 66 return base::fromXml(xmlElement, serializingContext); in fromXml() 78 CXmlSerializingContext &serializingContext) const in toXml() 88 base::childrenToXml(xmlElement, serializingContext); in toXml()
|
D | StringParameterType.cpp | 61 CXmlSerializingContext &serializingContext) in fromXml() argument 67 return base::fromXml(xmlElement, serializingContext); in fromXml() 83 CXmlSerializingContext &serializingContext) const in toXml() 88 base::toXml(xmlElement, serializingContext); in toXml()
|
D | BitParameterType.cpp | 75 CXmlSerializingContext &serializingContext) in fromXml() argument 97 serializingContext.setError(strStream.str()); in fromXml() 112 serializingContext.setError(strStream.str()); in fromXml() 118 return base::fromXml(xmlElement, serializingContext); in fromXml() 230 CXmlSerializingContext &serializingContext) const in toXml() 241 base::toXml(xmlElement, serializingContext); in toXml()
|
D | TypeElement.cpp | 108 CXmlSerializingContext &serializingContext) in fromXml() argument 119 serializingContext.setError("Invalid Mapping data from XML element '" + in fromXml() 124 return base::fromXml(xmlElement, serializingContext); in fromXml() 180 void CTypeElement::toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const in toXml() 187 base::toXml(xmlElement, serializingContext); in toXml()
|
D | FloatingPointParameterType.cpp | 85 CXmlSerializingContext &serializingContext) in fromXml() argument 95 serializingContext.setError("Unsupported size (" + std::to_string(sizeInBits) + ") for " + in fromXml() 108 serializingContext.setError("Min (" + std::to_string(_fMin) + in fromXml() 113 return base::fromXml(xmlElement, serializingContext); in fromXml() 277 CXmlSerializingContext &serializingContext) const in toXml() 283 base::toXml(xmlElement, serializingContext); in toXml()
|
D | CompoundRule.cpp | 130 CXmlSerializingContext &serializingContext) in fromXml() argument 138 return base::fromXml(xmlElement, serializingContext); in fromXml() 142 void CCompoundRule::toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const in toXml() 148 base::toXml(xmlElement, serializingContext); in toXml()
|
D | LinearParameterAdaptation.cpp | 62 CXmlSerializingContext &serializingContext) in fromXml() argument 72 serializingContext.setError("SlopeDenominator attribute can't be 0 on element" + in fromXml() 78 return base::fromXml(xmlElement, serializingContext); in fromXml()
|
D | LogarithmicParameterAdaptation.cpp | 59 CXmlSerializingContext &serializingContext) in fromXml() argument 64 serializingContext.setError("LogarithmBase attribute cannot be negative or 1 on element" + in fromXml() 73 return base::fromXml(xmlElement, serializingContext); in fromXml()
|
D | Subsystem.cpp | 95 CXmlSerializingContext &serializingContext) in structureFromXml() argument 105 static_cast<CXmlParameterSerializingContext &>(serializingContext); in structureFromXml() 121 serializingContext.setError("Invalid Mapping data from XML element '" + in structureFromXml() 130 if (!_pComponentLibrary->fromXml(childElement, serializingContext)) { in structureFromXml() 137 if (!_pInstanceDefinition->fromXml(childElement, serializingContext)) { in structureFromXml() 149 serializingContext.setError(strError); in structureFromXml()
|
D | ParameterType.cpp | 77 CXmlSerializingContext &serializingContext) in fromXml() argument 80 return base::fromXml(xmlElement, serializingContext); in fromXml() 85 CXmlSerializingContext &serializingContext) const in toXml() 87 base::toXml(xmlElement, serializingContext); in toXml()
|
D | FixedPointParameterType.cpp | 91 CXmlSerializingContext &serializingContext) in fromXml() argument 106 serializingContext.setError( in fromXml() 116 return base::fromXml(xmlElement, serializingContext); in fromXml() 363 CXmlSerializingContext &serializingContext) const in toXml() 374 base::toXml(xmlElement, serializingContext); in toXml()
|
D | EnumParameterType.cpp | 79 CXmlSerializingContext &serializingContext) in fromXml() argument 91 return base::fromXml(xmlElement, serializingContext); in fromXml() 285 CXmlSerializingContext &serializingContext) const in toXml() 290 base::toXml(xmlElement, serializingContext); in toXml()
|
D | SelectionCriterion.cpp | 184 CXmlSerializingContext &serializingContext) const in toXml() 190 _pType->toXml(xmlElement, serializingContext); in toXml() 192 base::toXml(xmlElement, serializingContext); in toXml()
|
D | IntegerParameterType.h | 92 bool fromXml(const CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) override in fromXml() argument 100 serializingContext.setError("The range of allowed value is empty (" + in fromXml() 106 return Base::fromXml(xmlElement, serializingContext); in fromXml() 110 void toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const override in toXml() argument 119 Base::toXml(xmlElement, serializingContext); in toXml()
|