/external/libbrillo/brillo/dbus/ |
D | dbus_object_unittest.cc | 155 dbus::MethodCall method_call(kTestInterface1, kTestMethod_Add); in TEST_F() local 156 method_call.SetSerial(123); in TEST_F() 157 dbus::MessageWriter writer(&method_call); in TEST_F() 160 auto response = testing::CallMethod(*dbus_object_, &method_call); in TEST_F() 169 dbus::MethodCall method_call(kTestInterface1, kTestMethod_Negate); in TEST_F() local 170 method_call.SetSerial(123); in TEST_F() 171 dbus::MessageWriter writer(&method_call); in TEST_F() 173 auto response = testing::CallMethod(*dbus_object_, &method_call); in TEST_F() 182 dbus::MethodCall method_call(kTestInterface1, kTestMethod_Positive); in TEST_F() local 183 method_call.SetSerial(123); in TEST_F() [all …]
|
D | dbus_object_internal_impl.h | 55 virtual void HandleMethod(dbus::MethodCall* method_call, 79 void HandleMethod(dbus::MethodCall* method_call, in HandleMethod() argument 81 DBusMethodResponse<R> method_response(method_call, sender); in HandleMethod() 87 dbus::MessageReader reader(method_call); in HandleMethod() 113 void HandleMethod(dbus::MethodCall* method_call, in HandleMethod() argument 115 DBusMethodResponseBase method_response(method_call, sender); in HandleMethod() 125 dbus::MessageReader reader(method_call); in HandleMethod() 159 void HandleMethod(dbus::MethodCall* method_call, in HandleMethod() argument 161 DBusMethodResponseBase method_response(method_call, sender); in HandleMethod() 175 dbus::MessageReader reader(method_call); in HandleMethod() [all …]
|
D | dbus_object_test_helpers.h | 28 dbus::MethodCall* method_call, in HandleMethodCall() argument 30 itf->HandleMethodCall(method_call, sender); in HandleMethodCall() 57 const DBusObject& object, dbus::MethodCall* method_call) { in CallMethod() argument 58 DBusInterface* itf = object.FindInterface(method_call->GetInterface()); in CallMethod() 62 method_call, in CallMethod() 68 itf, method_call, base::Bind(&ResponseHolder::ReceiveResponse, in CallMethod() 98 dbus::MethodCall method_call("test.interface", "TestMethod"); in Call() 99 method_call.SetSerial(123); in Call() 102 &method_call, base::Bind(&ResponseHolder::ReceiveResponse, in Call() 125 dbus::MethodCall method_call("test.interface", "TestMethod"); [all …]
|
D | exported_property_set_unittest.cc | 133 void AssertMethodReturnsError(dbus::MethodCall* method_call) { in AssertMethodReturnsError() argument 134 method_call->SetSerial(123); in AssertMethodReturnsError() 135 auto response = testing::CallMethod(p_->dbus_object_, method_call); in AssertMethodReturnsError() 142 dbus::MethodCall method_call(dbus::kPropertiesInterface, in GetPropertyOnInterface() local 144 method_call.SetSerial(123); in GetPropertyOnInterface() 145 dbus::MessageWriter writer(&method_call); in GetPropertyOnInterface() 148 return testing::CallMethod(p_->dbus_object_, &method_call); in GetPropertyOnInterface() 155 dbus::MethodCall method_call(dbus::kPropertiesInterface, in SetPropertyOnInterface() local 157 method_call.SetSerial(123); in SetPropertyOnInterface() 158 dbus::MessageWriter writer(&method_call); in SetPropertyOnInterface() [all …]
|
D | dbus_method_invoker_unittest.cc | 62 Response* CreateResponse(dbus::MethodCall* method_call, in CreateResponse() argument 65 if (method_call->GetInterface() == kTestInterface) { in CreateResponse() 66 if (method_call->GetMember() == kTestMethod1) { in CreateResponse() 67 MessageReader reader(method_call); in CreateResponse() 77 } else if (method_call->GetMember() == kTestMethod2) { in CreateResponse() 78 method_call->SetSerial(123); in CreateResponse() 81 } else if (method_call->GetMember() == kTestMethod3) { in CreateResponse() 82 MessageReader reader(method_call); in CreateResponse() 90 } else if (method_call->GetMember() == kTestMethod4) { in CreateResponse() 91 method_call->SetSerial(123); in CreateResponse() [all …]
|
D | dbus_method_invoker.h | 101 dbus::MethodCall method_call(interface_name, method_name); in CallMethodAndBlockWithTimeout() 103 dbus::MessageWriter writer(&method_call); in CallMethodAndBlockWithTimeout() 107 &method_call, timeout_ms, &dbus_error); in CallMethodAndBlockWithTimeout() 291 dbus::MethodCall method_call(interface_name, method_name); in CallMethodWithTimeout() 292 dbus::MessageWriter writer(&method_call); in CallMethodWithTimeout() 301 &method_call, timeout_ms, dbus_success_callback, dbus_error_callback); in CallMethodWithTimeout()
|
D | utils.cc | 19 dbus::MethodCall* method_call, in CreateDBusErrorResponse() argument 23 method_call, error_name, error_message); in CreateDBusErrorResponse() 27 std::unique_ptr<dbus::Response> GetDBusError(dbus::MethodCall* method_call, in GetDBusError() argument 51 return CreateDBusErrorResponse(method_call, error_name, error_message); in GetDBusError()
|
D | utils.h | 22 dbus::MethodCall* method_call, 32 dbus::MethodCall* method_call,
|
D | dbus_object.cc | 111 void DBusInterface::HandleMethodCall(dbus::MethodCall* method_call, in HandleMethodCall() argument 113 std::string method_name = method_call->GetMember(); in HandleMethodCall() 118 << method_name << "(" << method_call->GetSignature() << ")"; in HandleMethodCall() 122 dbus::ErrorResponse::FromMethodCall(method_call, in HandleMethodCall() 129 pair->second->HandleMethod(method_call, sender); in HandleMethodCall()
|
D | dbus_method_response.cc | 12 DBusMethodResponseBase::DBusMethodResponseBase(dbus::MethodCall* method_call, in DBusMethodResponseBase() argument 14 : sender_(sender), method_call_(method_call) { in DBusMethodResponseBase()
|
D | exported_object_manager_unittest.cc | 125 dbus::MethodCall method_call(dbus::kObjectManagerInterface, in CallHandleGetManagedObjects() local 127 method_call.SetSerial(1234); in CallHandleGetManagedObjects() 129 &method_call); in CallHandleGetManagedObjects()
|
/external/libchrome/dbus/ |
D | exported_object.cc | 199 scoped_ptr<MethodCall> method_call( in HandleMessage() local 201 const std::string interface = method_call->GetInterface(); in HandleMessage() 202 const std::string member = method_call->GetMember(); in HandleMessage() 206 LOG(WARNING) << "Interface is missing: " << method_call->ToString(); in HandleMessage() 216 LOG(WARNING) << "Unknown method: " << method_call->ToString(); in HandleMessage() 227 base::Passed(&method_call), in HandleMessage() 231 MethodCall* method = method_call.get(); in HandleMessage() 236 base::Passed(&method_call))); in HandleMessage() 245 scoped_ptr<MethodCall> method_call, in RunMethod() argument 248 MethodCall* method = method_call.get(); in RunMethod() [all …]
|
D | mock_object_proxy.h | 29 Response*(MethodCall* method_call, 33 MethodCall* method_call, in CallMethodAndBlockWithErrorDetails() argument 37 MockCallMethodAndBlockWithErrorDetails(method_call, timeout_ms, error)); in CallMethodAndBlockWithErrorDetails() 39 MOCK_METHOD2(MockCallMethodAndBlock, Response*(MethodCall* method_call, 41 scoped_ptr<Response> CallMethodAndBlock(MethodCall* method_call, in CallMethodAndBlock() argument 43 return scoped_ptr<Response>(MockCallMethodAndBlock(method_call, in CallMethodAndBlock() 46 MOCK_METHOD3(CallMethod, void(MethodCall* method_call, 49 MOCK_METHOD4(CallMethodWithErrorCallback, void(MethodCall* method_call,
|
D | object_proxy.cc | 73 MethodCall* method_call, int timeout_ms, ScopedDBusError* error) { in CallMethodAndBlockWithErrorDetails() argument 77 !method_call->SetDestination(service_name_) || in CallMethodAndBlockWithErrorDetails() 78 !method_call->SetPath(object_path_)) in CallMethodAndBlockWithErrorDetails() 81 DBusMessage* request_message = method_call->raw_message(); in CallMethodAndBlockWithErrorDetails() 92 method_call->GetInterface(), in CallMethodAndBlockWithErrorDetails() 93 method_call->GetMember()); in CallMethodAndBlockWithErrorDetails() 96 LogMethodCallFailure(method_call->GetInterface(), in CallMethodAndBlockWithErrorDetails() 97 method_call->GetMember(), in CallMethodAndBlockWithErrorDetails() 109 scoped_ptr<Response> ObjectProxy::CallMethodAndBlock(MethodCall* method_call, in CallMethodAndBlock() argument 112 return CallMethodAndBlockWithErrorDetails(method_call, timeout_ms, &error); in CallMethodAndBlock() [all …]
|
D | property.cc | 101 MethodCall method_call(kPropertiesInterface, kPropertiesGet); in Get() local 102 MessageWriter writer(&method_call); in Get() 107 object_proxy_->CallMethod(&method_call, in Get() 138 MethodCall method_call(kPropertiesInterface, kPropertiesGet); in GetAndBlock() local 139 MessageWriter writer(&method_call); in GetAndBlock() 145 object_proxy_->CallMethodAndBlock(&method_call, in GetAndBlock() 167 MethodCall method_call(kPropertiesInterface, kPropertiesGetAll); in GetAll() local 168 MessageWriter writer(&method_call); in GetAll() 172 object_proxy_->CallMethod(&method_call, in GetAll() 192 MethodCall method_call(kPropertiesInterface, kPropertiesSet); in Set() local [all …]
|
D | exported_object.h | 51 typedef base::Callback<void (MethodCall* method_call, ResponseSender sender)> 141 scoped_ptr<MethodCall> method_call, 148 scoped_ptr<MethodCall> method_call, 153 void OnMethodCompleted(scoped_ptr<MethodCall> method_call,
|
D | object_proxy.h | 101 MethodCall* method_call, 109 virtual scoped_ptr<Response> CallMethodAndBlock(MethodCall* method_call, 126 virtual void CallMethod(MethodCall* method_call, 145 virtual void CallMethodWithErrorCallback(MethodCall* method_call,
|
D | message.cc | 366 MethodCall* method_call = new MethodCall; in FromRawMessage() local 367 method_call->Init(raw_message); in FromRawMessage() 368 return method_call; in FromRawMessage() 410 scoped_ptr<Response> Response::FromMethodCall(MethodCall* method_call) { in FromMethodCall() argument 412 response->Init(dbus_message_new_method_return(method_call->raw_message())); in FromMethodCall() 439 MethodCall* method_call, in FromMethodCall() argument 443 response->Init(dbus_message_new_error(method_call->raw_message(), in FromMethodCall()
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem_vs_real_test.py | 183 method_call = '%s' % method_name 184 method_call += '()' if path == () else '(%s)' % path 207 method_call, real_value, _ErrorClass(fake_err)) 210 method_call, _ErrorClass(real_err), fake_value) 212 method_call, _ErrorClass(real_err), _ErrorClass(fake_err)) 228 method_call, real_value, fake_value)
|
/external/dbus/test/data/valid-messages/ |
D | simplest.message | 4 VALID_HEADER method_call
|
D | dict-simple.message | 3 VALID_HEADER method_call
|
D | unknown-header-field.message | 4 VALID_HEADER method_call
|
/external/dbus/test/data/invalid-messages/ |
D | no-dot-in-name.message | 4 VALID_HEADER method_call
|
/external/dbus/test/data/incomplete-messages/ |
D | missing-body.message | 3 VALID_HEADER method_call
|
/external/dbus/bus/ |
D | dbus.service.in | 8 ExecReload=@EXPANDED_BINDIR@/dbus-send --print-reply --system --type=method_call --dest=org.freedes…
|