Home
last modified time | relevance | path

Searched refs:serializingContext (Results 1 – 25 of 73) sorted by relevance

123

/external/parameter-framework/upstream/xmlserializer/
DXmlDocSource.cpp116 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()
DXmlDocSink.h57 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;
DXmlMemoryDocSource.cpp57 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()
DXmlMemoryDocSink.cpp40 CXmlSerializingContext &serializingContext) in doProcess() argument
47 return _pXmlSink->fromXml(docElement, serializingContext); in doProcess()
/external/parameter-framework/upstream/parameter/
DComponentType.cpp72 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()
DConfigurableDomain.cpp111 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 …]
DComponentLibrary.cpp50 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()
DBitParameterBlockType.cpp60 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()
DComponentInstance.cpp80 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()
DElement.cpp143 bool CElement::fromXml(const CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) in fromXml() argument
162 serializingContext.setError("Unable to handle XML element: " + in fromXml()
170 pChild = createChild(childElement, serializingContext); in fromXml()
179 if (!pChild->fromXml(childElement, serializingContext)) { in fromXml()
189 CXmlSerializingContext &serializingContext) const in childrenToXml()
200 pChild->toXml(xmlChildElement, serializingContext); in childrenToXml()
204 void CElement::toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const in toXml()
208 childrenToXml(xmlElement, serializingContext); in toXml()
297 CXmlSerializingContext &serializingContext) in createChild() argument
301 static_cast<CXmlElementSerializingContext &>(serializingContext); in createChild()
DStringParameterType.cpp61 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()
DEnumValuePair.cpp55 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()
DConfigurableElement.h169 CXmlSerializingContext &serializingContext) override final;
172 CXmlSerializingContext &serializingContext) const override final;
176 CXmlSerializingContext &serializingContext) in structureFromXml() argument
189 return CElement::fromXml(xmlElement, serializingContext); in structureFromXml()
194 CXmlSerializingContext &serializingContext) const in structureToXml() argument
197 CElement::toXml(xmlElement, serializingContext); in structureToXml()
DConfigurableDomain.h149 virtual bool fromXml(const CXmlElement &xmlElement, CXmlSerializingContext &serializingContext);
152 virtual void toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const;
154 CXmlSerializingContext &serializingContext) const;
237 CXmlDomainImportContext &serializingContext);
248 CXmlDomainImportContext &serializingContext);
258 bool parseSettings(const CXmlElement &xmlElement, CXmlDomainImportContext &serializingContext);
262 CXmlSerializingContext &serializingContext) const;
DBitParameterType.cpp75 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()
244 CXmlSerializingContext &serializingContext) const in toXml()
255 base::toXml(xmlElement, serializingContext); in toXml()
DTypeElement.cpp108 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()
DFloatingPointParameterType.cpp85 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()
DCompoundRule.cpp130 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()
DLinearParameterAdaptation.cpp62 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()
DLogarithmicParameterAdaptation.cpp59 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()
DParameterType.cpp77 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()
DSubsystem.cpp95 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()
DEnumParameterType.cpp77 CXmlSerializingContext &serializingContext) in fromXml() argument
89 return base::fromXml(xmlElement, serializingContext); in fromXml()
257 CXmlSerializingContext &serializingContext) const in toXml()
262 base::toXml(xmlElement, serializingContext); in toXml()
DSelectionCriterion.cpp184 CXmlSerializingContext &serializingContext) const in toXml()
190 _pType->toXml(xmlElement, serializingContext); in toXml()
192 base::toXml(xmlElement, serializingContext); in toXml()
DFixedPointParameterType.cpp91 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()

123