Lines Matching refs:atts
179 void ISVProfile::getConfigData(const char *name, const char **atts) in getConfigData() argument
186 if (strcmp(atts[attIndex], "name") == 0) { in getConfigData()
187 if (getFilterID(atts[attIndex + 1]) == 0) { in getConfigData()
188 ALOGE("Couldn't parase the filter %s\n", atts[attIndex+1]); in getConfigData()
195 if (!strcmp(atts[attIndex], "value") && !strcmp(atts[attIndex + 1], "true")) in getConfigData()
201 if (mCurrentFilter && !strcmp(atts[attIndex], "value")) { in getConfigData()
202 if (!strcmp(atts[attIndex + 1], "0")) in getConfigData()
204 else if (!strcmp(atts[attIndex + 1], "FFFFFFFF")) in getConfigData()
207 mConfigs[mCurrentFilter].minResolution = getResolution(atts[attIndex + 1]); in getConfigData()
212 if (mCurrentFilter && !strcmp(atts[attIndex], "value")) { in getConfigData()
213 if (!strcmp(atts[attIndex + 1], "0")) in getConfigData()
215 else if (!strcmp(atts[attIndex + 1], "FFFFFFFF")) in getConfigData()
218 mConfigs[mCurrentFilter].maxResolution = getResolution(atts[attIndex + 1]); in getConfigData()
224 if (!strcmp(atts[attIndex], "input") && !strcmp(atts[attIndex + 2], "rate")) { in getConfigData()
225 mFrcRates[mCurrentFrcTab].input_fps = atoi(atts[attIndex + 1]); in getConfigData()
226 if (!strcmp(atts[attIndex + 3], "2")) in getConfigData()
228 else if (!strcmp(atts[attIndex + 3], "2.5")) in getConfigData()
230 else if (!strcmp(atts[attIndex + 3], "4")) in getConfigData()
244 handleFilterParameter(name, atts); in getConfigData()
247 handleCommonParameter(name, atts); in getConfigData()
252 void ISVProfile::handleFilterParameter(const char *name, const char **atts) in handleFilterParameter() argument
261 if (strcmp(atts[attIndex], "name") || strcmp(atts[attIndex + 2], "value")) { in handleFilterParameter()
262 …ALOGE("\"%s\" or \"%s\" couldn't match the %s format\n", atts[attIndex], atts[attIndex + 2], name); in handleFilterParameter()
268 void ISVProfile::handleCommonParameter(const char *name, const char **atts) in handleCommonParameter() argument
272 if (strcmp(atts[attIndex], "name") || strcmp(atts[attIndex + 2], "value")) { in handleCommonParameter()
273 …ALOGE("\"%s\" or \"%s\" couldn't match the %s format\n", atts[attIndex], atts[attIndex + 2], name); in handleCommonParameter()
278 if (strcmp(atts[attIndex + 1], "DefaultVPPStatus") == 0) in handleCommonParameter()
279 mDefaultVPPStatus = atoi(atts[attIndex + 3]); in handleCommonParameter()
281 else if (strcmp(atts[attIndex + 1], "DefaultFRCStatus") == 0) in handleCommonParameter()
282 mDefaultFRCStatus = atoi(atts[attIndex + 3]); in handleCommonParameter()
285 void ISVProfile::startElement(void *userData, const char *name, const char **atts) in startElement() argument
289 profile->getConfigData(name, atts); in startElement()