Lines Matching refs:annot
446 auto annot = GetAnnotation(annotations_, AidlAnnotation::Type::NULLABLE); in IsHeapNullable() local
447 if (annot) { in IsHeapNullable()
448 return annot->ParamValue<bool>("heap").value_or(false); in IsHeapNullable()
496 auto annot = GetAnnotation(annotations_, AidlAnnotation::Type::SUPPRESS_WARNINGS); in SuppressWarnings() local
497 if (annot) { in SuppressWarnings()
498 auto names = annot->ParamValue<std::vector<std::string>>("value"); in SuppressWarnings()
507 auto annot = GetAnnotation(annotations_, AidlAnnotation::Type::PERMISSION_ENFORCE); in EnforceExpression() local
508 if (annot) { in EnforceExpression()
509 auto perm_expr = annot->EnforceExpression(); in EnforceExpression()
1612 if (auto annot = BackingType(); annot != nullptr) { in Autofill() local
1616 if (!annot->CheckValid()) { in Autofill()
1619 auto type = annot->ParamValue<std::string>("type").value(); in Autofill()
1620 backing_type_ = typenames.MakeResolvedType(annot->GetLocation(), type, false); in Autofill()