/external/libchrome/mojo/core/ |
D | data_pipe_unittest.cc | 268 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 356 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 371 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 428 WaitForSignals(producer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() 429 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals); in TEST_F() 430 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F() 449 WaitForSignals(producer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() 450 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals); in TEST_F() 451 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfiable_signals); in TEST_F() 470 WaitForSignals(consumer_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() [all …]
|
D | signals_unittest.cc | 40 MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 48 MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 60 MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 70 MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 77 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(b, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 80 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfied_signals); in TEST_F() 81 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED, in TEST_F()
|
D | core_unittest.cc | 29 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE | 208 mojo::Wait(mojo::Handle(h[1]), MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss[1])); in TEST_F() 211 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST_F() 216 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST_F() 227 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss[1].satisfied_signals); in TEST_F() 292 ASSERT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 300 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 321 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 434 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST_F() 446 mojo::Wait(mojo::Handle(ch), MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() [all …]
|
D | message_pipe_unittest.cc | 28 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE | 194 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &state)); in TEST_F() 282 WaitForSignals(pipe1_, MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F() 283 ASSERT_TRUE(hss.satisfied_signals & MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F() 284 ASSERT_TRUE(hss.satisfiable_signals & MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F() 311 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, hss.satisfied_signals); in TEST_F() 516 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(d, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 539 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(d, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F()
|
D | invitation_unittest.cc | 252 WaitForSignals(pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 480 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED); 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() 563 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT() 714 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT() 748 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F() 782 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT() 791 WaitForSignals(primordial_pipe, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT() 813 WaitForSignals(pipe0, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F() [all …]
|
D | handle_signals_state.h | 65 return satisfies_any(MOJO_HANDLE_SIGNAL_PEER_CLOSED); in peer_closed() 93 return !can_satisfy_any(MOJO_HANDLE_SIGNAL_PEER_CLOSED); in never_peer_closed()
|
D | multiprocess_message_pipe_unittest.cc | 143 CHECK_EQ(hss.satisfied_signals, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT_WITH_PIPE() 144 CHECK_EQ(hss.satisfiable_signals, MOJO_HANDLE_SIGNAL_PEER_CLOSED); in DEFINE_TEST_CLIENT_WITH_PIPE() 617 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE | in DEFINE_TEST_CLIENT_WITH_PIPE() 635 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE | in DEFINE_TEST_CLIENT_WITH_PIPE() 925 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(p0, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_P() 1111 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(p, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1160 WaitForSignals(service_client, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1207 EXPECT_EQ(MOJO_RESULT_OK, WaitForSignals(a, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_P() 1252 WaitForSignals(p, MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_P() 1267 WaitForSignals(handles[0], MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() [all …]
|
D | message_pipe_dispatcher.cc | 379 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock() 389 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_QUOTA_EXCEEDED; in GetHandleSignalsStateNoLock()
|
D | embedder_unittest.cc | 223 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfied_signals); in TEST_F() 267 ASSERT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfied_signals); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | data_pipe_producer_dispatcher.cc | 446 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock() 448 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
|
D | data_pipe_consumer_dispatcher.cc | 494 rv.satisfied_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock() 500 rv.satisfiable_signals |= MOJO_HANDLE_SIGNAL_PEER_CLOSED; in GetHandleSignalsStateNoLock()
|
D | message_unittest.cc | 382 MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 509 MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F() 951 WaitForSignals(handles[1], MOJO_HANDLE_SIGNAL_PEER_CLOSED)); in TEST_F()
|
D | trap_unittest.cc | 282 MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F() 758 MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F()
|
/external/libchrome/mojo/public/c/system/tests/ |
D | core_api_unittest.cc | 24 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE | 133 MOJO_HANDLE_SIGNAL_PEER_CLOSED, &state)); in TEST() 142 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfied_signals); in TEST() 167 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST() 175 EXPECT_EQ(MOJO_HANDLE_SIGNAL_WRITABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED | in TEST() 207 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST() 231 MOJO_HANDLE_SIGNAL_PEER_CLOSED, &state)); in TEST() 233 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST() 235 EXPECT_EQ(MOJO_HANDLE_SIGNAL_READABLE | MOJO_HANDLE_SIGNAL_PEER_CLOSED, in TEST() 251 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfied_signals); in TEST() [all …]
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | handle_signals_state_unittest.cc | 32 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE, in TEST_F() 34 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE); in TEST_F()
|
D | handle_signal_tracker_unittest.cc | 82 MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST_F()
|
D | core_unittest.cc | 27 MOJO_HANDLE_SIGNAL_PEER_CLOSED | MOJO_HANDLE_SIGNAL_PEER_REMOTE | 198 EXPECT_EQ(MOJO_HANDLE_SIGNAL_PEER_CLOSED, state.satisfied_signals); in TEST()
|
D | invitation_unittest.cc | 258 Wait(pipe0.get(), MOJO_HANDLE_SIGNAL_PEER_CLOSED); in TEST()
|
D | wait_unittest.cc | 105 Wait(p.handle1.get(), MOJO_HANDLE_SIGNAL_PEER_CLOSED, &hss)); in TEST_F()
|
/external/libchrome/mojo/public/cpp/system/ |
D | handle_signals_state.h | 61 return satisfies_any(MOJO_HANDLE_SIGNAL_PEER_CLOSED); in peer_closed() 89 return !can_satisfy_any(MOJO_HANDLE_SIGNAL_PEER_CLOSED); in never_peer_closed()
|
D | scope_to_message_pipe.cc | 40 unowned_scoper->pipe_.get(), MOJO_HANDLE_SIGNAL_PEER_CLOSED, in StartWatchingPipe()
|
/external/libchrome/mojo/public/c/system/ |
D | types.h | 189 const MojoHandleSignals MOJO_HANDLE_SIGNAL_PEER_CLOSED = 1 << 2; variable 197 #define MOJO_HANDLE_SIGNAL_PEER_CLOSED ((MojoHandleSignals)1 << 2) macro
|
D | README.md | 631 …als` | `MOJO_HANDLE_SIGNAL_READABLE + MOJO_HANDLE_SIGNAL_WRITABLE + MOJO_HANDLE_SIGNAL_PEER_CLOSED` 639 | `satisfied_signals` | `MOJO_HANDLE_SIGNAL_READABLE + MOJO_HANDLE_SIGNAL_PEER_CLOSED` 640 | `satisfiable_signals` | `MOJO_HANDLE_SIGNAL_READABLE + MOJO_HANDLE_SIGNAL_PEER_CLOSED` 650 | `satisfied_signals` | `MOJO_HANDLE_SIGNAL_PEER_CLOSED` 651 | `satisfiable_signals` | `MOJO_HANDLE_SIGNAL_PEER_CLOSED`
|