Home
last modified time | relevance | path

Searched refs:endpoint_client_ (Results 1 – 5 of 5) sorted by relevance

/external/libmojo/mojo/public/cpp/bindings/lib/
Dassociated_interface_ptr_state.h38 endpoint_client_.reset(); in ~AssociatedInterfacePtrState()
51 return endpoint_client_->interface_id(); in interface_id()
75 swap(other->endpoint_client_, endpoint_client_); in Swap()
82 DCHECK(!endpoint_client_); in Bind()
88 endpoint_client_.reset(new InterfaceEndpointClient( in Bind()
92 proxy_.reset(new Proxy(endpoint_client_.get())); in Bind()
94 endpoint_client_->group_controller(); in Bind()
100 ScopedInterfaceEndpointHandle handle = endpoint_client_->PassHandle(); in PassInterface()
101 endpoint_client_.reset(); in PassInterface()
106 bool is_bound() const { return !!endpoint_client_; } in is_bound()
[all …]
Dinterface_ptr_state.h194 endpoint_client_.reset(); in ~InterfacePtrState()
236 swap(other->endpoint_client_, endpoint_client_); in Swap()
246 DCHECK(!endpoint_client_); in Bind()
264 endpoint_client_.reset(); in PassInterface()
270 bool is_bound() const { return handle_.is_valid() || endpoint_client_; } in is_bound()
273 return endpoint_client_ ? endpoint_client_->encountered_error() : false; in encountered_error()
279 DCHECK(endpoint_client_); in set_connection_error_handler()
280 endpoint_client_->set_connection_error_handler(error_handler); in set_connection_error_handler()
285 return endpoint_client_ && endpoint_client_->has_pending_responders(); in has_pending_callbacks()
290 return endpoint_client_->associated_group(); in associated_group()
[all …]
Dinterface_endpoint_client.cc43 : endpoint_client_(endpoint_client), in ResponderThunk()
58 if (endpoint_client_) { in ~ResponderThunk()
59 endpoint_client_->RaiseError(); in ~ResponderThunk()
64 base::Bind(&InterfaceEndpointClient::RaiseError, endpoint_client_)); in ~ResponderThunk()
77 if (endpoint_client_) in Accept()
78 result = endpoint_client_->Accept(message); in Accept()
86 return endpoint_client_ && !endpoint_client_->encountered_error(); in IsValid()
91 DCheckIfInvalid(endpoint_client_, message); in DCheckInvalid()
94 FROM_HERE, base::Bind(&DCheckIfInvalid, endpoint_client_, message)); in DCheckInvalid()
99 base::WeakPtr<InterfaceEndpointClient> endpoint_client_; member in mojo::__anon43d9db350111::ResponderThunk
Dbinding_state.h159 endpoint_client_.reset(new InterfaceEndpointClient( in Bind()
164 endpoint_client_->set_connection_error_handler( in Bind()
192 endpoint_client_.reset(); in Close()
199 endpoint_client_.reset(); in Unbind()
222 return endpoint_client_ ? endpoint_client_->associated_group() : nullptr; in associated_group()
237 std::unique_ptr<InterfaceEndpointClient> endpoint_client_; variable
/external/libmojo/mojo/public/cpp/bindings/
Dassociated_binding.h97 endpoint_client_.reset();
101 endpoint_client_.reset(new InterfaceEndpointClient(
105 endpoint_client_->set_connection_error_handler(
110 endpoint_client_->group_controller();
116 DCHECK(endpoint_client_); in Close()
117 endpoint_client_.reset(); in Close()
125 DCHECK(endpoint_client_); in Unbind()
128 request.Bind(endpoint_client_->PassHandle()); in Unbind()
130 endpoint_client_.reset(); in Unbind()
150 bool is_bound() const { return !!endpoint_client_; } in is_bound()
[all …]