Home
last modified time | relevance | path

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

123

/external/parameter-framework/xmlserializer/
DXmlDocSource.cpp110 bool CXmlDocSource::populate(CXmlSerializingContext& serializingContext) in populate() argument
112 return validate(serializingContext); in populate()
116 bool CXmlDocSource::validate(CXmlSerializingContext& serializingContext) in validate() argument
121 serializingContext.setError("Could not parse document "); in validate()
131 serializingContext.setError("Document is not valid"); in validate()
140 serializingContext.setError("Error: Wrong XML structure document "); in validate()
141 serializingContext.appendLineToError("Root Element " + getRootElementName() in validate()
154 serializingContext.setError("Error: Wrong XML structure document "); in validate()
155 serializingContext.appendLineToError(_strRootElementType + " element " in validate()
DXmlDocSink.h55 bool process(CXmlDocSource& xmlDocSource, CXmlSerializingContext& serializingContext) in process() argument
57 if (!xmlDocSource.populate(serializingContext)) { in process()
61 return doProcess(xmlDocSource, serializingContext); in process()
76 …virtual bool doProcess(CXmlDocSource& xmlDocSource, CXmlSerializingContext& serializingContext) = …
DXmlMemoryDocSource.cpp61 bool CXmlMemoryDocSource::populate(CXmlSerializingContext& serializingContext) in populate() argument
64 serializingContext.setError("XML file exporting feature unsupported on this image. " + in populate()
84 _pXmlSource->toXml(docElement, serializingContext); in populate()
DXmlMemoryDocSink.cpp41 CXmlSerializingContext& serializingContext) in doProcess() argument
48 return _pXmlSink->fromXml(docElement, serializingContext); in doProcess()
DXmlStreamDocSink.cpp41 CXmlSerializingContext& serializingContext) in doProcess() argument
50 serializingContext.setError("Unable to encode XML document in memory"); in doProcess()
/external/parameter-framework/parameter/
DConfigurableDomain.cpp119 void CConfigurableDomain::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext in toXml()
121 base::toXml(xmlElement, serializingContext); in toXml()
128 CXmlSerializingContext& serializingContext) const in childrenToXml()
131 composeDomainConfigurations(xmlElement, serializingContext); in childrenToXml()
137 composeSettings(xmlElement, serializingContext); in childrenToXml()
141 …poseDomainConfigurations(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in composeDomainConfigurations()
149 base::childrenToXml(xmlConfigurationsElement, serializingContext); in composeDomainConfigurations()
176 …eDomain::composeSettings(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in composeSettings()
180 static_cast<const CXmlDomainExportContext&>(serializingContext); in composeSettings()
209 pDomainConfiguration->composeSettings(xmlConfigurationSettingsElement, serializingContext); in composeSettings()
[all …]
DComponentType.cpp76 … CComponentType::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
79 …Context& parameterBuildContext = static_cast<CXmlParameterSerializingContext&>(serializingContext); in fromXml()
84 if (!base::fromXml(xmlElement, serializingContext)) { in fromXml()
98serializingContext.setError("ComponentType " + strExtendsType + " referred to by " + xmlElement.ge… in fromXml()
105serializingContext.setError("Recursive ComponentType definition of " + xmlElement.getPath()); in fromXml()
DConfigurableDomain.h105 virtual bool fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext);
108 virtual void toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const;
110 CXmlSerializingContext& serializingContext) const;
170 CXmlDomainImportContext& serializingContext);
181 CXmlDomainImportContext& serializingContext);
192 CXmlDomainImportContext& serializingContext);
195 …oseDomainConfigurations(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const;
197 void composeSettings(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const;
DComponentInstance.cpp76 …mponentInstance::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
79 …Context& parameterBuildContext = static_cast<CXmlParameterSerializingContext&>(serializingContext); in fromXml()
89serializingContext.setError("Unable to create Component " + xmlElement.getPath() + ". ComponentTyp… in fromXml()
95serializingContext.setError("Recursive definition of " + _pComponentType->getName() + " due to " +… in fromXml()
100 return base::fromXml(xmlElement, serializingContext); in fromXml()
DComponentLibrary.cpp54 CXmlSerializingContext& serializingContext) in fromXml() argument
67 if (!fromXml(childElement, serializingContext)) { in fromXml()
73 CElement* pChild = createChild(childElement, serializingContext); in fromXml()
75 if (!pChild || !pChild->fromXml(childElement, serializingContext)) { in fromXml()
DBitParameterBlockType.cpp59 …ameterBlockType::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
65 return base::fromXml(xmlElement, serializingContext); in fromXml()
75 …arameterBlockType::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in toXml()
80 base::toXml(xmlElement, serializingContext); in toXml()
DTypeElement.cpp103 …ol CTypeElement::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
115 if (!getMappingData()->fromXml(xmlElement, serializingContext)) { in fromXml()
120 return base::fromXml(xmlElement, serializingContext); in fromXml()
152 void CTypeElement::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in toXml()
159 base::toXml(xmlElement, serializingContext); in toXml()
DEnumValuePair.cpp59 … CEnumValuePair::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
68 return base::fromXml(xmlElement, serializingContext); in fromXml()
80 void CEnumValuePair::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) con… in toXml()
88 base::toXml(xmlElement, serializingContext); in toXml()
DStringParameterType.cpp60 …ngParameterType::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
66 return base::fromXml(xmlElement, serializingContext); in fromXml()
81 …ringParameterType::toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const in toXml()
86 base::toXml(xmlElement, serializingContext); in toXml()
DBitParameterType.cpp74 …itParameterType::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
94 serializingContext.setError(strStream.str()); in fromXml()
111 serializingContext.setError(strStream.str()); in fromXml()
121 return base::fromXml(xmlElement, serializingContext); in fromXml()
246 void CBitParameterType::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) … in toXml()
257 base::toXml(xmlElement, serializingContext); in toXml()
DCompoundRule.cpp140 …l CCompoundRule::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
146 return base::fromXml(xmlElement, serializingContext); in fromXml()
150 void CCompoundRule::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in toXml()
156 base::toXml(xmlElement, serializingContext); in toXml()
DLogarithmicParameterAdaptation.cpp57 CXmlSerializingContext& serializingContext) in fromXml() argument
66 serializingContext.setError("LogarithmBase attribute cannot be negative or 1 on element" in fromXml()
77 return base::fromXml(xmlElement, serializingContext); in fromXml()
DLinearParameterAdaptation.cpp63 …meterAdaptation::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
82serializingContext.setError("SlopeDenominator attribute can't be 0 on element" + xmlElement.getPat… in fromXml()
93 return base::fromXml(xmlElement, serializingContext); in fromXml()
DElement.cpp222 bool CElement::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
230 …ntext& elementSerializingContext = static_cast<CXmlElementSerializingContext&>(serializingContext); in fromXml()
251 pChild = createChild(childElement, serializingContext); in fromXml()
270 CXmlSerializingContext& serializingContext) const in childrenToXml()
286 pChild->toXml(xmlChildElement, serializingContext); in childrenToXml()
290 void CElement::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in toXml()
294 childrenToXml(xmlElement, serializingContext); in toXml()
393 CXmlSerializingContext& serializingContext) in createChild() argument
397 static_cast<CXmlElementSerializingContext&>(serializingContext); in createChild()
DSelectionCriterionRule.cpp154 …onCriterionRule::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
157 …nImportContext& xmlDomainImportContext = static_cast<CXmlDomainImportContext&>(serializingContext); in fromXml()
198 …tionCriterionRule::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in toXml()
200 (void)serializingContext; in toXml()
DDomainConfiguration.cpp73 …eSettings(CXmlElement& xmlConfigurationSettingsElement, CXmlSerializingContext& serializingContext) in parseSettings() argument
76 …nImportContext& xmlDomainImportContext = static_cast<CXmlDomainImportContext&>(serializingContext); in parseSettings()
116 …ngs(CXmlElement& xmlConfigurationSettingsElement, CXmlSerializingContext& serializingContext) const in composeSettings()
137 …onfiguration*)pAreaConfiguration, xmlConfigurableElementSettingsElement, serializingContext, true); in composeSettings()
142 …nt& xmlConfigurableElementSettingsElement, CXmlSerializingContext& serializingContext, bool bSeria… in serializeConfigurableElementSettings() argument
146 static_cast<CXmlDomainExportContext&>(serializingContext); in serializeConfigurableElementSettings()
161serializingContext.setError("Struture error encountered while parsing settings of " + pConfigurabl… in serializeConfigurableElementSettings()
169serializingContext.setError("Couldn't find settings for " + pConfigurableElement->getKind() + " " … in serializeConfigurableElementSettings()
DSelectionCriterion.cpp175 void CSelectionCriterion::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext in toXml()
181 _pType->toXml(xmlElement, serializingContext); in toXml()
183 base::toXml(xmlElement, serializingContext); in toXml()
DSubsystem.cpp106 bool CSubsystem::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
113 …Context& parameterBuildContext = static_cast<CXmlParameterSerializingContext&>(serializingContext); in fromXml()
124 if (!_pMappingData->fromXml(xmlElement, serializingContext)) { in fromXml()
133 if (!_pComponentLibrary->fromXml(childElement, serializingContext)) { in fromXml()
140 if (!_pInstanceDefinition->fromXml(childElement, serializingContext)) { in fromXml()
152 serializingContext.setError(strError); in fromXml()
DFixedPointParameterType.cpp93 …ntParameterType::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
105serializingContext.setError("Inconsistent Size vs. Q notation for " + getKind() + " " + xmlElement… in fromXml()
113 return base::fromXml(xmlElement, serializingContext); in fromXml()
364 …ointParameterType::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) const in toXml()
375 base::toXml(xmlElement, serializingContext); in toXml()
DParameterType.cpp80 … CParameterType::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument
83 return base::fromXml(xmlElement, serializingContext); in fromXml()
87 void CParameterType::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) con… in toXml()
89 base::toXml(xmlElement, serializingContext); in toXml()

123