Home
last modified time | relevance | path

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

12

/system/tools/hidl/
DInterface.h32 struct Method;
46 void addUserDefinedMethod(Method* method);
47 bool addAllReservedMethods(const std::map<std::string, Method*>& allReservedMethods);
64 const std::vector<Method *> &userDefinedMethods() const;
66 const std::vector<Method *> &hidlReservedMethods() const;
68 std::vector<Method *> methods() const;
141 std::vector<Method*> mUserMethods;
142 std::vector<Method*> mReservedMethods;
146 bool fillPingMethod(Method* method) const;
147 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.cpp58 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
89 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
133 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
181 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
199 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod()
232 bool Interface::fillDescriptorChainMethod(Method *method) const { in fillDescriptorChainMethod()
285 bool Interface::fillHashChainMethod(Method *method) const { in fillHashChainMethod()
320 bool Interface::fillGetDescriptorMethod(Method *method) const { in fillGetDescriptorMethod()
342 bool Interface::fillGetDebugInfoMethod(Method *method) const { in fillGetDebugInfoMethod()
394 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()
694 [&](const Method* method, const Interface*) { in generateStubHeader()
717 generateMethods(out, [&](const Method* method, const Interface* iface) { in generateStubHeader()
785 [&](const Method* method, const Interface*) { in generateProxyHeader()
804 generateMethods(out, [&](const Method* method, const Interface*) { in generateProxyHeader()
967 const Method* method, const Interface* superInterface) const { in generateProxyMethodSource()
1015 … const Method* method, const Interface* superInterface) const { in generateStaticProxyMethodSource()
1234 [&](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()
DAndroid.bp78 "Method.cpp",
Dhidl-gen_y.yy29 #include "Method.h"
331 android::Method *method;
830 $$ = new Method($2 /* name */,
839 $$ = new Method($3 /* name */,
853 $$ = new Method($2 /* name */,
DAST.cpp910 bool AST::addMethod(Method* method, Interface* iface) { in addMethod()
928 std::map<std::string, Method*> allReservedMethods(mAllReservedMethods); in addAllReservedMethodsToInterface()
/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(const Interface& interface) { in getUserDefinedMethods()
65 std::vector<const Method*> methods; in getUserDefinedMethods()
67 const std::vector<Method*> userDefined = iface->userDefinedMethods(); in getUserDefinedMethods()
158 std::map<std::string, NodeWithVersion<Method>> latestMethodForBaseName; in emitAidl()
159 std::vector<const NodeWithVersion<Method>> supersededMethods; in emitAidl()
162 for (const Method* method : (*iface)->userDefinedMethods()) { in emitAidl()
197 [&](const NodeWithVersion<Method>& versionedMethod) { in emitAidl()
212 [&](const std::pair<std::string, NodeWithVersion<Method>>& methodPair) { in emitAidl()
213 const Method* method = methodPair.second.node; in emitAidl()
DAidlHelper.h29 struct Method;
64 static std::vector<const Method*> getUserDefinedMethods(const Interface& interface);
DAidlHelper.cpp109 const std::vector<const Method*>& methods = in emitFileHeader()
111 for (const Method* method : methods) { in emitFileHeader()
/system/chre/host/msm/daemon/generated/
Dchre_slpi_skel.c391 typedef struct Method Method; typedef
392 struct Method { struct
407 const Method * const *methodArray; argument
435 static const Method methods[3] = {{REMOTE_SCALARS_MAKEX(0,0,0x0,0x0,0x0,0x0),0x0,0x0,0,0,0,0x0,0x0}…
436 static const Method* const methodArrays[6] = {&(methods[0]),&(methods[0]),&(methods[0]),&(methods[0…
Dchre_slpi_stub.c391 typedef struct Method Method; typedef
392 struct Method { struct
407 const Method * const *methodArray; argument
435 static const Method methods[3] = {{REMOTE_SCALARS_MAKEX(0,0,0x0,0x0,0x0,0x0),0x0,0x0,0,0,0,0x0,0x0}…
436 static const Method* const methodArrays[6] = {&(methods[0]),&(methods[0]),&(methods[0]),&(methods[0…
/system/tools/aidl/
Dgenerate_java_binder.cpp120 auto ctor = std::make_shared<Method>(); in StubClass()
142 auto asBinder = std::make_shared<Method>(); in StubClass()
152 auto getDefaultTransactionName = std::make_shared<Method>(); in StubClass()
165 auto getTransactionName = std::make_shared<Method>(); in StubClass()
184 auto onTransact = std::make_shared<Method>(); in StubClass()
254 auto m = std::make_shared<Method>(); in make_as_interface()
322 auto ctor = std::make_shared<Method>(); in ProxyClass()
341 auto asBinder = std::make_shared<Method>(); in ProxyClass()
400 static std::shared_ptr<Method> generate_interface_method(const AidlMethod& method, in generate_interface_method()
402 auto decl = std::make_shared<Method>(); in generate_interface_method()
[all …]
Dgenerate_java.cpp167 auto write_method = std::make_shared<Method>(); in generate_parcel_class()
207 auto constructor = std::make_shared<Method>(); in generate_parcel_class()
233 auto read_or_create_method = std::make_shared<Method>(); in generate_parcel_class()
235 auto constructor = std::make_shared<Method>(); in generate_parcel_class()
348 auto describe_contents_method = std::make_shared<Method>(); in generate_parcel_class()
Dast_java.h292 struct Method : public ClassElement { struct
302 Method() = default; argument
303 virtual ~Method() = default;
/system/libziparchive/cli-tests/
Dunzip.test37 Length Method Size Cmpr Date Time CRC-32 Name
49 Length Method Size Cmpr Date Time CRC-32 Name

12