Lines Matching refs:annot
442 auto annot = GetAnnotation(annotations_, AidlAnnotation::Type::NULLABLE); in IsHeapNullable() local
443 if (annot) { in IsHeapNullable()
444 return annot->ParamValue<bool>("heap").value_or(false); in IsHeapNullable()
492 auto annot = GetAnnotation(annotations_, AidlAnnotation::Type::SUPPRESS_WARNINGS); in SuppressWarnings() local
493 if (annot) { in SuppressWarnings()
494 auto names = annot->ParamValue<std::vector<std::string>>("value"); in SuppressWarnings()
503 auto annot = GetAnnotation(annotations_, AidlAnnotation::Type::PERMISSION_ENFORCE); in EnforceExpression() local
504 if (annot) { in EnforceExpression()
505 auto perm_expr = annot->EnforceExpression(); in EnforceExpression()
1602 if (auto annot = BackingType(); annot != nullptr) { in Autofill() local
1606 if (!annot->CheckValid()) { in Autofill()
1609 auto type = annot->ParamValue<std::string>("type").value(); in Autofill()
1610 backing_type_ = typenames.MakeResolvedType(annot->GetLocation(), type, false); in Autofill()