Home
last modified time | relevance | path

Searched refs:ReadMessageWithHandles (Results 1 – 8 of 8) sorted by relevance

/external/libmojo/mojo/edk/system/
Dshared_buffer_unittest.cc49 EXPECT_EQ("...", ReadMessageWithHandles(p1, &dupe, 1)); in TEST_F()
60 std::string message = ReadMessageWithHandles(h, &b, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
95 ReadMessageWithHandles(h, &b, 1); in TEST_F()
106 std::string message = ReadMessageWithHandles(h, &other_child, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
123 std::string message = ReadMessageWithHandles(h, &other_child, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
127 ReadMessageWithHandles(other_child, &b, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
150 ReadMessageWithHandles(h0, &b, 1); in TEST_F()
166 std::string message = ReadMessageWithHandles(parent, &pipe, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
172 EXPECT_EQ("", ReadMessageWithHandles(child, &buffer, 1)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
185 std::string message = ReadMessageWithHandles(parent, &pipe, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
[all …]
Dmultiprocess_message_pipe_unittest.cc60 EXPECT_EQ("ok", ReadMessageWithHandles(h_, &p, 1)); in RetrieveHandle()
711 EXPECT_EQ(message, ReadMessageWithHandles(p1, &p2, 1)); in TEST_F()
751 ReadMessageWithHandles(h, &p, 1); in DEFINE_TEST_CLIENT_WITH_PIPE()
783 ReadMessageWithHandles(h, &p, 1); in DEFINE_TEST_CLIENT_WITH_PIPE()
803 ReadMessageWithHandles(p, &echo_request, 1); in DEFINE_TEST_CLIENT_WITH_PIPE()
881 ReadMessageWithHandles(h, &p0, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
882 ReadMessageWithHandles(h, &p1, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
885 ReadMessageWithHandles(h, &p1, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
902 ReadMessageWithHandles(h, &p1, 1); in TEST_F()
905 ReadMessageWithHandles(h, &p0, 1); in TEST_F()
[all …]
Dmessage_pipe_unittest.cc488 ReadMessageWithHandles(h, handles, kPingPongHandlesPerIteration); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
510 ReadMessageWithHandles(h, c, kPingPongHandlesPerIteration); in TEST_F()
529 ReadMessageWithHandles(h, p, kPingPongHandlesPerIteration); in TEST_F()
545 ReadMessageWithHandles(h, buffers, kPingPongHandlesPerIteration); in TEST_F()
Ddata_pipe_unittest.cc1795 std::string message = ReadMessageWithHandles(h, &p, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1812 std::string expected_message = ReadMessageWithHandles(h, &c, 1); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
1880 std::string expected_message = ReadMessageWithHandles(child, &c, 1); in TEST_F()
/external/libmojo/mojo/edk/embedder/
Dembedder_unittest.cc94 std::string message = ReadMessageWithHandles(client_mp, &port, 1); in TEST_F()
98 message = ReadMessageWithHandles(client_mp2, &client_mp3, 1); in TEST_F()
127 EXPECT_EQ("hey", ReadMessageWithHandles(client_mp, &client_mp2, 1)); in TEST_F()
163 EXPECT_EQ(kWorld, ReadMessageWithHandles(client_mp, &h1, 1)); in TEST_F()
275 EXPECT_EQ("quux", ReadMessageWithHandles(mp0, &mp2, 1)); in TEST_F()
309 EXPECT_EQ("Bar", ReadMessageWithHandles(client_mp, &mp1, 1)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
388 EXPECT_EQ("hello", ReadMessageWithHandles(client_mp, &sb1, 1)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
527 ReadMessageWithHandles(client_mp, platform_handles, kNumHandles)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
/external/libmojo/mojo/edk/test/
Dmojo_test_base.cc122 std::string MojoTestBase::ReadMessageWithHandles( in ReadMessageWithHandles() function in mojo::edk::test::MojoTestBase
180 return ReadMessageWithHandles(mp, nullptr, 0); in ReadMessage()
Dmojo_test_base.h95 static std::string ReadMessageWithHandles(MojoHandle mp,
/external/libmojo/mojo/public/cpp/bindings/tests/
De2e_perftest.cc171 EXPECT_EQ("hello", ReadMessageWithHandles(mp, &service_mp, 1)); in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()