Home
last modified time | relevance | path

Searched refs:Method (Results 1 – 25 of 35) sorted by relevance

12

/system/tools/hidl/
DInterface.h32 struct Method;
47 void addUserDefinedMethod(Method* method);
48 bool addAllReservedMethods(const std::map<std::string, Method*>& allReservedMethods);
67 const std::vector<Method *> &userDefinedMethods() const;
69 const std::vector<Method *> &hidlReservedMethods() const;
71 std::vector<Method *> methods() const;
144 std::vector<Method*> mUserMethods;
145 std::vector<Method*> mReservedMethods;
149 bool fillPingMethod(Method* method) const;
150 bool fillDescriptorChainMethod(Method* method) const;
[all …]
DMethod.cpp35 Method::Method(const std::string& name, std::vector<NamedReference<Type>*>* args, in Method() function in android::Method
45 void Method::fillImplementation( in fillImplementation()
61 std::string Method::name() const { in name()
65 const std::vector<NamedReference<Type>*>& Method::args() const { in args()
69 const std::vector<NamedReference<Type>*>& Method::results() const { in results()
73 const std::vector<Annotation *> &Method::annotations() const { in annotations()
77 std::vector<Reference<Type>*> Method::getReferences() { in getReferences()
78 const auto& constRet = static_cast<const Method*>(this)->getReferences(); in getReferences()
85 std::vector<const Reference<Type>*> Method::getReferences() const { in getReferences()
92 std::vector<Reference<Type>*> Method::getStrongReferences() { in getStrongReferences()
[all …]
DAST.h42 struct Method;
219 bool addMethod(Method* method, Interface* iface);
275 std::map<std::string, Method*> mAllReservedMethods;
304 using MethodGenerator = std::function<void(const Method*, const Interface*)>;
312 const Method* method) const;
313 …void generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInterfa…
315 … const Method* method, const Interface* superInterface) const;
317 const Method* method, const Interface* superInterface) const;
318 void generateAdapterMethod(Formatter& out, const Method* method) const;
326 void generateStubSourceForMethod(Formatter& out, const Method* method,
[all …]
DInterface.cpp62 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
93 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
137 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
185 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
203 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod()
236 bool Interface::fillDescriptorChainMethod(Method *method) const { in fillDescriptorChainMethod()
289 bool Interface::fillHashChainMethod(Method *method) const { in fillHashChainMethod()
324 bool Interface::fillGetDescriptorMethod(Method *method) const { in fillGetDescriptorMethod()
346 bool Interface::fillGetDebugInfoMethod(Method *method) const { in fillGetDebugInfoMethod()
398 bool Interface::fillDebugMethod(Method *method) const { in fillDebugMethod()
[all …]
DMethod.h54 struct Method : DocCommentable { struct
55 Method(const std::string& name, std::vector<NamedReference<Type>*>* args,
78 Method *copySignature() const; argument
127 DISALLOW_COPY_AND_ASSIGN(Method); argument
DgenerateCppImpl.cpp42 const Method* method) const { in generateStubImplMethod()
113 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplHeader()
150 generateMethods(out, [&](const Method* method, const Interface*) { in generateCppImplSource()
DgenerateCpp.cpp301 const Method* method = tuple.method(); in generateInterfaceHeader()
458 void AST::generatePassthroughMethod(Formatter& out, const Method* method, const Interface* superInt… in generatePassthroughMethod()
604 const Method *method = tuple.method(); in generateMethods()
703 [&](const Method* method, const Interface*) { in generateStubHeader()
726 generateMethods(out, [&](const Method* method, const Interface* iface) { in generateStubHeader()
794 [&](const Method* method, const Interface*) { in generateProxyHeader()
813 generateMethods(out, [&](const Method* method, const Interface*) { in generateProxyHeader()
976 const Method* method, const Interface* superInterface) const { in generateProxyMethodSource()
1024 … const Method* method, const Interface* superInterface) const { in generateStaticProxyMethodSource()
1245 [&](const Method* method, const Interface* superInterface) { in generateProxySource()
[all …]
DgenerateCppAdapter.cpp59 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterHeader()
109 generateMethods(out, [&](const Method* method, const Interface* /* interface */) { in generateCppAdapterSource()
120 void AST::generateAdapterMethod(Formatter& out, const Method* method) const { in generateAdapterMethod()
DgenerateJavaImpl.cpp42 const Method* method = tuple.method(); in generateJavaImpl()
DgenerateJava.cpp316 const Method *method = tuple.method(); in generateJava()
440 for (Method *method : iface->hidlReservedMethods()) { in generateJava()
501 const Method *method = tuple.method(); in generateJava()
/system/extras/perf2cfg/doc/
DFSM.dot14 "Start" -> "Parse Method Name" [ label = "'begin_compilation'" ];
17 "Parse Method Name" -> "Skip to CFG"
19 "Parse Method Name" -> "Skip Method"
21 "Parse Method Name" -> "Error" [ label = "EOF OR NOT('name')" ];
23 "Skip Method" -> "End" [ label = "EOF" ];
24 "Skip Method" -> "Parse Method Name" [ label = "'begin_compilation'" ];
25 "Skip Method" -> "Skip Method";
69 "End CFG" -> "Parse Method Name" [ label = "'begin_compilation'" ];
/system/tools/hidl/lint/lints/
DmethodVersions.cpp35 static std::string getSanitizedMethodName(const Method& method) { in getSanitizedMethodName()
40 static bool checkMethodVersion(const Method& method, const FQName& fqName, std::string* error) { in checkMethodVersion()
96 for (Method* method : iface->userDefinedMethods()) { in methodVersions()
116 const std::vector<Method*>& superMethods = superType->userDefinedMethods(); in methodVersions()
118 [&](Method* superMethod) -> bool { in methodVersions()
Doneway.cpp43 const std::vector<Method*>& methods = iface.userDefinedMethods(); in getInterfaceOnewayType()
DmethodDocComment.cpp86 for (const Method* method : iface->isIBase() ? iface->methods() : iface->userDefinedMethods()) { in methodDocComments()
/system/tools/hidl/hidl2aidl/
DAidlInterface.cpp64 std::vector<const Method*> AidlHelper::getUserDefinedMethods(Formatter& out, in getUserDefinedMethods()
66 std::vector<const Method*> methods; in getUserDefinedMethods()
76 const std::vector<Method*> userDefined = iface->userDefinedMethods(); in getUserDefinedMethods()
189 std::map<std::string, NodeWithVersion<Method>> latestMethodForBaseName; in emitAidl()
190 std::vector<const NodeWithVersion<Method>> supersededMethods; in emitAidl()
196 for (const Method* method : iface->userDefinedMethods()) { in emitAidl()
231 [&](const NodeWithVersion<Method>& versionedMethod) { in emitAidl()
241 [&](const std::pair<std::string, NodeWithVersion<Method>>& methodPair) { in emitAidl()
242 const Method* method = methodPair.second.node; in emitAidl()
DAidlHelper.h32 struct Method;
103 static std::vector<const Method*> getUserDefinedMethods(Formatter& out,
DAidlHelper.cpp126 const std::vector<const Method*>& methods = in emitFileHeader()
128 for (const Method* method : methods) { in emitFileHeader()
/system/extras/perf2cfg/perf2cfg/
Danalyze.py67 class Method: class
142 self.methods: Dict[str, Method] = {}
207 self.methods[method_name] = Method(method_name)
/system/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c393 typedef struct Method Method; typedef
394 struct Method { struct
409 const Method * const *methodArray; argument
437 static const Method methods[3] = {{REMOTE_SCALARS_MAKEX(0,0,0x0,0x0,0x0,0x0),0x0,0x0,0,0,0,0x0,0x0}…
438 static const Method* const methodArrays[6] = {&(methods[0]),&(methods[0]),&(methods[0]),&(methods[0…
Dchre_slpi_stub.c393 typedef struct Method Method; typedef
394 struct Method { struct
409 const Method * const *methodArray; argument
437 static const Method methods[3] = {{REMOTE_SCALARS_MAKEX(0,0,0x0,0x0,0x0,0x0),0x0,0x0,0,0,0,0x0,0x0}…
438 static const Method* const methodArrays[6] = {&(methods[0]),&(methods[0]),&(methods[0]),&(methods[0…
/system/tools/aidl/
Dgenerate_java_binder.cpp122 auto ctor = std::make_shared<Method>(); in StubClass()
144 auto asBinder = std::make_shared<Method>(); in StubClass()
154 auto getDefaultTransactionName = std::make_shared<Method>(); in StubClass()
167 auto getTransactionName = std::make_shared<Method>(); in StubClass()
186 auto onTransact = std::make_shared<Method>(); in StubClass()
259 auto m = std::make_shared<Method>(); in make_as_interface()
327 auto ctor = std::make_shared<Method>(); in ProxyClass()
346 auto asBinder = std::make_shared<Method>(); in ProxyClass()
403 static std::shared_ptr<Method> generate_interface_method(const AidlMethod& method, in generate_interface_method()
405 auto decl = std::make_shared<Method>(); in generate_interface_method()
[all …]
Dast_java.h292 struct Method : public ClassElement { struct
302 Method() = default; argument
303 virtual ~Method() = default;
Dgenerate_java.cpp480 auto write_method = std::make_shared<Method>(); in generate_parcel_class()
520 auto constructor = std::make_shared<Method>(); in generate_parcel_class()
546 auto read_or_create_method = std::make_shared<Method>(); in generate_parcel_class()
548 auto constructor = std::make_shared<Method>(); in generate_parcel_class()
/system/extras/simpleperf/
Dread_dex_file.cpp46 auto callback = [&](const art_api::dex::DexFile::Method& method) { in ReadSymbols()
/system/bt/gd/rust/linux/stack/btif_macros/src/
Dlib.rs57 if let TraitItem::Method(m) = attr { in btif_callbacks_generator()

12