Searched refs:endpoint_client_ (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | associated_interface_ptr_state.h | 45 bool is_bound() const { return !!endpoint_client_; } in is_bound() 48 return endpoint_client_ ? endpoint_client_->encountered_error() : false; in encountered_error() 52 DCHECK(endpoint_client_); in set_connection_error_handler() 53 endpoint_client_->set_connection_error_handler(std::move(error_handler)); in set_connection_error_handler() 58 DCHECK(endpoint_client_); in set_connection_error_with_reason_handler() 59 endpoint_client_->set_connection_error_with_reason_handler( in set_connection_error_with_reason_handler() 65 return endpoint_client_ && endpoint_client_->has_pending_responders(); in has_pending_callbacks() 69 return endpoint_client_ ? endpoint_client_->associated_group() : nullptr; in associated_group() 72 void ForwardMessage(Message message) { endpoint_client_->Accept(&message); } in ForwardMessage() 76 endpoint_client_->AcceptWithResponder(&message, std::move(responder)); in ForwardMessageWithResponder() [all …]
|
D | associated_binding.cc | 17 DCHECK(endpoint_client_); in AddFilter() 18 endpoint_client_->AddFilter(std::move(filter)); in AddFilter() 22 endpoint_client_.reset(); in Close() 27 if (endpoint_client_) in CloseWithReason() 28 endpoint_client_->CloseWithReason(custom_reason, description); in CloseWithReason() 35 endpoint_client_->set_connection_error_handler(std::move(error_handler)); in set_connection_error_handler() 41 endpoint_client_->set_connection_error_with_reason_handler( in set_connection_error_with_reason_handler() 46 endpoint_client_->FlushForTesting(); in FlushForTesting() 57 endpoint_client_.reset(); in BindImpl() 61 endpoint_client_.reset(new InterfaceEndpointClient( in BindImpl()
|
D | associated_interface_ptr_state.cc | 20 endpoint_client_->QueryVersion( in QueryVersion() 30 endpoint_client_->RequireVersion(version); in RequireVersion() 41 endpoint_client_->FlushForTesting(); in FlushForTesting() 47 endpoint_client_->CloseWithReason(custom_reason, description); in CloseWithReason() 53 swap(other->endpoint_client_, endpoint_client_); in Swap() 62 DCHECK(!endpoint_client_); in Bind() 69 endpoint_client_ = std::make_unique<InterfaceEndpointClient>( in Bind() 75 auto handle = endpoint_client_->PassHandle(); in PassHandle() 76 endpoint_client_.reset(); in PassHandle()
|
D | interface_ptr_state.cc | 15 endpoint_client_.reset(); in ~InterfacePtrStateBase() 24 endpoint_client_->QueryVersion( in QueryVersion() 34 endpoint_client_->RequireVersion(version); in RequireVersion() 40 swap(other->endpoint_client_, endpoint_client_); in Swap() 51 DCHECK(!endpoint_client_); in Bind() 84 endpoint_client_.reset(new InterfaceEndpointClient( in InitializeEndpointClient()
|
D | binding_state.cc | 17 DCHECK(endpoint_client_); in AddFilter() 18 endpoint_client_->AddFilter(std::move(filter)); in AddFilter() 44 endpoint_client_.reset(); in Close() 51 if (endpoint_client_) in CloseWithReason() 52 endpoint_client_->CloseWithReason(custom_reason, description); in CloseWithReason() 69 endpoint_client_->FlushForTesting(); in FlushForTesting() 105 endpoint_client_.reset(new InterfaceEndpointClient( in BindInternal()
|
D | interface_endpoint_client.cc | 44 : endpoint_client_(endpoint_client), in ResponderThunk() 59 if (endpoint_client_) { in ~ResponderThunk() 60 endpoint_client_->RaiseError(); in ~ResponderThunk() 65 base::Bind(&InterfaceEndpointClient::RaiseError, endpoint_client_)); in ~ResponderThunk() 72 return endpoint_client_ && endpoint_client_->PrefersSerializedMessages(); in PrefersSerializedMessages() 82 if (endpoint_client_) in Accept() 83 result = endpoint_client_->Accept(message); in Accept() 91 return endpoint_client_ && !endpoint_client_->encountered_error(); in IsConnected() 96 DetermineIfEndpointIsConnected(endpoint_client_, std::move(callback)); in IsConnectedAsync() 100 endpoint_client_, std::move(callback))); in IsConnectedAsync() [all …]
|
D | interface_ptr_state.h | 47 bool is_bound() const { return handle_.is_valid() || endpoint_client_; } in is_bound() 50 return endpoint_client_ ? endpoint_client_->encountered_error() : false; in encountered_error() 59 return endpoint_client_ && endpoint_client_->has_pending_responders(); in has_pending_callbacks() 64 return endpoint_client_.get(); in endpoint_client() 76 endpoint_client_.reset(); in PassMessagePipe() 91 std::unique_ptr<InterfaceEndpointClient> endpoint_client_; variable
|
D | binding_state.h | 54 void RaiseError() { endpoint_client_->RaiseError(); } in RaiseError() 58 endpoint_client_->set_connection_error_handler(std::move(error_handler)); in set_connection_error_handler() 64 endpoint_client_->set_connection_error_with_reason_handler( in set_connection_error_with_reason_handler() 94 std::unique_ptr<InterfaceEndpointClient> endpoint_client_; variable 120 endpoint_client_.reset(); in Unbind()
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | associated_binding.h | 61 bool is_bound() const { return !!endpoint_client_; } in is_bound() 63 explicit operator bool() const { return !!endpoint_client_; } 79 std::unique_ptr<InterfaceEndpointClient> endpoint_client_; variable 130 DCHECK(endpoint_client_); in Unbind() 132 endpoint_client_->PassHandle()); in Unbind() 133 endpoint_client_.reset(); in Unbind()
|