Searched defs:xmlElement (Results 1 - 25 of 36) sorted by relevance

12

/external/parameter-framework/upstream/parameter/
H A DBitParameterBlock.h51 void structureToXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const argument
53 xmlElement.setAttribute("Size", getSize() * 8);
54 CInstanceConfigurableElement::structureToXml(xmlElement, serializingContext);
H A DLoggingElementBuilderTemplate.cpp36 std::string getName(const CXmlElement &xmlElement) argument
38 return xmlElement.getNameAttribute();
H A DComponentLibrary.cpp49 bool CComponentLibrary::fromXml(const CXmlElement &xmlElement, argument
54 CXmlElement::CChildIterator it(xmlElement);
H A DConfigurableElement.h168 bool fromXml(const CXmlElement &xmlElement,
171 void toXml(CXmlElement &xmlElement,
175 virtual bool structureFromXml(const CXmlElement &xmlElement, argument
189 return CElement::fromXml(xmlElement, serializingContext);
193 virtual void structureToXml(CXmlElement &xmlElement, argument
197 CElement::toXml(xmlElement, serializingContext);
H A DFrameworkConfigurationLocation.cpp43 bool CFrameworkConfigurationLocation::fromXml(const CXmlElement &xmlElement, argument
46 xmlElement.getAttribute("Path", _configurationUri);
50 serializingContext.setError("Empty Path attribute in element " + xmlElement.getPath());
H A DLinearParameterAdaptation.cpp61 bool CLinearParameterAdaptation::fromXml(const CXmlElement &xmlElement, argument
65 xmlElement.getAttribute("SlopeNumerator", _dSlopeNumerator);
68 if (xmlElement.getAttribute("SlopeDenominator", _dSlopeDenominator) &&
73 xmlElement.getPath());
78 return base::fromXml(xmlElement, serializingContext);
H A DLogarithmicParameterAdaptation.cpp58 bool CLogarithmicParameterAdaptation::fromXml(const CXmlElement &xmlElement, argument
61 if (xmlElement.getAttribute("LogarithmBase", _dLogarithmBase) &&
65 xmlElement.getPath());
70 xmlElement.getAttribute("FloorValue", _dFloorValue);
73 return base::fromXml(xmlElement, serializingContext);
H A DParameterFrameworkConfiguration.cpp63 bool CParameterFrameworkConfiguration::fromXml(const CXmlElement &xmlElement, argument
67 xmlElement.getAttribute("SystemClassName", _strSystemClassName);
70 xmlElement.getAttribute("TuningAllowed", _bTuningAllowed);
73 xmlElement.getAttribute("ServerPort", _uiServerPort);
76 return base::fromXml(xmlElement, serializingContext);
H A DPluginLocation.cpp49 bool CPluginLocation::fromXml(const CXmlElement &xmlElement, CXmlSerializingContext & /*ctx*/) argument
52 xmlElement.getAttribute("Folder", _strFolder);
55 CXmlElement::CChildIterator childIterator(xmlElement);
H A DBitParameterBlockType.cpp59 bool CBitParameterBlockType::fromXml(const CXmlElement &xmlElement, argument
63 xmlElement.getAttribute("Size", _size);
67 return base::fromXml(xmlElement, serializingContext);
77 void CBitParameterBlockType::toXml(CXmlElement &xmlElement, argument
81 xmlElement.setAttribute("Size", _size * 8);
83 base::toXml(xmlElement, serializingContext);
H A DEnumValuePair.cpp54 bool CEnumValuePair::fromXml(const CXmlElement &xmlElement, argument
59 xmlElement.getAttribute("Literal", name);
63 xmlElement.getAttribute("Numerical", _iNumerical);
66 return base::fromXml(xmlElement, serializingContext);
77 void CEnumValuePair::toXml(CXmlElement &xmlElement, argument
81 xmlElement.setAttribute("Literal", this->getName());
84 xmlElement.setAttribute("Numerical", getNumericalAsString());
88 base::childrenToXml(xmlElement, serializingContext);
H A DParameterAdaptation.cpp66 bool CParameterAdaptation::fromXml(const CXmlElement &xmlElement, argument
69 xmlElement.getAttribute("Offset", _iOffset);
72 return base::fromXml(xmlElement, serializingContext);
H A DStringParameterType.cpp60 bool CStringParameterType::fromXml(const CXmlElement &xmlElement, argument
64 xmlElement.getAttribute("MaxLength", _maxLength);
67 return base::fromXml(xmlElement, serializingContext);
82 void CStringParameterType::toXml(CXmlElement &xmlElement, argument
86 xmlElement.setAttribute("MaxLength", _maxLength);
88 base::toXml(xmlElement, serializingContext);
H A DBaseParameter.cpp197 void CBaseParameter::structureToXml(CXmlElement &xmlElement, argument
202 getTypeElement()->toXml(xmlElement, serializingContext);
H A DComponentType.cpp71 bool CComponentType::fromXml(const CXmlElement &xmlElement, argument
81 if (!base::fromXml(xmlElement, serializingContext)) {
87 if (xmlElement.hasAttribute("Extends")) {
90 xmlElement.getAttribute("Extends", strExtendsType);
97 xmlElement.getPath() + " not found!");
105 xmlElement.getPath());
H A DXmlFileIncluderElement.cpp49 bool CXmlFileIncluderElement::fromXml(const CXmlElement &xmlElement, argument
58 xmlElement.getAttribute("Path", strPath);
H A DComponentInstance.cpp79 bool CComponentInstance::fromXml(const CXmlElement &xmlElement, argument
89 xmlElement.getAttribute("Type", strComponentType);
95 serializingContext.setError("Unable to create Component " + xmlElement.getPath() +
103 " due to " + xmlElement.getPath() +
109 return base::fromXml(xmlElement, serializingContext);
H A DCompoundRule.cpp129 bool CCompoundRule::fromXml(const CXmlElement &xmlElement, argument
134 xmlElement.getAttribute("Type", strType);
138 return base::fromXml(xmlElement, serializingContext);
142 void CCompoundRule::toXml(CXmlElement &xmlElement, CXmlSerializingContext &serializingContext) const argument
145 xmlElement.setAttribute("Type", _apcTypes[_bTypeAll]);
148 base::toXml(xmlElement, serializingContext);
H A DFloatingPointParameterType.cpp84 bool CFloatingPointParameterType::fromXml(const CXmlElement &xmlElement, argument
89 xmlElement.getAttribute("Size", sizeInBits);
96 getKind() + " " + xmlElement.getPath() +
104 xmlElement.getAttribute("Min", _fMin);
105 xmlElement.getAttribute("Max", _fMax);
113 return base::fromXml(xmlElement, serializingContext);
276 void CFloatingPointParameterType::toXml(CXmlElement &xmlElement, argument
279 xmlElement.setAttribute("Size", getSize() * CHAR_BIT);
280 xmlElement.setAttribute("Min", _fMin);
281 xmlElement
[all...]
H A DSelectionCriterion.cpp183 void CSelectionCriterion::toXml(CXmlElement &xmlElement, argument
187 xmlElement.setAttribute("Value", _pType->getFormattedState(_iState));
190 _pType->toXml(xmlElement, serializingContext);
192 base::toXml(xmlElement, serializingContext);
H A DSelectionCriterionRule.cpp143 bool CSelectionCriterionRule::fromXml(const CXmlElement &xmlElement, argument
152 xmlElement.getAttribute("SelectionCriterion", strSelectionCriterion);
163 xmlElement.getPath());
170 xmlElement.getAttribute("MatchesWhen", strMatchesWhen);
176 getKind() + " " + xmlElement.getPath() + ": " + strError);
183 xmlElement.getAttribute("Value", strValue);
188 getKind() + " " + xmlElement.getPath());
198 void CSelectionCriterionRule::toXml(CXmlElement &xmlElement, CXmlSerializingContext & /*ctx*/) const argument
203 xmlElement.setAttribute("SelectionCriterion", _pSelectionCriterion->getName());
206 xmlElement
[all...]
H A DBitParameterType.cpp74 bool CBitParameterType::fromXml(const CXmlElement &xmlElement, argument
78 xmlElement.getAttribute("Pos", _bitPos);
81 xmlElement.getAttribute("Size", _uiBitSize);
104 if (xmlElement.getAttribute("Max", _uiMax) && (_uiMax > getMaxEncodableValue())) {
118 return base::fromXml(xmlElement, serializingContext);
243 void CBitParameterType::toXml(CXmlElement &xmlElement, argument
247 xmlElement.setAttribute("Pos", _bitPos);
250 xmlElement.setAttribute("Size", _uiBitSize);
253 xmlElement.setAttribute("Max", _uiMax);
255 base::toXml(xmlElement, serializingContex
[all...]
H A DEnumParameterType.cpp76 bool CEnumParameterType::fromXml(const CXmlElement &xmlElement, argument
81 if (not xmlElement.getAttribute("Size", sizeInBits)) {
89 return base::fromXml(xmlElement, serializingContext);
256 void CEnumParameterType::toXml(CXmlElement &xmlElement, argument
260 xmlElement.setAttribute("Size", getSize() * 8);
262 base::toXml(xmlElement, serializingContext);
H A DFixedPointParameterType.cpp90 bool CFixedPointParameterType::fromXml(const CXmlElement &xmlElement, argument
95 xmlElement.getAttribute("Size", sizeInBits);
98 xmlElement.getAttribute("Integral", _uiIntegral);
99 xmlElement.getAttribute("Fractional", _uiFractional);
105 xmlElement.getAttribute("Size", size);
107 "Inconsistent Size vs. Q notation for " + getKind() + " " + xmlElement.getPath() +
116 return base::fromXml(xmlElement, serializingContext);
362 void CFixedPointParameterType::toXml(CXmlElement &xmlElement, argument
366 xmlElement.setAttribute("Size", getSize() * 8);
369 xmlElement
[all...]
H A DInstanceConfigurableElement.cpp218 void CInstanceConfigurableElement::structureToXml(CXmlElement &xmlElement, argument
221 base::structureToXml(xmlElement, serializingContext);
223 getTypeElement()->setXmlDescriptionAttribute(xmlElement);

Completed in 228 milliseconds

12