Home
last modified time | relevance | path

Searched refs:ScopedMessagePipeHandle (Results 1 – 25 of 61) sorted by relevance

123

/external/libchrome/mojo/public/cpp/system/
Dinvitation.h69 ScopedMessagePipeHandle AttachMessagePipe(base::StringPiece name);
72 ScopedMessagePipeHandle AttachMessagePipe(uint64_t name);
78 ScopedMessagePipeHandle ExtractMessagePipe(base::StringPiece name);
81 ScopedMessagePipeHandle ExtractMessagePipe(uint64_t name);
126 static ScopedMessagePipeHandle SendIsolated(
136 static ScopedMessagePipeHandle SendIsolated(
167 static ScopedMessagePipeHandle AcceptIsolated(
173 ScopedMessagePipeHandle ExtractMessagePipe(base::StringPiece name);
176 ScopedMessagePipeHandle ExtractMessagePipe(uint64_t name);
Dinvitation.cc117 ScopedMessagePipeHandle OutgoingInvitation::AttachMessagePipe( in AttachMessagePipe()
126 return ScopedMessagePipeHandle(MessagePipeHandle(message_pipe_handle)); in AttachMessagePipe()
129 ScopedMessagePipeHandle OutgoingInvitation::AttachMessagePipe(uint64_t name) { in AttachMessagePipe()
134 ScopedMessagePipeHandle OutgoingInvitation::ExtractMessagePipe( in ExtractMessagePipe()
143 return ScopedMessagePipeHandle(MessagePipeHandle(message_pipe_handle)); in ExtractMessagePipe()
146 ScopedMessagePipeHandle OutgoingInvitation::ExtractMessagePipe(uint64_t name) { in ExtractMessagePipe()
174 ScopedMessagePipeHandle OutgoingInvitation::SendIsolated( in SendIsolated()
178 ScopedMessagePipeHandle pipe = in SendIsolated()
189 ScopedMessagePipeHandle OutgoingInvitation::SendIsolated( in SendIsolated()
193 ScopedMessagePipeHandle pipe = in SendIsolated()
[all …]
Dmessage_pipe.h41 typedef ScopedHandleBase<MessagePipeHandle> ScopedMessagePipeHandle; typedef
42 static_assert(sizeof(ScopedMessagePipeHandle) == sizeof(MessagePipeHandle),
48 ScopedMessagePipeHandle* message_pipe0, in CreateMessagePipe()
49 ScopedMessagePipeHandle* message_pipe1) { in CreateMessagePipe()
120 inline MojoResult FuseMessagePipes(ScopedMessagePipeHandle message_pipe0, in FuseMessagePipes()
121 ScopedMessagePipeHandle message_pipe1) { in FuseMessagePipes()
134 ScopedMessagePipeHandle handle0;
135 ScopedMessagePipeHandle handle1;
Dscope_to_message_pipe.h24 explicit MessagePipeScoperBase(ScopedMessagePipeHandle pipe);
30 ScopedMessagePipeHandle pipe_;
39 explicit MessagePipeScoper(T scoped_object, ScopedMessagePipeHandle pipe) in MessagePipeScoper()
57 void ScopeToMessagePipe(T object, ScopedMessagePipeHandle pipe) { in ScopeToMessagePipe()
Disolated_connection.h46 ScopedMessagePipeHandle Connect(PlatformChannelEndpoint endpoint);
50 ScopedMessagePipeHandle Connect(PlatformChannelServerEndpoint endpoint);
Disolated_connection.cc29 ScopedMessagePipeHandle IsolatedConnection::Connect( in Connect()
35 ScopedMessagePipeHandle IsolatedConnection::Connect( in Connect()
/external/libchrome/mojo/public/cpp/bindings/
Dinterface_ptr_info.h25 InterfacePtrInfo(ScopedMessagePipeHandle handle, uint32_t version) in InterfacePtrInfo()
47 ScopedMessagePipeHandle PassHandle() { return std::move(handle_); } in PassHandle()
48 const ScopedMessagePipeHandle& handle() const { return handle_; } in handle()
49 void set_handle(ScopedMessagePipeHandle handle) { in set_handle()
60 ScopedMessagePipeHandle handle_;
Dinterface_request.h35 explicit InterfaceRequest(ScopedMessagePipeHandle handle) in InterfaceRequest()
60 ScopedMessagePipeHandle PassMessagePipe() { return std::move(handle_); } in PassMessagePipe()
86 ScopedMessagePipeHandle handle_;
Dconnector.h81 Connector(ScopedMessagePipeHandle message_pipe,
128 ScopedMessagePipeHandle PassMessagePipe();
231 ScopedMessagePipeHandle message_pipe_;
/external/libchrome/mojo/public/cpp/system/tests/
Dinvitation_unittest.cc58 ScopedMessagePipeHandle* primordial_pipes, in LaunchChildTestClient()
140 static void WriteMessage(const ScopedMessagePipeHandle& pipe, in WriteMessage()
147 static std::string ReadMessage(const ScopedMessagePipeHandle& pipe) { in ReadMessage()
183 static ScopedMessagePipeHandle AcceptIsolatedInvitation() { in AcceptIsolatedInvitation()
206 ScopedMessagePipeHandle pipe; in TEST_P()
220 ScopedMessagePipeHandle pipe; in TEST_P()
233 ScopedMessagePipeHandle pipes[2]; in TEST_P()
254 ScopedMessagePipeHandle pipe0 = OutgoingInvitation::SendIsolated( in TEST()
256 ScopedMessagePipeHandle pipe1 = OutgoingInvitation::SendIsolated( in TEST()
267 ScopedMessagePipeHandle pipe; in TEST_P()
Dsimple_watcher_unittest.cc49 ScopedMessagePipeHandle a, b; in TEST_F()
74 ScopedMessagePipeHandle a, b; in TEST_F()
120 ScopedMessagePipeHandle a, b; in TEST_F()
134 ScopedMessagePipeHandle a, b; in TEST_F()
157 ScopedMessagePipeHandle a, b; in TEST_F()
180 ScopedMessagePipeHandle a, b; in TEST_F()
203 ScopedMessagePipeHandle a, b; in TEST_F()
224 ScopedMessagePipeHandle a, b; in TEST_F()
248 ScopedMessagePipeHandle a, b; in TEST_F()
270 ScopedMessagePipeHandle a, b; in TEST_F()
Dcore_unittest.cc151 ScopedMessagePipeHandle h0; in TEST()
152 ScopedMessagePipeHandle h1; in TEST()
208 ScopedMessagePipeHandle h0; in TEST()
209 ScopedMessagePipeHandle h1; in TEST()
291 ScopedMessagePipeHandle h0; in TEST()
292 ScopedMessagePipeHandle h1; in TEST()
296 ScopedMessagePipeHandle h2; in TEST()
297 ScopedMessagePipeHandle h3; in TEST()
333 ScopedMessagePipeHandle h0; in TEST()
334 ScopedMessagePipeHandle h1; in TEST()
[all …]
Dwait_unittest.cc27 void WriteMessage(const ScopedMessagePipeHandle& handle, in WriteMessage()
35 std::string ReadMessage(const ScopedMessagePipeHandle& handle) { in ReadMessage()
129 [](ScopedMessagePipeHandle* handle) { in TEST_F()
149 [](ScopedMessagePipeHandle* handle) { in TEST_F()
168 [](ScopedMessagePipeHandle* handle) { in TEST_F()
238 [](ScopedMessagePipeHandle* handle) { in TEST_F()
255 [](ScopedMessagePipeHandle* handle) { in TEST_F()
282 [](ScopedMessagePipeHandle* handle) { in TEST_F()
/external/libchrome/mojo/core/test/
Dmultiprocess_test_helper.h27 using HandlerCallback = base::Callback<void(ScopedMessagePipeHandle)>;
51 ScopedMessagePipeHandle StartChild(
58 ScopedMessagePipeHandle StartChildWithExtraSwitch(
87 static mojo::ScopedMessagePipeHandle primordial_pipe;
Dmultiprocess_test_helper.cc59 ScopedMessagePipeHandle pipe = in RunClientFunction()
74 ScopedMessagePipeHandle MultiprocessTestHelper::StartChild( in StartChild()
81 ScopedMessagePipeHandle MultiprocessTestHelper::StartChildWithExtraSwitch( in StartChildWithExtraSwitch()
160 ScopedMessagePipeHandle pipe; in StartChildWithExtraSwitch()
272 mojo::ScopedMessagePipeHandle MultiprocessTestHelper::primordial_pipe;
/external/libchrome/ipc/
Dipc_sync_channel_unittest.cc47 mojo::ScopedMessagePipeHandle channel_handle) in Worker()
64 Worker(mojo::ScopedMessagePipeHandle channel_handle, Channel::Mode mode) in Worker()
248 mojo::ScopedMessagePipeHandle channel_handle_;
301 mojo::ScopedMessagePipeHandle channel_handle) in SimpleServer()
316 explicit SimpleClient(mojo::ScopedMessagePipeHandle channel_handle) in SimpleClient()
355 mojo::ScopedMessagePipeHandle channel_handle) in TwoStepServer()
382 mojo::ScopedMessagePipeHandle channel_handle) in TwoStepClient()
429 explicit DelayClient(mojo::ScopedMessagePipeHandle channel_handle) in DelayClient()
462 mojo::ScopedMessagePipeHandle channel_handle) in NoHangServer()
483 mojo::ScopedMessagePipeHandle channel_handle) in NoHangClient()
[all …]
Dipc_test_base.h51 mojo::ScopedMessagePipeHandle TakeHandle();
56 mojo::ScopedMessagePipeHandle handle_;
69 void Init(mojo::ScopedMessagePipeHandle handle);
79 mojo::ScopedMessagePipeHandle handle_;
Dipc_channel_mojo.h50 mojo::ScopedMessagePipeHandle handle, in COMPONENT_EXPORT()
60 mojo::ScopedMessagePipeHandle handle, in COMPONENT_EXPORT()
65 mojo::ScopedMessagePipeHandle handle, in COMPONENT_EXPORT()
100 mojo::ScopedMessagePipeHandle handle, in COMPONENT_EXPORT()
Dipc_mojo_message_helper.h18 mojo::ScopedMessagePipeHandle handle);
21 mojo::ScopedMessagePipeHandle* handle);
Dipc_channel_mojo.cc39 mojo::ScopedMessagePipeHandle handle, in MojoChannelFactory()
58 mojo::ScopedMessagePipeHandle handle_;
84 mojo::ScopedMessagePipeHandle handle, in Create()
95 mojo::ScopedMessagePipeHandle handle, in CreateServerFactory()
105 mojo::ScopedMessagePipeHandle handle, in CreateClientFactory()
114 mojo::ScopedMessagePipeHandle handle, in ChannelMojo()
Dipc_mojo_message_helper.cc16 mojo::ScopedMessagePipeHandle handle) { in WriteMessagePipeTo()
26 mojo::ScopedMessagePipeHandle* handle) { in ReadMessagePipeFrom()
Dipc_channel_common.cc40 mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), in CreateClient()
56 mojo::ScopedMessagePipeHandle(channel_handle.mojo_handle), in CreateServer()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dtest_native_types.h43 ScopedMessagePipeHandle pipe);
52 void set_pipe(mojo::ScopedMessagePipeHandle pipe) { pipe_ = std::move(pipe); } in set_pipe()
53 mojo::ScopedMessagePipeHandle PassPipe() const { return std::move(pipe_); } in PassPipe()
57 mutable mojo::ScopedMessagePipeHandle pipe_;
Dtest_helpers_unittest.cc72 void BounceOne(ScopedMessagePipeHandle one, in BounceOne()
77 void BounceTwo(ScopedMessagePipeHandle one, in BounceTwo()
78 ScopedMessagePipeHandle two, in BounceTwo()
112 ScopedMessagePipeHandle handle0, handle1; in TEST_F()
Dhandle_passing_unittest.cc79 ScopedMessagePipeHandle pipe, in DoStuff()
93 ScopedMessagePipeHandle pipe0; in DoStuff()
148 ScopedMessagePipeHandle pipe1_;
179 ScopedMessagePipeHandle p = std::move(response->pipe); in DoStuff()
236 sample::RequestPtr request(sample::Request::New(1, ScopedMessagePipeHandle(), in TEST_P()
242 factory->DoStuff(std::move(request), ScopedMessagePipeHandle(), in TEST_P()

123