Home
last modified time | relevance | path

Searched refs:MethodCall (Results 1 – 13 of 13) sorted by relevance

/system/tools/aidl/
Dtype_java.cpp113 addTo->Add(new MethodCall(parcel, m_marshallParcel, 1, v)); in WriteToParcel()
118 addTo->Add(new Assignment(v, new MethodCall(parcel, m_unmarshallParcel))); in CreateFromParcel()
134 addTo->Add(new MethodCall(parcel, m_writeArrayParcel, 1, v)); in WriteToParcel()
139 addTo->Add(new Assignment(v, new MethodCall(parcel, m_createArrayParcel))); in CreateFromParcel()
144 addTo->Add(new MethodCall(parcel, m_readArrayParcel, 1, v)); in ReadFromParcel()
157 addTo->Add(new MethodCall(parcel, "writeRawFileDescriptor", 1, v)); in WriteToParcel()
162 addTo->Add(new Assignment(v, new MethodCall(parcel, "readRawFileDescriptor"))); in CreateFromParcel()
171 addTo->Add(new MethodCall(parcel, "writeRawFileDescriptorArray", 1, v)); in WriteToParcel()
176 addTo->Add(new Assignment(v, new MethodCall(parcel, "createRawFileDescriptorArray"))); in CreateFromParcel()
181 addTo->Add(new MethodCall(parcel, "readRawFileDescriptorArray", 1, v)); in ReadFromParcel()
[all …]
Dgenerate_java_binder.cpp79 MethodCall* attach = in StubClass()
80 new MethodCall(THIS_VALUE, "attachInterface", 2, THIS_VALUE, in StubClass()
116 MethodCall* superCall = new MethodCall( in StubClass()
144 MethodCall* queryLocalInterface = new MethodCall(obj, "queryLocalInterface"); in make_as_interface()
227 addTo->Add(new VariableDeclaration(len, new MethodCall(parcel, "readInt"))); in generate_new_array()
303 MethodCall* realCall = new MethodCall(THIS_VALUE, method.GetName()); in generate_method()
306 c->statements->Add(new MethodCall(stubClass->transact_data, in generate_method()
344 MethodCall* ex = in generate_method()
345 new MethodCall(stubClass->transact_reply, "writeNoException", 0); in generate_method()
355 MethodCall* ex = in generate_method()
[all …]
Dast_java.cpp165 MethodCall::MethodCall(const string& n) : name(n) {} in MethodCall() function in android::aidl::java::MethodCall
167 MethodCall::MethodCall(const string& n, int argc = 0, ...) : name(n) { in MethodCall() function in android::aidl::java::MethodCall
174 MethodCall::MethodCall(Expression* o, const string& n) : obj(o), name(n) {} in MethodCall() function in android::aidl::java::MethodCall
176 MethodCall::MethodCall(const Type* t, const string& n) : clazz(t), name(n) {} in MethodCall() function in android::aidl::java::MethodCall
178 MethodCall::MethodCall(Expression* o, const string& n, int argc = 0, ...) in MethodCall() function in android::aidl::java::MethodCall
186 MethodCall::MethodCall(const Type* t, const string& n, int argc = 0, ...) in MethodCall() function in android::aidl::java::MethodCall
194 void MethodCall::init(int n, va_list args) { in init()
201 void MethodCall::Write(CodeWriter* to) const { in Write()
Dast_java.h160 struct MethodCall : public Expression { struct
167 explicit MethodCall(const std::string& name); argument
168 MethodCall(const std::string& name, int argc, ...);
169 MethodCall(Expression* obj, const std::string& name);
170 MethodCall(const Type* clazz, const std::string& name);
171 MethodCall(Expression* obj, const std::string& name, int argc, ...);
172 MethodCall(const Type* clazz, const std::string& name, int argc, ...);
173 virtual ~MethodCall() = default;
Dgenerate_cpp.cpp277 new MethodCall(StringPrintf("%s.writeInterfaceToken", in DefineClientTransaction()
294 new MethodCall(StringPrintf("%s.%s", kDataVarName, method.c_str()), in DefineClientTransaction()
303 new MethodCall(StringPrintf("%s.writeVectorSize", kDataVarName), in DefineClientTransaction()
322 new MethodCall("remote()->transact", in DefineClientTransaction()
351 new MethodCall(StringPrintf("%s.%s", kReplyVarName, in DefineClientTransaction()
366 new MethodCall(StringPrintf("%s.%s", kReplyVarName, in DefineClientTransaction()
438 new MethodCall(StringPrintf("%s.checkInterface", in HandleServerTransaction()
457 new MethodCall{string(kDataVarName) + "." + readMethod, in HandleServerTransaction()
466 new MethodCall{string(kDataVarName) + ".resizeOutVector", in HandleServerTransaction()
474 status_args.emplace_back(new MethodCall( in HandleServerTransaction()
[all …]
Dast_cpp_unittest.cpp198 Assignment less_simple("foo", new MethodCall("f", "8")); in TEST_F()
203 MethodCall single("single", "arg"); in TEST_F()
205 MethodCall multi( in TEST_F()
Dast_cpp.h289 class MethodCall : public AstNode {
291 MethodCall(const std::string& method_name,
293 MethodCall(const std::string& method_name, ArgList&& arg_list);
294 ~MethodCall() = default;
301 DISALLOW_COPY_AND_ASSIGN(MethodCall);
Dast_cpp.cpp332 MethodCall::MethodCall(const std::string& method_name, in MethodCall() function in android::aidl::cpp::MethodCall
334 : MethodCall(method_name, ArgList{single_argument}) {} in MethodCall()
336 MethodCall::MethodCall(const std::string& method_name, in MethodCall() function in android::aidl::cpp::MethodCall
341 void MethodCall::Write(CodeWriter* to) const { in Write()
/system/tpm/attestation/server/
Ddbus_service_test.cc55 std::unique_ptr<dbus::Response> CallMethod(dbus::MethodCall* method_call) { in CallMethod()
60 std::unique_ptr<dbus::MethodCall> CreateMethodCall( in CreateMethodCall()
62 std::unique_ptr<dbus::MethodCall> call( in CreateMethodCall()
63 new dbus::MethodCall(kAttestationInterface, method_name)); in CreateMethodCall()
101 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
124 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
155 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall(kGetKeyInfo); in TEST_F()
185 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
215 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
253 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
[all …]
/system/tpm/tpm_manager/client/
Dtpm_nvram_dbus_proxy_test.cc51 dbus::MethodCall* method_call, in TEST_F()
87 dbus::MethodCall* method_call, in TEST_F()
120 dbus::MethodCall* method_call, in TEST_F()
157 dbus::MethodCall* method_call, in TEST_F()
193 dbus::MethodCall* method_call, in TEST_F()
226 dbus::MethodCall* method_call, in TEST_F()
265 dbus::MethodCall* method_call, in TEST_F()
Dtpm_ownership_dbus_proxy_test.cc49 dbus::MethodCall* method_call, in TEST_F()
91 dbus::MethodCall* method_call, in TEST_F()
122 dbus::MethodCall* method_call, in TEST_F()
/system/tpm/attestation/client/
Ddbus_proxy_test.cc49 dbus::MethodCall* method_call, in TEST_F()
96 dbus::MethodCall* method_call, in TEST_F()
142 dbus::MethodCall* method_call, in TEST_F()
178 dbus::MethodCall* method_call, in TEST_F()
220 dbus::MethodCall* method_call, in TEST_F()
262 dbus::MethodCall* method_call, in TEST_F()
306 dbus::MethodCall* method_call, in TEST_F()
344 dbus::MethodCall* method_call, in TEST_F()
382 dbus::MethodCall* method_call, in TEST_F()
/system/tpm/tpm_manager/server/
Ddbus_service_test.cc65 std::unique_ptr<dbus::MethodCall> call = in ExecuteMethod()
76 std::unique_ptr<dbus::MethodCall> CreateMethodCall( in CreateMethodCall()
79 std::unique_ptr<dbus::MethodCall> call( in CreateMethodCall()
80 new dbus::MethodCall(interface, method_name)); in CreateMethodCall()