Home
last modified time | relevance | path

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

/external/libmojo/mojo/public/cpp/bindings/lib/
Dassociated_interface_ptr_state.h38 endpoint_client_.reset(); in ~AssociatedInterfacePtrState()
52 endpoint_client_->QueryVersion( in QueryVersion()
62 endpoint_client_->RequireVersion(version); in RequireVersion()
65 void FlushForTesting() { endpoint_client_->FlushForTesting(); } in FlushForTesting()
68 endpoint_client_->CloseWithReason(custom_reason, description); in CloseWithReason()
73 swap(other->endpoint_client_, endpoint_client_); in Swap()
80 DCHECK(!endpoint_client_); in Bind()
88 endpoint_client_.reset(new InterfaceEndpointClient( in Bind()
92 proxy_.reset(new Proxy(endpoint_client_.get())); in Bind()
98 ScopedInterfaceEndpointHandle handle = endpoint_client_->PassHandle(); in PassInterface()
[all …]
Dinterface_ptr_state.h41 endpoint_client_.reset(); in ~InterfacePtrState()
61 endpoint_client_->QueryVersion(base::Bind( in QueryVersion()
72 endpoint_client_->RequireVersion(version); in RequireVersion()
77 endpoint_client_->FlushForTesting(); in FlushForTesting()
82 endpoint_client_->CloseWithReason(custom_reason, description); in CloseWithReason()
88 swap(other->endpoint_client_, endpoint_client_); in Swap()
98 DCHECK(!endpoint_client_); in Bind()
116 endpoint_client_.reset(); in PassInterface()
122 bool is_bound() const { return handle_.is_valid() || endpoint_client_; } in is_bound()
125 return endpoint_client_ ? endpoint_client_->encountered_error() : false; in encountered_error()
[all …]
Dbinding_state.cc15 DCHECK(endpoint_client_); in AddFilter()
16 endpoint_client_->AddFilter(std::move(filter)); in AddFilter()
41 endpoint_client_.reset(); in Close()
48 if (endpoint_client_) in CloseWithReason()
49 endpoint_client_->CloseWithReason(custom_reason, description); in CloseWithReason()
55 endpoint_client_->FlushForTesting(); in FlushForTesting()
83 endpoint_client_.reset(new InterfaceEndpointClient( in BindInternal()
Dinterface_endpoint_client.cc45 : endpoint_client_(endpoint_client), in ResponderThunk()
60 if (endpoint_client_) { in ~ResponderThunk()
61 endpoint_client_->RaiseError(); in ~ResponderThunk()
66 base::Bind(&InterfaceEndpointClient::RaiseError, endpoint_client_)); in ~ResponderThunk()
79 if (endpoint_client_) in Accept()
80 result = endpoint_client_->Accept(message); in Accept()
88 return endpoint_client_ && !endpoint_client_->encountered_error(); in IsValid()
93 DCheckIfInvalid(endpoint_client_, message); in DCheckInvalid()
96 FROM_HERE, base::Bind(&DCheckIfInvalid, endpoint_client_, message)); in DCheckInvalid()
101 base::WeakPtr<InterfaceEndpointClient> endpoint_client_; member in mojo::__anon5d57c4730111::ResponderThunk
Dbinding_state.h55 endpoint_client_->set_connection_error_handler(error_handler); in set_connection_error_handler()
61 endpoint_client_->set_connection_error_with_reason_handler(error_handler); in set_connection_error_with_reason_handler()
86 std::unique_ptr<InterfaceEndpointClient> endpoint_client_; variable
110 endpoint_client_.reset(); in Unbind()
/external/libmojo/mojo/public/cpp/bindings/
Dassociated_binding.h62 bool is_bound() const { return !!endpoint_client_; } in is_bound()
78 std::unique_ptr<InterfaceEndpointClient> endpoint_client_; variable
150 DCHECK(endpoint_client_); in Unbind()
153 request.Bind(endpoint_client_->PassHandle()); in Unbind()
155 endpoint_client_.reset(); in Unbind()