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()
305 MethodCall* realCall = new MethodCall(THIS_VALUE, method.GetName()); in generate_method()
308 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 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.cpp276 new MethodCall(StringPrintf("%s.writeInterfaceToken", in DefineClientTransaction()
292 new MethodCall(StringPrintf("%s.%s", kDataVarName, method.c_str()), in DefineClientTransaction()
310 new MethodCall("remote()->transact", in DefineClientTransaction()
339 new MethodCall(StringPrintf("%s.%s", kReplyVarName, in DefineClientTransaction()
354 new MethodCall(StringPrintf("%s.%s", kReplyVarName, in DefineClientTransaction()
426 new MethodCall(StringPrintf("%s.checkInterface", in HandleServerTransaction()
444 new MethodCall{string(kDataVarName) + "." + readMethod, in HandleServerTransaction()
451 status_args.emplace_back(new MethodCall( in HandleServerTransaction()
454 b->AddStatement(new Statement(new MethodCall( in HandleServerTransaction()
476 kAndroidStatusVarName, new MethodCall{writeMethod, in HandleServerTransaction()
[all …]
Dast_cpp_unittest.cpp197 Assignment less_simple("foo", new MethodCall("f", "8")); in TEST_F()
202 MethodCall single("single", "arg"); in TEST_F()
204 MethodCall multi( in TEST_F()
Dast_cpp.h273 class MethodCall : public AstNode {
275 MethodCall(const std::string& method_name,
277 MethodCall(const std::string& method_name, ArgList&& arg_list);
278 ~MethodCall() = default;
285 DISALLOW_COPY_AND_ASSIGN(MethodCall);
Dast_cpp.cpp318 MethodCall::MethodCall(const std::string& method_name, in MethodCall() function in android::aidl::cpp::MethodCall
320 : MethodCall(method_name, ArgList{single_argument}) {} in MethodCall()
322 MethodCall::MethodCall(const std::string& method_name, in MethodCall() function in android::aidl::cpp::MethodCall
327 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(new dbus::MethodCall( in CreateMethodCall()
101 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall( in TEST_F()
123 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall( in TEST_F()
154 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall(kGetKeyInfo); in TEST_F()
184 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
214 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
252 std::unique_ptr<dbus::MethodCall> call = in TEST_F()
285 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()
194 dbus::MethodCall* method_call, in TEST_F()
232 dbus::MethodCall* method_call, in TEST_F()
270 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.cc48 dbus::MethodCall* method_call, in TEST_F()
95 dbus::MethodCall* method_call, in TEST_F()
141 dbus::MethodCall* method_call, in TEST_F()
177 dbus::MethodCall* method_call, in TEST_F()
219 dbus::MethodCall* method_call, in TEST_F()
261 dbus::MethodCall* method_call, in TEST_F()
305 dbus::MethodCall* method_call, in TEST_F()
343 dbus::MethodCall* method_call, in TEST_F()
381 dbus::MethodCall* method_call, in TEST_F()
/system/tpm/tpm_manager/server/
Ddbus_service_test.cc65 std::unique_ptr<dbus::MethodCall> call = CreateMethodCall(method_name, in ExecuteMethod()
76 std::unique_ptr<dbus::MethodCall> CreateMethodCall( in CreateMethodCall()
78 std::unique_ptr<dbus::MethodCall> call(new dbus::MethodCall( in CreateMethodCall()