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.cpp87 bool Interface::fillPingMethod(Method *method) const { in fillPingMethod()
118 bool Interface::fillLinkToDeathMethod(Method *method) const { in fillLinkToDeathMethod()
162 bool Interface::fillUnlinkToDeathMethod(Method *method) const { in fillUnlinkToDeathMethod()
210 bool Interface::fillSyspropsChangedMethod(Method *method) const { in fillSyspropsChangedMethod()
228 bool Interface::fillSetHALInstrumentationMethod(Method *method) const { in fillSetHALInstrumentationMethod()
261 bool Interface::fillDescriptorChainMethod(Method *method) const { in fillDescriptorChainMethod()
314 bool Interface::fillHashChainMethod(Method *method) const { in fillHashChainMethod()
349 bool Interface::fillGetDescriptorMethod(Method *method) const { in fillGetDescriptorMethod()
371 bool Interface::fillGetDebugInfoMethod(Method *method) const { in fillGetDebugInfoMethod()
423 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()
1243 [&](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.cpp312 const Method *method = tuple.method(); in generateJava()
436 for (Method *method : iface->hidlReservedMethods()) { in generateJava()
497 const Method *method = tuple.method(); in generateJava()
DAndroid.bp81 "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.cpp887 bool AST::addMethod(Method* method, Interface* iface) { in addMethod()
905 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()
77 const Method* method;
84 const Method* method = versionedMethod.method; in pushVersionedMethodOntoMap()
165 for (const Method* method : (*iface)->userDefinedMethods()) { in emitAidl()
186 const Method* method = methodMap[name].method; in emitAidl()
DAidlHelper.h28 struct Method;
62 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.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.cpp133 auto ctor = std::make_shared<Method>(); in StubClass()
155 auto asBinder = std::make_shared<Method>(); in StubClass()
165 auto getDefaultTransactionName = std::make_shared<Method>(); in StubClass()
178 auto getTransactionName = std::make_shared<Method>(); in StubClass()
197 auto onTransact = std::make_shared<Method>(); in StubClass()
267 auto m = std::make_shared<Method>(); in make_as_interface()
335 auto ctor = std::make_shared<Method>(); in ProxyClass()
354 auto asBinder = std::make_shared<Method>(); in ProxyClass()
413 static std::shared_ptr<Method> generate_interface_method(const AidlMethod& method, in generate_interface_method()
415 auto decl = std::make_shared<Method>(); in generate_interface_method()
[all …]
Dgenerate_java.cpp141 auto write_method = std::make_shared<Method>(); in generate_parcel_class()
180 auto read_method = std::make_shared<Method>(); in generate_parcel_class()
230 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/core/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