Home
last modified time | relevance | path

Searched refs:raw_message (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/dbus/
Dexported_object.cc94 DBusMessage* signal_message = signal->raw_message(); in SendSignal()
192 DBusMessage* raw_message) { in HandleMessage() argument
196 if (dbus_message_get_type(raw_message) != DBUS_MESSAGE_TYPE_METHOD_CALL) in HandleMessage()
201 dbus_message_ref(raw_message); in HandleMessage()
203 MethodCall::FromRawMessage(raw_message)); in HandleMessage()
291 bus_->Send(error_response->raw_message(), nullptr); in OnMethodCompleted()
296 bus_->Send(response->raw_message(), nullptr); in OnMethodCompleted()
308 DBusMessage* raw_message, in HandleMessageThunk() argument
311 return self->HandleMessage(connection, raw_message); in HandleMessageThunk()
Dmessage.cc57 void Message::Init(DBusMessage* raw_message) { in Init() argument
59 raw_message_ = raw_message; in Init()
355 DBusMessage* raw_message) { in FromRawMessage() argument
356 DCHECK_EQ(DBUS_MESSAGE_TYPE_METHOD_CALL, dbus_message_get_type(raw_message)); in FromRawMessage()
359 method_call->Init(raw_message); in FromRawMessage()
376 std::unique_ptr<Signal> Signal::FromRawMessage(DBusMessage* raw_message) { in FromRawMessage() argument
377 DCHECK_EQ(DBUS_MESSAGE_TYPE_SIGNAL, dbus_message_get_type(raw_message)); in FromRawMessage()
380 signal->Init(raw_message); in FromRawMessage()
390 std::unique_ptr<Response> Response::FromRawMessage(DBusMessage* raw_message) { in FromRawMessage() argument
392 dbus_message_get_type(raw_message)); in FromRawMessage()
[all …]
Dmessage.h95 DBusMessage* raw_message() { return raw_message_; } in raw_message() function
132 void Init(DBusMessage* raw_message);
160 static std::unique_ptr<MethodCall> FromRawMessage(DBusMessage* raw_message);
187 static std::unique_ptr<Signal> FromRawMessage(DBusMessage* raw_message);
203 static std::unique_ptr<Response> FromRawMessage(DBusMessage* raw_message);
229 DBusMessage* raw_message);
Dmessage_unittest.cc547 EXPECT_NE(nullptr, method_call.raw_message()); in TEST()
569 DBusMessage* raw_message = dbus_message_new(DBUS_MESSAGE_TYPE_METHOD_CALL); in TEST() local
570 dbus_message_set_interface(raw_message, "com.example.Interface"); in TEST()
571 dbus_message_set_member(raw_message, "SomeMethod"); in TEST()
574 MethodCall::FromRawMessage(raw_message)); in TEST()
581 EXPECT_NE(nullptr, signal.raw_message()); in TEST()
601 DBusMessage* raw_message = dbus_message_new(DBUS_MESSAGE_TYPE_SIGNAL); in TEST() local
602 dbus_message_set_interface(raw_message, "com.example.Interface"); in TEST()
603 dbus_message_set_member(raw_message, "SomeSignal"); in TEST()
605 std::unique_ptr<Signal> signal(Signal::FromRawMessage(raw_message)); in TEST()
[all …]
Dobject_proxy.cc144 DBusMessage* request_message = method_call->raw_message(); in CallMethodAndBlockWithErrorDetails()
215 DBusMessage* request_message = method_call->raw_message(); in CallMethodWithErrorResponse()
498 DBusMessage* raw_message) { in HandleMessage() argument
501 if (dbus_message_get_type(raw_message) != DBUS_MESSAGE_TYPE_SIGNAL) in HandleMessage()
506 dbus_message_ref(raw_message); in HandleMessage()
507 std::unique_ptr<Signal> signal(Signal::FromRawMessage(raw_message)); in HandleMessage()
590 DBusMessage* raw_message, in HandleMessageThunk() argument
593 return self->HandleMessage(connection, raw_message); in HandleMessageThunk()
Dobject_manager.cc246 DBusMessage* raw_message, in HandleMessageThunk() argument
249 return self->HandleMessage(connection, raw_message); in HandleMessageThunk()
253 DBusMessage* raw_message) { in HandleMessage() argument
260 if (dbus_message_get_type(raw_message) != DBUS_MESSAGE_TYPE_SIGNAL) in HandleMessage()
265 dbus_message_ref(raw_message); in HandleMessage()
266 std::unique_ptr<Signal> signal(Signal::FromRawMessage(raw_message)); in HandleMessage()
Dexported_object.h139 DBusMessage* raw_message);
164 DBusMessage* raw_message,
Dobject_manager.h256 DBusMessage* raw_message,
259 DBusMessage* raw_message);
Dobject_proxy.h281 DBusMessage* raw_message);
290 DBusMessage* raw_message,
Dbus.cc836 SendWithReplyAndBlock(get_name_owner_call.raw_message(), in GetServiceOwnerAndBlock()
/external/libchrome/mojo/public/cpp/system/
Dmessage_pipe.h109 MojoMessageHandle raw_message; in ReadMessageNew() local
110 MojoResult rv = MojoReadMessage(message_pipe.value(), &options, &raw_message); in ReadMessageNew()
114 message->reset(MessageHandle(raw_message)); in ReadMessageNew()