Home
last modified time | relevance | path

Searched refs:MultiplexRouter (Results 1 – 12 of 12) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/lib/
Dmultiplex_router.cc30 class MultiplexRouter::InterfaceEndpoint
34 InterfaceEndpoint(MultiplexRouter* router, InterfaceId id) in InterfaceEndpoint()
160 scoped_refptr<MultiplexRouter> router_protector(router_); in OnSyncEventSignaled()
196 MultiplexRouter* const router_;
230 class MultiplexRouter::MessageWrapper {
234 MessageWrapper(MultiplexRouter* router, Message message) in MessageWrapper()
274 MultiplexRouter* router_ = nullptr;
280 struct MultiplexRouter::Task {
313 MultiplexRouter::MultiplexRouter( in MultiplexRouter() function in mojo::internal::MultiplexRouter
342 &MultiplexRouter::OnPipeConnectionError, base::Unretained(this))); in MultiplexRouter()
[all …]
Dbinding_state.cc77 scoped_refptr<internal::MultiplexRouter> BindingStateBase::RouterForTesting() { in RouterForTesting()
95 MultiplexRouter::Config config = in BindInternal()
97 ? MultiplexRouter::MULTI_INTERFACE in BindInternal()
99 ? MultiplexRouter::SINGLE_INTERFACE_WITH_SYNC_METHODS in BindInternal()
100 : MultiplexRouter::SINGLE_INTERFACE); in BindInternal()
102 new MultiplexRouter(std::move(handle), config, false, sequenced_runner); in BindInternal()
Dinterface_ptr_state.cc77 MultiplexRouter::Config config = in InitializeEndpointClient()
79 ? MultiplexRouter::MULTI_INTERFACE in InitializeEndpointClient()
81 ? MultiplexRouter::SINGLE_INTERFACE_WITH_SYNC_METHODS in InitializeEndpointClient()
82 : MultiplexRouter::SINGLE_INTERFACE); in InitializeEndpointClient()
83 router_ = new MultiplexRouter(std::move(handle_), config, true, runner_); in InitializeEndpointClient()
Dassociated_interface_ptr.cc11 scoped_refptr<internal::MultiplexRouter> router = in AssociateWithDisconnectedPipe()
12 new internal::MultiplexRouter( in AssociateWithDisconnectedPipe()
13 std::move(pipe.handle0), internal::MultiplexRouter::MULTI_INTERFACE, in AssociateWithDisconnectedPipe()
Dmultiplex_router.h56 class MOJO_CPP_BINDINGS_EXPORT MultiplexRouter
77 MultiplexRouter(ScopedMessagePipeHandle message_pipe,
166 ~MultiplexRouter() override;
281 DISALLOW_COPY_AND_ASSIGN(MultiplexRouter);
Dbinding_state.h81 scoped_refptr<internal::MultiplexRouter> RouterForTesting();
93 scoped_refptr<internal::MultiplexRouter> router_;
Dinterface_ptr_state.h66 MultiplexRouter* router() const { return router_.get(); } in router()
89 scoped_refptr<MultiplexRouter> router_;
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbindings_perftest.cc195 scoped_refptr<internal::MultiplexRouter> router0( in TEST_F()
196 new internal::MultiplexRouter(std::move(pipe.handle0), in TEST_F()
197 internal::MultiplexRouter::SINGLE_INTERFACE, in TEST_F()
199 scoped_refptr<internal::MultiplexRouter> router1( in TEST_F()
200 new internal::MultiplexRouter( in TEST_F()
201 std::move(pipe.handle1), internal::MultiplexRouter::SINGLE_INTERFACE, in TEST_F()
252 scoped_refptr<internal::MultiplexRouter> router(new internal::MultiplexRouter( in TEST_F()
253 std::move(pipe.handle0), internal::MultiplexRouter::SINGLE_INTERFACE, in TEST_F()
Dmultiplex_router_unittest.cc26 using mojo::internal::MultiplexRouter;
34 router0_ = new MultiplexRouter(std::move(pipe.handle0), in SetUp()
35 MultiplexRouter::MULTI_INTERFACE, false, in SetUp()
37 router1_ = new MultiplexRouter(std::move(pipe.handle1), in SetUp()
38 MultiplexRouter::MULTI_INTERFACE, true, in SetUp()
56 scoped_refptr<MultiplexRouter> router0_;
57 scoped_refptr<MultiplexRouter> router1_;
Dassociated_interface_unittest.cc38 using mojo::internal::MultiplexRouter;
108 scoped_refptr<MultiplexRouter> source, in EmulatePassingAssociatedPtrInfo()
109 scoped_refptr<MultiplexRouter> target) { in EmulatePassingAssociatedPtrInfo()
117 void CreateRouterPair(scoped_refptr<MultiplexRouter>* router0, in CreateRouterPair()
118 scoped_refptr<MultiplexRouter>* router1) { in CreateRouterPair()
120 *router0 = new MultiplexRouter(std::move(pipe.handle0), in CreateRouterPair()
121 MultiplexRouter::MULTI_INTERFACE, true, in CreateRouterPair()
123 *router1 = new MultiplexRouter(std::move(pipe.handle1), in CreateRouterPair()
124 MultiplexRouter::MULTI_INTERFACE, false, in CreateRouterPair()
129 scoped_refptr<MultiplexRouter> router0, in CreateIntegerSenderWithExistingRouters()
[all …]
/external/libchrome/mojo/public/cpp/bindings/
Dassociated_interface_ptr.h233 scoped_refptr<internal::MultiplexRouter> router0 = in MakeRequestAssociatedWithDedicatedPipe()
234 new internal::MultiplexRouter( in MakeRequestAssociatedWithDedicatedPipe()
235 std::move(pipe.handle0), internal::MultiplexRouter::MULTI_INTERFACE, in MakeRequestAssociatedWithDedicatedPipe()
237 scoped_refptr<internal::MultiplexRouter> router1 = in MakeRequestAssociatedWithDedicatedPipe()
238 new internal::MultiplexRouter( in MakeRequestAssociatedWithDedicatedPipe()
239 std::move(pipe.handle1), internal::MultiplexRouter::MULTI_INTERFACE, in MakeRequestAssociatedWithDedicatedPipe()
Dbinding.h233 scoped_refptr<internal::MultiplexRouter> RouterForTesting() { in RouterForTesting()