Home
last modified time | relevance | path

Searched refs:WaitForSignals (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/mojo/core/
Dsignals_unittest.cc54 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()
Dinvitation_unittest.cc252 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 …]
Ddata_pipe_unittest.cc181 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 …]
Dmessage_pipe_unittest.cc133 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 …]
Dquota_unittest.cc95 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()
Dmultiprocess_message_pipe_unittest.cc139 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 …]
Dmessage_unittest.cc199 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 …]
Dmessage_pipe_perftest.cc49 CHECK_EQ(WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE, &hss), in WriteWaitThenRead()
98 MojoResult result = WaitForSignals(mp, MOJO_HANDLE_SIGNAL_READABLE, &hss); in RunPingPongClient()
Dembedder_unittest.cc222 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()
Dplatform_wrapper_unittest.cc212 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(h, MOJO_HANDLE_SIGNAL_READABLE)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dtrap_unittest.cc1563 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/
Dmojo_test_base.cc128 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
Dmojo_test_base.h153 static MojoResult WaitForSignals(MojoHandle handle,
159 static MojoResult WaitForSignals(MojoHandle handle,