• Home
  • Raw
  • Download

Lines Matching refs:service_proxy

57 void ClientImpl::BindService(base::WeakPtr<ServiceProxy> service_proxy) {  in BindService()  argument
58 if (!service_proxy) in BindService()
61 queued_bindings_.emplace_back(service_proxy); in BindService()
68 const char* const service_name = service_proxy->GetDescriptor().service_name; in BindService()
72 return service_proxy->OnConnect(false /* success */); in BindService()
77 qr.service_proxy = service_proxy; in BindService()
90 base::WeakPtr<ServiceProxy> service_proxy, in BeginInvoke() argument
112 qr.service_proxy = std::move(service_proxy); in BeginInvoke()
134 for (base::WeakPtr<ServiceProxy>& service_proxy : queued_bindings_) { in OnConnect()
136 BindService(service_proxy); in OnConnect()
137 } else if (service_proxy) { in OnConnect()
138 service_proxy->OnConnect(false /* success */); in OnConnect()
146 base::WeakPtr<ServiceProxy>& service_proxy = it.second; in OnDisconnect() local
147 task_runner_->PostTask([service_proxy] { in OnDisconnect()
148 if (service_proxy) in OnDisconnect()
149 service_proxy->OnDisconnect(); in OnDisconnect()
210 base::WeakPtr<ServiceProxy>& service_proxy = req.service_proxy; in OnBindServiceReply() local
211 if (!service_proxy) in OnBindServiceReply()
213 const char* svc_name = service_proxy->GetDescriptor().service_name; in OnBindServiceReply()
216 return service_proxy->OnConnect(false /* success */); in OnBindServiceReply()
225 return service_proxy->OnConnect(false /* success */); in OnBindServiceReply()
238 service_proxy->InitializeBinding(weak_ptr_factory_.GetWeakPtr(), in OnBindServiceReply()
240 service_bindings_[reply.service_id()] = service_proxy; in OnBindServiceReply()
241 service_proxy->OnConnect(true /* success */); in OnBindServiceReply()
246 base::WeakPtr<ServiceProxy> service_proxy = req.service_proxy; in OnInvokeMethodReply() local
247 if (!service_proxy) in OnInvokeMethodReply()
252 for (const auto& method : service_proxy->GetDescriptor().methods) { in OnInvokeMethodReply()
261 service_proxy->EndInvoke(request_id, std::move(decoded_reply), in OnInvokeMethodReply()