Lines Matching refs:curElem
41 const XMLElement *curElem = aCameraElem->FirstChildElement(); in readCameraInfo() local
42 while (curElem != nullptr) { in readCameraInfo()
43 if (!strcmp(curElem->Name(), "group")) { in readCameraInfo()
45 const char *id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
51 if (!readCameraDeviceInfo(aCamera, curElem)) { in readCameraInfo()
58 const char *sync = curElem->FindAttribute("synchronized")->Value(); in readCameraInfo()
71 } else if (!strcmp(curElem->Name(), "device")) { in readCameraInfo()
73 const char *id = curElem->FindAttribute("id")->Value(); in readCameraInfo()
76 const char *pos = curElem->FindAttribute("position")->Value(); in readCameraInfo()
82 if (!readCameraDeviceInfo(aCamera, curElem)) { in readCameraInfo()
95 ALOGD("Unknown element %s is ignored", curElem->Name()); in readCameraInfo()
98 curElem = curElem->NextSiblingElement(); in readCameraInfo()
146 const XMLElement *curElem = nullptr; in readCameraCapabilities() local
149 curElem = aCapElem->FirstChildElement("supported_controls"); in readCameraCapabilities()
150 if (curElem != nullptr) { in readCameraCapabilities()
151 const XMLElement *ctrlElem = curElem->FirstChildElement("control"); in readCameraCapabilities()
177 curElem = aCapElem->FirstChildElement("stream"); in readCameraCapabilities()
178 while (curElem != nullptr) { in readCameraCapabilities()
180 const XMLAttribute *idAttr = curElem->FindAttribute("id"); in readCameraCapabilities()
181 const XMLAttribute *widthAttr = curElem->FindAttribute("width"); in readCameraCapabilities()
182 const XMLAttribute *heightAttr = curElem->FindAttribute("height"); in readCameraCapabilities()
183 const XMLAttribute *fmtAttr = curElem->FindAttribute("format"); in readCameraCapabilities()
184 const XMLAttribute *fpsAttr = curElem->FindAttribute("framerate"); in readCameraCapabilities()
206 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(), in readCameraMetadata()
243 curElem->FindAttribute("size")->Value(), in readCameraMetadata()
244 curElem->FindAttribute("value")->Value(), in readCameraMetadata()
264 curElem->FindAttribute("value")->Value(), *data)) { in readCameraMetadata()
265 curElem->FindAttribute("value")->Value(), in readCameraMetadata()
280 size_t len = strlen(curElem->FindAttribute("value")->Value()); in readCameraMetadata()
283 curElem->FindAttribute("value")->Value(), in readCameraMetadata()
308 curElem->FindAttribute("name")->Value()); in readCameraMetadata()
313 curElem = curElem->NextSiblingElement("parameter"); in readCameraMetadata()