Lines Matching refs:curElem

43     const XMLElement* curElem = rootElem;  in printElementNames()  local
45 while (curElem != nullptr) { in printElementNames()
46 LOG(VERBOSE) << "[ELEM] " << prefix << curElem->Name(); in printElementNames()
47 const XMLAttribute* curAttr = curElem->FirstAttribute(); in printElementNames()
54 printElementNames(curElem->FirstChildElement(), prefix + "\t"); in printElementNames()
56 curElem = curElem->NextSiblingElement(); in printElementNames()
66 const XMLElement* curElem = aCameraElem->FirstChildElement(); in readCameraInfo() local
67 while (curElem != nullptr) { in readCameraInfo()
68 if (!strcmp(curElem->Name(), "group")) { in readCameraInfo()
70 const char* id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
76 if (!readCameraDeviceInfo(aCamera, curElem)) { in readCameraInfo()
83 const char* sync = curElem->FindAttribute("synchronized")->Value(); in readCameraInfo()
94 } else if (!strcmp(curElem->Name(), "device")) { in readCameraInfo()
96 const char* id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
99 const char* pos = curElem->FindAttribute("position")->Value(); in readCameraInfo()
105 if (!readCameraDeviceInfo(aCamera, curElem)) { in readCameraInfo()
118 LOG(DEBUG) << "Unknown element " << curElem->Name() << " is ignored"; in readCameraInfo()
121 curElem = curElem->NextSiblingElement(); in readCameraInfo()
158 const XMLElement* curElem = nullptr; in readCameraCapabilities() local
161 curElem = aCapElem->FirstChildElement("supported_controls"); in readCameraCapabilities()
162 if (curElem != nullptr) { in readCameraCapabilities()
163 const XMLElement* ctrlElem = curElem->FirstChildElement("control"); in readCameraCapabilities()
186 curElem = aCapElem->FirstChildElement("stream"); in readCameraCapabilities()
187 while (curElem != nullptr) { in readCameraCapabilities()
189 const XMLAttribute* idAttr = curElem->FindAttribute("id"); in readCameraCapabilities()
190 const XMLAttribute* widthAttr = curElem->FindAttribute("width"); in readCameraCapabilities()
191 const XMLAttribute* heightAttr = curElem->FindAttribute("height"); in readCameraCapabilities()
192 const XMLAttribute* fmtAttr = curElem->FindAttribute("format"); in readCameraCapabilities()
193 const XMLAttribute* fpsAttr = curElem->FindAttribute("framerate"); in readCameraCapabilities()
212 curElem = curElem->NextSiblingElement("stream"); in readCameraCapabilities()
229 const XMLElement* curElem = aParamElem->FirstChildElement("parameter"); in readCameraMetadata() local
232 while (curElem != nullptr) { in readCameraMetadata()
233 if (ConfigManagerUtil::convertToMetadataTag(curElem->FindAttribute("name")->Value(), tag)) { in readCameraMetadata()
242 ConfigManagerUtil::convertFloatArray(curElem->FindAttribute("size") in readCameraMetadata()
244 curElem->FindAttribute("value") in readCameraMetadata()
262 if (ConfigManagerUtil::convertToCameraCapability(curElem->FindAttribute("value") in readCameraMetadata()
277 size_t len = strlen(curElem->FindAttribute("value")->Value()); in readCameraMetadata()
279 memcpy(data, curElem->FindAttribute("value")->Value(), len * sizeof(char)); in readCameraMetadata()
304 LOG(WARNING) << "Parameter " << curElem->FindAttribute("name")->Value() in readCameraMetadata()
309 LOG(WARNING) << "Unsupported metadata tag " << curElem->FindAttribute("name")->Value() in readCameraMetadata()
313 curElem = curElem->NextSiblingElement("parameter"); in readCameraMetadata()