/external/parameter-framework/xmlserializer/ |
D | XmlDocSource.cpp | 110 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()
|
D | XmlDocSink.h | 55 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) = …
|
D | XmlMemoryDocSource.cpp | 61 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()
|
D | XmlMemoryDocSink.cpp | 41 CXmlSerializingContext& serializingContext) in doProcess() argument 48 return _pXmlSink->fromXml(docElement, serializingContext); in doProcess()
|
D | XmlStreamDocSink.cpp | 41 CXmlSerializingContext& serializingContext) in doProcess() argument 50 serializingContext.setError("Unable to encode XML document in memory"); in doProcess()
|
/external/parameter-framework/parameter/ |
D | ConfigurableDomain.cpp | 119 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 …]
|
D | ComponentType.cpp | 76 … 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() 98 …serializingContext.setError("ComponentType " + strExtendsType + " referred to by " + xmlElement.ge… in fromXml() 105 … serializingContext.setError("Recursive ComponentType definition of " + xmlElement.getPath()); in fromXml()
|
D | ConfigurableDomain.h | 105 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;
|
D | ComponentInstance.cpp | 76 …mponentInstance::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument 79 …Context& parameterBuildContext = static_cast<CXmlParameterSerializingContext&>(serializingContext); in fromXml() 89 …serializingContext.setError("Unable to create Component " + xmlElement.getPath() + ". ComponentTyp… in fromXml() 95 …serializingContext.setError("Recursive definition of " + _pComponentType->getName() + " due to " +… in fromXml() 100 return base::fromXml(xmlElement, serializingContext); in fromXml()
|
D | ComponentLibrary.cpp | 54 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()
|
D | BitParameterBlockType.cpp | 59 …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()
|
D | TypeElement.cpp | 103 …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()
|
D | EnumValuePair.cpp | 59 … 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()
|
D | StringParameterType.cpp | 60 …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()
|
D | BitParameterType.cpp | 74 …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()
|
D | CompoundRule.cpp | 140 …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()
|
D | LogarithmicParameterAdaptation.cpp | 57 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()
|
D | LinearParameterAdaptation.cpp | 63 …meterAdaptation::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument 82 …serializingContext.setError("SlopeDenominator attribute can't be 0 on element" + xmlElement.getPat… in fromXml() 93 return base::fromXml(xmlElement, serializingContext); in fromXml()
|
D | Element.cpp | 222 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()
|
D | SelectionCriterionRule.cpp | 154 …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()
|
D | DomainConfiguration.cpp | 73 …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() 161 …serializingContext.setError("Struture error encountered while parsing settings of " + pConfigurabl… in serializeConfigurableElementSettings() 169 …serializingContext.setError("Couldn't find settings for " + pConfigurableElement->getKind() + " " … in serializeConfigurableElementSettings()
|
D | SelectionCriterion.cpp | 175 void CSelectionCriterion::toXml(CXmlElement& xmlElement, CXmlSerializingContext& serializingContext… in toXml() 181 _pType->toXml(xmlElement, serializingContext); in toXml() 183 base::toXml(xmlElement, serializingContext); in toXml()
|
D | Subsystem.cpp | 106 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()
|
D | FixedPointParameterType.cpp | 93 …ntParameterType::fromXml(const CXmlElement& xmlElement, CXmlSerializingContext& serializingContext) in fromXml() argument 105 …serializingContext.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()
|
D | ParameterType.cpp | 80 … 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()
|