Searched defs:optional (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp795 int32_t optional = -1; local
808 } else if (!strcmp(attrs[i], "optional") || !strcmp(attrs[i], "required")) {
810 if (!strcmp(attrs[i], "optional")) {
811 optional = value;
829 if (optional == required && optional != -1) {
830 ALOGE("feature '%s' is both/neither optional and required", name);
834 if ((optional != -1 || required != -1) && (value != NULL)) {
835 ALOGE("feature '%s' has both a value and optional/required attribute", name);
842 mCurrentInfo->addFeature(name, (required == 1) || (optional
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp368 static void printUsesPermission(const String8& name, bool optional=false, int maxSdkVersion=-1) { argument
375 if (optional) {
376 printf("optional-permission: name='%s'",

Completed in 529 milliseconds