Home
last modified time | relevance | path

Searched refs:WriteAsync (Results 1 – 7 of 7) sorted by relevance

/external/libbrillo/brillo/streams/
Dmock_stream.h46 MOCK_METHOD5(WriteAsync, bool(const void*,
Dstream_unittest.cc351 TEST(Stream, WriteAsync) { in TEST() argument
368 EXPECT_TRUE(stream_mock.WriteAsync(buf, sizeof(buf), in TEST()
375 EXPECT_FALSE(stream_mock.WriteAsync(buf, sizeof(buf), in TEST()
Dstream.h290 virtual bool WriteAsync(const void* buffer,
Dinput_stream_set_unittest.cc57 EXPECT_FALSE(stream_->WriteAsync(buffer, sizeof(buffer), {}, {}, nullptr)); in TEST_F()
Dstream.cc102 bool Stream::WriteAsync(const void* buffer, in WriteAsync() function in brillo::Stream
Dfile_stream_unittest.cc510 TEST_F(FileStreamTest, WriteAsync) { in TEST_F() argument
521 EXPECT_TRUE(stream_->WriteAsync(test_write_buffer_, 100, in TEST_F()
1100 EXPECT_TRUE(stream->WriteAsync(data.data(), data.size(), in TEST_F()
Dfake_stream_unittest.cc421 TEST_F(FakeStreamTest, WriteAsync) { in TEST_F() argument