Lines Matching refs:ENABLED
238 static constexpr Switch ENABLED() { return IS_ENABLED; };
265 return enablement->second == "1" ? Switch::ENABLED() : Switch::DISABLED();
391 // TODO: Remove this block once all codecs are enabled by default.
436 // verify that either the codec is explicitly enabled, or one of its domains is
440 const Switch enabled = isDomainEnabled(domain, settings);
442 nameOrAlias.c_str(), domain.c_str(), asString(enabled));
443 if (enabled) {
449 // if codec has variants, also check that at least one of them is enabled
452 const Switch enabled = isVariantExpressionEnabled(variant, settings);
454 nameOrAlias.c_str(), variant.c_str(), asString(enabled));
455 if (enabled) {
530 const Switch enabled = isVariantExpressionEnabled(variant, settings);
531 ALOGV("variant '%s' is '%s'", variant.c_str(), asString(enabled));
532 if (!enabled) {