/external/libmojo/mojo/public/cpp/system/ |
D | message_pipe.h | 27 class MessagePipeHandle : public Handle { 29 MessagePipeHandle() {} in MessagePipeHandle() function 30 explicit MessagePipeHandle(MojoHandle value) : Handle(value) {} in MessagePipeHandle() function 35 static_assert(sizeof(MessagePipeHandle) == sizeof(Handle), 38 typedef ScopedHandleBase<MessagePipeHandle> ScopedMessagePipeHandle; 39 static_assert(sizeof(ScopedMessagePipeHandle) == sizeof(MessagePipeHandle), 49 MessagePipeHandle handle0; in CreateMessagePipe() 50 MessagePipeHandle handle1; in CreateMessagePipe() 70 inline MojoResult WriteMessageRaw(MessagePipeHandle message_pipe, in WriteMessageRaw() 82 inline MojoResult ReadMessageRaw(MessagePipeHandle message_pipe, in ReadMessageRaw() [all …]
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/ |
D | CoreImplTest.java | 21 import org.chromium.mojo.system.MessagePipeHandle; 98 private static void checkSendingMessage(MessagePipeHandle in, MessagePipeHandle out) { in checkSendingMessage() 106 in.writeMessage(buffer, null, MessagePipeHandle.WriteFlags.NONE); in checkSendingMessage() 110 ResultAnd<MessagePipeHandle.ReadMessageResult> result = in checkSendingMessage() 111 out.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in checkSendingMessage() 118 result = out.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in checkSendingMessage() 195 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); in testWaitMany() 254 private static void createAndCloseMessagePipe(MessagePipeHandle.CreateOptions options) { in createAndCloseMessagePipe() 256 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(options); in createAndCloseMessagePipe() 269 createAndCloseMessagePipe(new MessagePipeHandle.CreateOptions()); in testMessagePipeCreation() [all …]
|
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/ |
D | Connector.java | 9 import org.chromium.mojo.system.MessagePipeHandle; 10 import org.chromium.mojo.system.MessagePipeHandle.ReadMessageResult; 25 public class Connector implements MessageReceiver, HandleOwner<MessagePipeHandle> { 35 private final MessagePipeHandle mMessagePipeHandle; 61 public Connector(MessagePipeHandle messagePipeHandle) { in Connector() 69 public Connector(MessagePipeHandle messagePipeHandle, AsyncWaiter asyncWaiter) { in Connector() 105 message.getHandles(), MessagePipeHandle.WriteFlags.NONE); in accept() 120 public MessagePipeHandle passHandle() { in passHandle() 122 MessagePipeHandle handle = mMessagePipeHandle.pass(); in passHandle() 232 MessagePipeHandle handle, MessageReceiver receiver) { in readAndDispatchMessage() [all …]
|
D | InterfaceRequest.java | 7 import org.chromium.mojo.system.MessagePipeHandle; 18 public class InterfaceRequest<P extends Interface> implements HandleOwner<MessagePipeHandle> { 23 private final MessagePipeHandle mHandle; 30 InterfaceRequest(MessagePipeHandle handle) { in InterfaceRequest() 38 public MessagePipeHandle passHandle() { in passHandle() 55 public static InterfaceRequest asInterfaceRequestUnsafe(MessagePipeHandle handle) { in asInterfaceRequestUnsafe()
|
D | ExecutorFactory.java | 10 import org.chromium.mojo.system.MessagePipeHandle; 11 import org.chromium.mojo.system.MessagePipeHandle.ReadMessageResult; 47 private final MessagePipeHandle mWriteHandle; 51 private final MessagePipeHandle mReadHandle; 72 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe( in PipedExecutor() 73 new MessagePipeHandle.CreateOptions()); in PipedExecutor() 127 mReadHandle.readMessage(NOTIFY_BUFFER, 0, MessagePipeHandle.ReadFlags.NONE); in readNotifyBufferMessage() 164 mWriteHandle.writeMessage(NOTIFY_BUFFER, null, MessagePipeHandle.WriteFlags.NONE); in execute()
|
D | Interface.java | 10 import org.chromium.mojo.system.MessagePipeHandle; 48 public MessagePipeHandle passHandle(); in passHandle() 168 public MessagePipeHandle passHandle() { in passHandle() 170 HandleOwner<MessagePipeHandle> handleOwner = in passHandle() 171 (HandleOwner<MessagePipeHandle>) mMessageReceiver; in passHandle() 332 public void bind(I impl, MessagePipeHandle handle) { in bind() 352 public final P attachProxy(MessagePipeHandle handle, int version) { in attachProxy() 369 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); in getInterfaceRequest() 374 public final InterfaceRequest<I> asInterfaceRequest(MessagePipeHandle handle) { in asInterfaceRequest()
|
D | RouterImpl.java | 11 import org.chromium.mojo.system.MessagePipeHandle; 116 public RouterImpl(MessagePipeHandle messagePipeHandle) { in RouterImpl() 127 public RouterImpl(MessagePipeHandle messagePipeHandle, AsyncWaiter asyncWaiter) { in RouterImpl() 198 public MessagePipeHandle passHandle() { in passHandle()
|
D | Router.java | 7 import org.chromium.mojo.system.MessagePipeHandle; 14 public interface Router extends MessageReceiverWithResponder, HandleOwner<MessagePipeHandle> {
|
D | AutoCloseableRouter.java | 8 import org.chromium.mojo.system.MessagePipeHandle; 52 public MessagePipeHandle passHandle() { in passHandle()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | ConnectorTest.java | 14 import org.chromium.mojo.system.MessagePipeHandle; 30 private MessagePipeHandle mHandle; 43 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe( in setUp() 44 new MessagePipeHandle.CreateOptions()); in setUp() 75 ResultAnd<MessagePipeHandle.ReadMessageResult> result = in testSendingMessage() 76 mHandle.readMessage(received, 0, MessagePipeHandle.ReadFlags.NONE); in testSendingMessage() 88 MessagePipeHandle.WriteFlags.NONE); in testReceivingMessage()
|
D | RouterTest.java | 17 import org.chromium.mojo.system.MessagePipeHandle; 31 private MessagePipeHandle mHandle; 43 Pair<MessagePipeHandle, MessagePipeHandle> handles = core.createMessagePipe(null); in setUp() 68 ResultAnd<MessagePipeHandle.ReadMessageResult> result = in testSendingToRouterWithResponse() 69 mHandle.readMessage(receiveBuffer, 0, MessagePipeHandle.ReadFlags.NONE); in testSendingToRouterWithResponse() 86 MessagePipeHandle.WriteFlags.NONE); in testSendingToRouterWithResponse() 111 MessagePipeHandle.WriteFlags.NONE); in sendMessageToRouter() 141 ResultAnd<MessagePipeHandle.ReadMessageResult> result = in sendResponseFromRouter() 142 mHandle.readMessage(receivedResponseMessage, 0, MessagePipeHandle.ReadFlags.NONE); in sendResponseFromRouter()
|
D | ReadAndDispatchMessageTest.java | 14 import org.chromium.mojo.system.MessagePipeHandle; 33 private Pair<MessagePipeHandle, MessagePipeHandle> mHandles; 47 mHandles = core.createMessagePipe(new MessagePipeHandle.CreateOptions()); in setUp() 70 mHandles.first.writeMessage(mData, mHandlesToSend, MessagePipeHandle.WriteFlags.NONE); in testReadAndDispatchMessage()
|
D | BindingsTestUtils.java | 9 import org.chromium.mojo.system.MessagePipeHandle; 101 Pair<MessagePipeHandle, MessagePipeHandle> handles = in newProxyOverPipe()
|
/external/libmojo/ipc/ |
D | ipc_mojo_param_traits.cc | 12 void ParamTraits<mojo::MessagePipeHandle>::GetSize(base::PickleSizer* sizer, in GetSize() 19 void ParamTraits<mojo::MessagePipeHandle>::Write(base::Pickle* m, in Write() 26 bool ParamTraits<mojo::MessagePipeHandle>::Read(const base::Pickle* m, in Read() 43 void ParamTraits<mojo::MessagePipeHandle>::Log(const param_type& p, in Log()
|
D | ipc_mojo_param_traits.h | 23 struct IPC_EXPORT ParamTraits<mojo::MessagePipeHandle> { 24 typedef mojo::MessagePipeHandle param_type;
|
D | ipc_channel_handle.h | 51 ChannelHandle(mojo::MessagePipeHandle h) : mojo_handle(h) {} in ChannelHandle() 65 mojo::MessagePipeHandle mojo_handle;
|
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/ |
D | CoreImpl.java | 16 import org.chromium.mojo.system.MessagePipeHandle; 152 public Pair<MessagePipeHandle, MessagePipeHandle> createMessagePipe( in createMessagePipe() 153 MessagePipeHandle.CreateOptions options) { in createMessagePipe() 164 return Pair.<MessagePipeHandle, MessagePipeHandle>create( in createMessagePipe() 278 List<? extends Handle> handles, MessagePipeHandle.WriteFlags flags) { in writeMessage() 305 ResultAnd<MessagePipeHandle.ReadMessageResult> readMessage(MessagePipeHandleImpl handle, in readMessage() 306 ByteBuffer bytes, int maxNumberOfHandles, MessagePipeHandle.ReadFlags flags) { in readMessage() 311 ResultAnd<MessagePipeHandle.ReadMessageResult> result = in readMessage() 320 MessagePipeHandle.ReadMessageResult readResult = result.getValue(); in readMessage() 569 private static ResultAnd<MessagePipeHandle.ReadMessageResult> newReadMessageResult( in newReadMessageResult() [all …]
|
D | MessagePipeHandleImpl.java | 8 import org.chromium.mojo.system.MessagePipeHandle; 17 class MessagePipeHandleImpl extends HandleBase implements MessagePipeHandle { 37 public MessagePipeHandle pass() { in pass()
|
D | UntypedHandleImpl.java | 9 import org.chromium.mojo.system.MessagePipeHandle; 44 public MessagePipeHandle toMessagePipeHandle() { in toMessagePipeHandle()
|
/external/libmojo/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/libmojo/mojo/edk/js/ |
D | handle.cc | 73 v8::Handle<v8::Value> Converter<mojo::MessagePipeHandle>::ToV8( in ToV8() 74 v8::Isolate* isolate, mojo::MessagePipeHandle val) { in ToV8() 78 bool Converter<mojo::MessagePipeHandle>::FromV8(v8::Isolate* isolate, in FromV8() 80 mojo::MessagePipeHandle* out) { in FromV8()
|
D | handle.h | 68 struct Converter<mojo::MessagePipeHandle> { 70 mojo::MessagePipeHandle val); 73 mojo::MessagePipeHandle* out);
|
/external/libmojo/mojo/public/cpp/test_support/lib/ |
D | test_utils.cc | 16 bool WriteTextMessage(const MessagePipeHandle& handle, in WriteTextMessage() 27 bool ReadTextMessage(const MessagePipeHandle& handle, std::string* text) { in ReadTextMessage() 65 bool DiscardMessage(const MessagePipeHandle& handle) { in DiscardMessage()
|
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/ |
D | Core.java | 273 public Pair<MessagePipeHandle, MessagePipeHandle> createMessagePipe( in createMessagePipe() 274 MessagePipeHandle.CreateOptions options); in createMessagePipe()
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/ |
D | HandleMock.java | 13 import org.chromium.mojo.system.MessagePipeHandle; 26 public class HandleMock implements UntypedHandle, MessagePipeHandle, 175 public MessagePipeHandle toMessagePipeHandle() { in toMessagePipeHandle()
|