Lines Matching refs:AidlAnnotation
312 void Check(const AidlAnnotatable& annotatable, AidlAnnotation::TargetContext context) { in ValidateAnnotationContext()
320 Check(m, AidlAnnotation::CONTEXT_TYPE_INTERFACE); in ValidateAnnotationContext()
323 Check(m, AidlAnnotation::CONTEXT_TYPE_UNSTRUCTURED_PARCELABLE); in ValidateAnnotationContext()
326 Check(m, AidlAnnotation::CONTEXT_TYPE_STRUCTURED_PARCELABLE); in ValidateAnnotationContext()
329 Check(m, AidlAnnotation::CONTEXT_TYPE_ENUM); in ValidateAnnotationContext()
331 void Visit(const AidlUnionDecl& m) override { Check(m, AidlAnnotation::CONTEXT_TYPE_UNION); } in ValidateAnnotationContext()
333 Check(m.GetType(), AidlAnnotation::CONTEXT_TYPE_SPECIFIER | AidlAnnotation::CONTEXT_METHOD); in ValidateAnnotationContext()
335 Check(arg->GetType(), AidlAnnotation::CONTEXT_TYPE_SPECIFIER); in ValidateAnnotationContext()
339 Check(m.GetType(), AidlAnnotation::CONTEXT_TYPE_SPECIFIER | AidlAnnotation::CONTEXT_CONST); in ValidateAnnotationContext()
342 Check(m.GetType(), AidlAnnotation::CONTEXT_TYPE_SPECIFIER | AidlAnnotation::CONTEXT_FIELD); in ValidateAnnotationContext()
348 Check(*tp, AidlAnnotation::CONTEXT_TYPE_SPECIFIER); in ValidateAnnotationContext()