Home
last modified time | relevance | path

Searched refs:pathNavigator (Results 1 – 13 of 13) sorted by relevance

/external/parameter-framework/upstream/parameter/
DElementLocator.cpp43 CPathNavigator pathNavigator(strPath); in locate() local
45 if (!pathNavigator.isPathValid()) { in locate()
53 string *pStrChildName = pathNavigator.next(); in locate()
75 *ppElement = _pSubRootElement->findDescendant(pathNavigator); in locate()
DArrayParameter.cpp72 bool CArrayParameter::accessValue(CPathNavigator &pathNavigator, string &strValue, bool bSet, in accessValue() argument
77 if (!getIndex(pathNavigator, index, parameterAccessContext)) { in accessValue()
203 bool CArrayParameter::getIndex(CPathNavigator &pathNavigator, size_t &index, in getIndex() argument
208 string *pStrChildName = pathNavigator.next(); in getIndex()
220 pathNavigator.getCurrentPath()); in getIndex()
236 pStrChildName = pathNavigator.next(); in getIndex()
241 parameterAccessContext.setError("Path not found: " + pathNavigator.getCurrentPath()); in getIndex()
DElement.cpp409 const CElement *CElement::findDescendant(CPathNavigator &pathNavigator) const in findDescendant()
411 string *pStrChildName = pathNavigator.next(); in findDescendant()
425 return pChild->findDescendant(pathNavigator); in findDescendant()
428 CElement *CElement::findDescendant(CPathNavigator &pathNavigator) in findDescendant() argument
430 string *pStrChildName = pathNavigator.next(); in findDescendant()
444 return pChild->findDescendant(pathNavigator); in findDescendant()
DInstanceConfigurableElement.cpp203 bool CInstanceConfigurableElement::checkPathExhausted(CPathNavigator &pathNavigator, in checkPathExhausted() argument
206 std::string *pStrChildName = pathNavigator.next(); in checkPathExhausted()
211 errorContext.setError("Path not found: " + pathNavigator.getCurrentPath()); in checkPathExhausted()
DConfigurableElement.cpp203 bool CConfigurableElement::accessValue(CPathNavigator &pathNavigator, std::string &strValue, in accessValue() argument
207 std::string *pStrChildName = pathNavigator.next(); in accessValue()
212 pathNavigator.getCurrentPath() + in accessValue()
223 parameterAccessContext.setError("Path not found: " + pathNavigator.getCurrentPath()); in accessValue()
228 return pChild->accessValue(pathNavigator, strValue, bSet, parameterAccessContext); in accessValue()
DBaseParameter.cpp185 bool CBaseParameter::accessValue(CPathNavigator &pathNavigator, string &strValue, bool bSet, in accessValue() argument
189 if (!checkPathExhausted(pathNavigator, parameterAccessContext)) { in accessValue()
DArrayParameter.h57 virtual bool accessValue(CPathNavigator &pathNavigator, std::string &strValue, bool bSet,
75 bool getIndex(CPathNavigator &pathNavigator, size_t &index,
DElement.h104 const CElement *findDescendant(CPathNavigator &pathNavigator) const;
105 CElement *findDescendant(CPathNavigator &pathNavigator);
DInstanceConfigurableElement.h116 static bool checkPathExhausted(CPathNavigator &pathNavigator,
DBaseParameter.h92 virtual bool accessValue(CPathNavigator &pathNavigator, std::string &strValue, bool bSet,
DConfigurableElement.h112 virtual bool accessValue(CPathNavigator &pathNavigator, std::string &strValue, bool bSet,
DConfigurableDomain.cpp278 CPathNavigator pathNavigator(strConfigurableElementPath); in parseConfigurableElements() local
282 if (!pathNavigator.navigateThrough(systemClass.getName(), strError)) { in parseConfigurableElements()
292 static_cast<CConfigurableElement *>(systemClass.findDescendant(pathNavigator)); in parseConfigurableElements()
DParameterMgr.cpp700 CPathNavigator pathNavigator(strPath); in getConfigurableElement() local
703 if (!pathNavigator.navigateThrough(getConstSystemClass()->getName(), strError)) { in getConfigurableElement()
709 const CElement *pElement = getConstSystemClass()->findDescendant(pathNavigator); in getConfigurableElement()
2096 CPathNavigator pathNavigator(strPath); in accessValue() local
2099 if (!pathNavigator.navigateThrough(getConstSystemClass()->getName(), strError)) { in accessValue()
2107 return getConstSystemClass()->accessValue(pathNavigator, strValue, bSet, in accessValue()