Home
last modified time | relevance | path

Searched refs:annot (Results 1 – 3 of 3) sorted by relevance

/system/tools/aidl/
Daidl_language.cpp446 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
[all …]
Daidl.cpp342 for (const auto& annot : annotatable.GetAnnotations()) { in ValidateAnnotationContext() local
343 if (!annot->CheckContext(context)) { in ValidateAnnotationContext()
Daidl_language.h390 for (const auto& annot : GetAnnotations()) {
391 traverse(*annot);