Home
last modified time | relevance | path

Searched refs:MessagePipeHandle (Results 1 – 25 of 32) sorted by relevance

12

/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/
DCoreImplTest.java18 import org.chromium.mojo.system.MessagePipeHandle;
60 private static void checkSendingMessage(MessagePipeHandle in, MessagePipeHandle out) { in checkSendingMessage()
68 in.writeMessage(buffer, null, MessagePipeHandle.WriteFlags.NONE); in checkSendingMessage()
72 MessagePipeHandle.ReadMessageResult result = out.readMessage( in checkSendingMessage()
73 receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in checkSendingMessage()
80 result = out.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in checkSendingMessage()
98 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); in testWaitMany()
168 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(); in testMessagePipeEmpty()
178 MessagePipeHandle.ReadMessageResult result = handles.first.readMessage(null, 0, in testMessagePipeEmpty()
179 MessagePipeHandle.ReadFlags.NONE); in testMessagePipeEmpty()
[all …]
/external/chromium_org/mojo/public/cpp/test_support/
Dtest_utils.h17 bool WriteTextMessage(const MessagePipeHandle& handle, const std::string& text);
22 bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text);
26 bool DiscardMessage(const MessagePipeHandle& handle);
/external/chromium_org/mojo/android/system/src/org/chromium/mojo/system/impl/
DCoreImpl.java15 import org.chromium.mojo.system.MessagePipeHandle;
115 public Pair<MessagePipeHandle, MessagePipeHandle> createMessagePipe() { in createMessagePipe()
120 return Pair.<MessagePipeHandle, MessagePipeHandle> create( in createMessagePipe()
200 List<? extends Handle> handles, MessagePipeHandle.WriteFlags flags) { in writeMessage()
228 MessagePipeHandle.ReadMessageResult readMessage(MessagePipeHandleImpl handle, in readMessage()
230 MessagePipeHandle.ReadFlags flags) { in readMessage()
235 MessagePipeHandle.ReadMessageResult result = nativeReadMessage( in readMessage()
537 private static MessagePipeHandle.ReadMessageResult newReadMessageResult(int mojoResult, in newReadMessageResult()
540 MessagePipeHandle.ReadMessageResult result = new MessagePipeHandle.ReadMessageResult(); in newReadMessageResult()
629 private native MessagePipeHandle.ReadMessageResult nativeReadMessage(int mojoHandle, in nativeReadMessage()
DUntypedHandleImpl.java9 import org.chromium.mojo.system.MessagePipeHandle;
36 public MessagePipeHandle toMessagePipeHandle() { in toMessagePipeHandle()
DMessagePipeHandleImpl.java8 import org.chromium.mojo.system.MessagePipeHandle;
16 class MessagePipeHandleImpl extends HandleBase implements MessagePipeHandle {
/external/chromium_org/mojo/public/cpp/system/
Dcore.h255 class MessagePipeHandle : public Handle {
257 MessagePipeHandle() {} in MessagePipeHandle() function
258 explicit MessagePipeHandle(MojoHandle value) : Handle(value) {} in MessagePipeHandle() function
263 MOJO_COMPILE_ASSERT(sizeof(MessagePipeHandle) == sizeof(Handle),
266 typedef ScopedHandleBase<MessagePipeHandle> ScopedMessagePipeHandle;
268 sizeof(MessagePipeHandle),
276 MessagePipeHandle handle0; in CreateMessagePipe()
277 MessagePipeHandle handle1; in CreateMessagePipe()
291 inline MojoResult WriteMessageRaw(MessagePipeHandle message_pipe, in WriteMessageRaw()
301 inline MojoResult ReadMessageRaw(MessagePipeHandle message_pipe, in ReadMessageRaw()
/external/chromium_org/mojo/public/cpp/test_support/lib/
Dtest_utils.cc13 bool WriteTextMessage(const MessagePipeHandle& handle, in WriteTextMessage()
24 bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) { in ReadTextMessage()
61 bool DiscardMessage(const MessagePipeHandle& handle) { in DiscardMessage()
/external/chromium_org/mojo/public/java/src/org/chromium/mojo/system/
DCore.java162 public Pair<MessagePipeHandle, MessagePipeHandle> createMessagePipe(); in createMessagePipe()
DInvalidHandle.java17 public class InvalidHandle implements UntypedHandle, MessagePipeHandle, ConsumerHandle,
64 public MessagePipeHandle toMessagePipeHandle() { in toMessagePipeHandle()
DUntypedHandle.java21 public MessagePipeHandle toMessagePipeHandle(); in toMessagePipeHandle()
DMessagePipeHandle.java14 public interface MessagePipeHandle extends Handle { interface
/external/chromium_org/mojo/public/cpp/bindings/lib/
Dsync_dispatcher.cc13 bool WaitForMessageAndDispatch(MessagePipeHandle handle, in WaitForMessageAndDispatch()
Dmessage.cc47 MojoResult ReadAndDispatchMessage(MessagePipeHandle handle, in ReadAndDispatchMessage()
/external/chromium_org/mojo/public/cpp/application/lib/
Dmojo_main_standalone.cc16 mojo::MakeScopedHandle(mojo::MessagePipeHandle(service_provider_handle))); in MojoMain()
Dmojo_main_chromium.cc18 mojo::MakeScopedHandle(mojo::MessagePipeHandle(service_provider_handle))); in MojoMain()
Dapplication.cc18 MessagePipeHandle(service_provider_handle)).Pass()) {} in Application()
/external/chromium_org/mojo/services/network/
Dmain.cc24 mojo::MakeScopedHandle(mojo::MessagePipeHandle(service_provider_handle))); in MojoMain()
/external/chromium_org/mojo/spy/
Dspy.cc49 std::vector<mojo::MessagePipeHandle> pipes; in Start()
91 mojo::MessagePipeHandle write_handle = (r == 0) ? pipes[1] : pipes[0]; in Start()
/external/chromium_org/mojo/public/cpp/bindings/
Dsync_dispatcher.h20 bool WaitForMessageAndDispatch(MessagePipeHandle handle,
Dmessage.h117 MojoResult ReadAndDispatchMessage(MessagePipeHandle handle,
/external/chromium_org/mojo/public/gles2/
Dgles2_private.h30 MessagePipeHandle handle,
Dgles2_private.cc33 return g_gles2_support->CreateContext(mojo::MessagePipeHandle(handle), in MojoGLES2CreateContext()
/external/chromium_org/mojo/shell/
Dout_of_process_dynamic_service_runner.cc50 ScopedMessagePipeHandle(MessagePipeHandle( in Start()
/external/chromium_org/mojo/gles2/
Dgles2_support_impl.h24 MessagePipeHandle handle,
/external/chromium_org/mojo/public/cpp/system/tests/
Dcore_unittest.cc115 EXPECT_FALSE(MakeScopedHandle(MessagePipeHandle()).is_valid()); in TEST()
123 MessagePipeHandle h_invalid; in TEST()
266 mp.handle1.reset(MessagePipeHandle(handles[0])); in TEST()

12