/external/libmojo/mojo/public/c/system/tests/ |
core_unittest_pure_c.c | 44 MojoHandle handle0, handle1; local 53 handle0 = MOJO_HANDLE_INVALID; 54 EXPECT_NE(MOJO_RESULT_OK, MojoClose(handle0)); 57 MojoWait(handle0, ~MOJO_HANDLE_SIGNAL_NONE, 61 EXPECT_EQ(MOJO_RESULT_OK, MojoCreateMessagePipe(NULL, &handle0, &handle1)); 67 MojoWaitMany(&handle0, &signals, 1, 1, &result_index, states)); 78 MojoWriteMessage(handle0, kHello, (uint32_t)sizeof(kHello), NULL, 97 EXPECT_EQ(MOJO_RESULT_OK, MojoClose(handle0));
|
/external/libmojo/mojo/public/cpp/system/ |
message_pipe.h | 49 MessagePipeHandle handle0; local 52 options, handle0.mutable_value(), handle1.mutable_value()); 55 message_pipe0->reset(handle0); 135 ScopedMessagePipeHandle handle0; member in class:mojo::MessagePipe 140 MojoResult result = CreateMessagePipe(nullptr, &handle0, &handle1); 142 DCHECK(handle0.is_valid()); 147 MojoResult result = CreateMessagePipe(&options, &handle0, &handle1); 149 DCHECK(handle0.is_valid());
|
/external/libmojo/mojo/edk/js/ |
core.cc | 101 MojoHandle handle0 = MOJO_HANDLE_INVALID; local 108 result = MojoCreateMessagePipe(NULL, &handle0, &handle1); 121 result = MojoCreateMessagePipe(&options, &handle0, &handle1); 129 dictionary.Set("handle0", mojo::Handle(handle0));
|
/frameworks/base/tests/CoreTests/android/core/ |
RequestAPITest.java | 232 RequestHandle handle0 = mRequestQueue.queueRequest( local 235 handle0.waitUntilComplete(); 400 RequestHandle handle0 = mRequestQueue.queueRequest( local 402 handle0.waitUntilComplete();
|