/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 18 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/ |
D | test_utils.h | 17 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/ |
D | CoreImpl.java | 15 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()
|
D | UntypedHandleImpl.java | 9 import org.chromium.mojo.system.MessagePipeHandle; 36 public MessagePipeHandle toMessagePipeHandle() { in toMessagePipeHandle()
|
D | MessagePipeHandleImpl.java | 8 import org.chromium.mojo.system.MessagePipeHandle; 16 class MessagePipeHandleImpl extends HandleBase implements MessagePipeHandle {
|
/external/chromium_org/mojo/public/cpp/system/ |
D | core.h | 255 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/ |
D | test_utils.cc | 13 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/ |
D | Core.java | 162 public Pair<MessagePipeHandle, MessagePipeHandle> createMessagePipe(); in createMessagePipe()
|
D | InvalidHandle.java | 17 public class InvalidHandle implements UntypedHandle, MessagePipeHandle, ConsumerHandle, 64 public MessagePipeHandle toMessagePipeHandle() { in toMessagePipeHandle()
|
D | UntypedHandle.java | 21 public MessagePipeHandle toMessagePipeHandle(); in toMessagePipeHandle()
|
D | MessagePipeHandle.java | 14 public interface MessagePipeHandle extends Handle { interface
|
/external/chromium_org/mojo/public/cpp/bindings/lib/ |
D | sync_dispatcher.cc | 13 bool WaitForMessageAndDispatch(MessagePipeHandle handle, in WaitForMessageAndDispatch()
|
D | message.cc | 47 MojoResult ReadAndDispatchMessage(MessagePipeHandle handle, in ReadAndDispatchMessage()
|
/external/chromium_org/mojo/public/cpp/application/lib/ |
D | mojo_main_standalone.cc | 16 mojo::MakeScopedHandle(mojo::MessagePipeHandle(service_provider_handle))); in MojoMain()
|
D | mojo_main_chromium.cc | 18 mojo::MakeScopedHandle(mojo::MessagePipeHandle(service_provider_handle))); in MojoMain()
|
D | application.cc | 18 MessagePipeHandle(service_provider_handle)).Pass()) {} in Application()
|
/external/chromium_org/mojo/services/network/ |
D | main.cc | 24 mojo::MakeScopedHandle(mojo::MessagePipeHandle(service_provider_handle))); in MojoMain()
|
/external/chromium_org/mojo/spy/ |
D | spy.cc | 49 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/ |
D | sync_dispatcher.h | 20 bool WaitForMessageAndDispatch(MessagePipeHandle handle,
|
D | message.h | 117 MojoResult ReadAndDispatchMessage(MessagePipeHandle handle,
|
/external/chromium_org/mojo/public/gles2/ |
D | gles2_private.h | 30 MessagePipeHandle handle,
|
D | gles2_private.cc | 33 return g_gles2_support->CreateContext(mojo::MessagePipeHandle(handle), in MojoGLES2CreateContext()
|
/external/chromium_org/mojo/shell/ |
D | out_of_process_dynamic_service_runner.cc | 50 ScopedMessagePipeHandle(MessagePipeHandle( in Start()
|
/external/chromium_org/mojo/gles2/ |
D | gles2_support_impl.h | 24 MessagePipeHandle handle,
|
/external/chromium_org/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 115 EXPECT_FALSE(MakeScopedHandle(MessagePipeHandle()).is_valid()); in TEST() 123 MessagePipeHandle h_invalid; in TEST() 266 mp.handle1.reset(MessagePipeHandle(handles[0])); in TEST()
|