Lines Matching defs:ObjectProxy
45 // ObjectProxy.
52 // An empty function used for ObjectProxy::EmptyResponseCallback().
58 ObjectProxy::ObjectProxy(Bus* bus,
70 ObjectProxy::~ObjectProxy() {
76 scoped_ptr<Response> ObjectProxy::CallMethodAndBlock(MethodCall* method_call,
115 void ObjectProxy::CallMethod(MethodCall* method_call,
119 base::Bind(&ObjectProxy::OnCallMethodError,
126 void ObjectProxy::CallMethodWithErrorCallback(MethodCall* method_call,
138 base::Closure task = base::Bind(&ObjectProxy::RunResponseCallback,
154 base::Closure task = base::Bind(&ObjectProxy::StartAsyncMethodCall,
169 void ObjectProxy::ConnectToSignal(const std::string& interface_name,
178 base::Bind(&ObjectProxy::ConnectToSignalInternal,
188 void ObjectProxy::SetNameOwnerChangedCallback(
195 void ObjectProxy::WaitForServiceToBeAvailable(
202 base::Bind(&ObjectProxy::WaitForServiceToBeAvailableInternal, this));
205 void ObjectProxy::Detach() {
209 if (!bus_->RemoveFilterFunction(&ObjectProxy::HandleMessageThunk, this)) {
227 ObjectProxy::ResponseCallback ObjectProxy::EmptyResponseCallback() {
231 ObjectProxy::OnPendingCallIsCompleteData::OnPendingCallIsCompleteData(
232 ObjectProxy* in_object_proxy,
242 ObjectProxy::OnPendingCallIsCompleteData::~OnPendingCallIsCompleteData() {
245 void ObjectProxy::StartAsyncMethodCall(int timeout_ms,
255 base::Closure task = base::Bind(&ObjectProxy::RunResponseCallback,
280 &ObjectProxy::OnPendingCallIsCompleteThunk,
290 void ObjectProxy::OnPendingCallIsComplete(DBusPendingCall* pending_call,
297 base::Closure task = base::Bind(&ObjectProxy::RunResponseCallback,
306 void ObjectProxy::RunResponseCallback(ResponseCallback response_callback,
365 void ObjectProxy::OnPendingCallIsCompleteThunk(DBusPendingCall* pending_call,
369 ObjectProxy* self = data->object_proxy;
377 bool ObjectProxy::ConnectToNameOwnerChangedSignal() {
386 if (bus_->AddFilterFunction(&ObjectProxy::HandleMessageThunk, this)) {
414 bool ObjectProxy::ConnectToSignalInternal(const std::string& interface_name,
435 void ObjectProxy::WaitForServiceToBeAvailableInternal() {
442 base::Bind(&ObjectProxy::RunWaitForServiceToBeAvailableCallbacks,
451 base::Bind(&ObjectProxy::RunWaitForServiceToBeAvailableCallbacks,
457 DBusHandlerResult ObjectProxy::HandleMessage(
513 base::Bind(&ObjectProxy::RunMethod,
531 void ObjectProxy::RunMethod(base::TimeTicks start_time,
551 DBusHandlerResult ObjectProxy::HandleMessageThunk(
555 ObjectProxy* self = reinterpret_cast<ObjectProxy*>(user_data);
559 void ObjectProxy::LogMethodCallFailure(
572 void ObjectProxy::OnCallMethodError(const std::string& interface_name,
589 bool ObjectProxy::AddMatchRuleWithCallback(
618 bool ObjectProxy::AddMatchRuleWithoutCallback(
640 void ObjectProxy::UpdateNameOwnerAndBlock() {
644 // The ObjectProxy will be notified when the service is launched via
650 DBusHandlerResult ObjectProxy::HandleNameOwnerChanged(
668 base::Bind(&ObjectProxy::RunNameOwnerChangedCallback,
675 base::Bind(&ObjectProxy::RunWaitForServiceToBeAvailableCallbacks,
686 void ObjectProxy::RunNameOwnerChangedCallback(const std::string& old_owner,
693 void ObjectProxy::RunWaitForServiceToBeAvailableCallbacks(