Home
last modified time | relevance | path

Searched refs:rootElem (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/surround_view/service-impl/
DConfigReader.cpp239 const XMLElement* rootElem = xmlDoc.RootElement(); in ReadSurroundViewConfig() local
240 if (strcmp(rootElem->Name(), "SurroundViewConfig")) { in ReadSurroundViewConfig()
246 RETURN_ERROR_STATUS_IF_FALSE(ReadValue(rootElem, "Version", &svConfig->version)); in ReadSurroundViewConfig()
249 RETURN_ERROR_STATUS_IF_FALSE(ReadCameraConfig(rootElem, &svConfig->cameraConfig)); in ReadSurroundViewConfig()
252 RETURN_ERROR_STATUS_IF_FALSE(ReadSvConfig2d(rootElem, &svConfig->sv2dConfig)); in ReadSurroundViewConfig()
255 RETURN_ERROR_STATUS_IF_FALSE(ReadSvConfig3d(rootElem, &svConfig->sv3dConfig)); in ReadSurroundViewConfig()
DCarModelConfigReader.cpp253 bool ReadAllAnimations(const XMLElement* rootElem, std::vector<AnimationInfo>* animations) { in ReadAllAnimations() argument
256 for (const XMLElement* elem = rootElem->FirstChildElement("Animation"); elem != nullptr; in ReadAllAnimations()
278 const XMLElement* rootElem = xmlDoc.RootElement(); in ReadCarModelConfig() local
279 if (strcmp(rootElem->Name(), "SurroundViewCarModelConfig")) { in ReadCarModelConfig()
285 RETURN_ERROR_STATUS_IF_FALSE(ReadValue(rootElem, "Version", &animationConfig->version)); in ReadCarModelConfig()
288 RETURN_ERROR_STATUS_IF_FALSE(ReadAllAnimations(rootElem, &animationConfig->animations)); in ReadCarModelConfig()
/packages/services/Car/evs/sampleDriver/
DConfigManager.cpp35 void ConfigManager::printElementNames(const XMLElement *rootElem, in printElementNames() argument
37 const XMLElement *curElem = rootElem; in printElementNames()
504 const XMLElement *rootElem = xmlDoc.RootElement(); in readConfigDataFromXML() local
505 if (strcmp(rootElem->Name(), "configuration")) { in readConfigDataFromXML()
517 readCameraInfo(rootElem->FirstChildElement("camera")); in readConfigDataFromXML()
520 readSystemInfo(rootElem->FirstChildElement("system")); in readConfigDataFromXML()
523 readDisplayInfo(rootElem->FirstChildElement("display")); in readConfigDataFromXML()