/external/libchrome/mojo/core/ |
D | signals_unittest.cc | 54 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 77 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 145 WaitForSignals(a, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST_F() 152 WaitForSignals(b, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST_F() 158 WaitForSignals(h, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST_F() 164 WaitForSignals(a, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST_F() 174 WaitForSignals(c, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST_F() 190 WaitForSignals(a, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST_F() 200 WaitForSignals(h, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 208 WaitForSignals(b, MOJO_HANDLE_SIGNAL_PEER_REMOTE, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | invitation_unittest.cc | 252 WaitForSignals(pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 457 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 477 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT() 480 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT() 494 WaitForSignals(pipes[0], MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 496 WaitForSignals(pipes[1], MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 521 WaitForSignals(pipes[0], MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT() 522 WaitForSignals(pipes[1], MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT() 527 WaitForSignals(pipes[0], MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT() 528 WaitForSignals(pipes[1], MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT() [all …]
|
D | data_pipe_unittest.cc | 181 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 265 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() 368 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() 428 WaitForSignals(producer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() 449 WaitForSignals(producer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() 470 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() 488 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_WRITABLE, &hss)); in TEST_F() 503 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() 519 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() 537 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() [all …]
|
D | message_pipe_unittest.cc | 133 WaitForSignals(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 157 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 169 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 194 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &state)); in TEST_F() 230 WaitForSignals(pipe0_, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 263 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() 270 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_WRITABLE, &hss)); in TEST_F() 282 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() 290 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_WRITABLE, &hss)); in TEST_F() 297 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() [all …]
|
D | quota_unittest.cc | 95 WaitForSignals(a, MOJO_HANDLE_SIGNAL_READABLE); in TEST_F() 129 WaitForSignals(a, MOJO_HANDLE_SIGNAL_READABLE); in TEST_F() 156 WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE); in TEST_F() 171 WaitForSignals(b, MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED); in TEST_F() 184 WaitForSignals(b, MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED, in TEST_F() 215 WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE); in TEST_F() 230 WaitForSignals(b, MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED); in TEST_F() 243 WaitForSignals(b, MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED, in TEST_F()
|
D | multiprocess_message_pipe_unittest.cc | 139 MojoResult result = WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss); in DEFINE_TEST_CLIENT_WITH_PIPE() 184 WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_P() 223 WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_P() 250 WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_P() 262 CHECK_EQ(WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss), in DEFINE_TEST_CLIENT_WITH_PIPE() 300 CHECK_EQ(WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss), in DEFINE_TEST_CLIENT_WITH_PIPE() 359 WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() 392 WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_F() 402 CHECK_EQ(WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss), in DEFINE_TEST_CLIENT_WITH_PIPE() 477 WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE, &hss)); in TEST_P() [all …]
|
D | message_unittest.cc | 199 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 232 MojoTestBase::WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 270 MojoTestBase::WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 290 MojoTestBase::WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 342 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 381 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(pipe.handle1.get().value(), in TEST_F() 445 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 471 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() 508 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(pipe1.handle1.get().value(), in TEST_F() 542 WaitForSignals(extracted_handle, MOJO_HANDLE_SIGNAL_READABLE)); in TEST_F() [all …]
|
D | message_pipe_perftest.cc | 49 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE, &hss), in WriteWaitThenRead() 98 MojoResult result = WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE, &hss); in RunPingPongClient()
|
D | embedder_unittest.cc | 222 WaitForSignals(mp2, MOJO_HANDLE_SIGNAL_READABLE, &state)); in TEST_F() 266 WaitForSignals(mp1, MOJO_HANDLE_SIGNAL_READABLE, &state)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | platform_wrapper_unittest.cc | 212 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | trap_unittest.cc | 1563 WaitForSignals(handles[i], MOJO_HANDLE_SIGNAL_READABLE); in TEST_F() 1564 WaitForSignals(handles[i + kNumTestPipes], MOJO_HANDLE_SIGNAL_READABLE); in TEST_F()
|
/external/libchrome/mojo/core/test/ |
D | mojo_test_base.cc | 128 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithHandles() 145 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessageWithOptionalHandle() 170 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE), MOJO_RESULT_OK); in ReadMessage() 256 CHECK_EQ(WaitForSignals(producer, MOJO_HANDLE_SIGNAL_WRITABLE), in WriteData() 269 CHECK_EQ(WaitForSignals(consumer, MOJO_HANDLE_SIGNAL_READABLE), in ReadData() 291 MojoResult MojoTestBase::WaitForSignals(MojoHandle handle, in WaitForSignals() function in mojo::core::test::MojoTestBase 299 MojoResult MojoTestBase::WaitForSignals(MojoHandle handle, in WaitForSignals() function in mojo::core::test::MojoTestBase
|
D | mojo_test_base.h | 153 static MojoResult WaitForSignals(MojoHandle handle, 159 static MojoResult WaitForSignals(MojoHandle handle,
|