Home
last modified time | relevance | path

Searched defs:Hook (Results 1 – 1 of 1) sorted by relevance

/system/tools/aidl/
Ddiagnostics.cpp108 struct Hook : public AidlVisitor { in Check() struct
109 Fun fun; in Check()
110 Hook(Fun fun) : fun(fun) {} in Check() function
111 void Visit(const AidlInterface& a) override { fun(a); } in Check()
112 void Visit(const AidlEnumDeclaration& a) override { fun(a); } in Check()
113 void Visit(const AidlStructuredParcelable& a) override { fun(a); } in Check()
114 void Visit(const AidlUnionDecl& a) override { fun(a); } in Check()
115 void Visit(const AidlParcelable& a) override { fun(a); } in Check()
116 void Visit(const AidlMethod& a) override { fun(a.GetType()); } in Check()