Home
last modified time | relevance | path

Searched refs:WaitForData (Results 1 – 16 of 16) sorted by relevance

/external/libbrillo/brillo/streams/
Dfake_stream_unittest.cc244 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ, in TEST_F()
250 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ, in TEST_F()
260 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ, in TEST_F()
399 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::WRITE, in TEST_F()
405 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::WRITE, in TEST_F()
415 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::WRITE, in TEST_F()
468 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
479 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
489 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
502 EXPECT_TRUE(stream_->WaitForData(Stream::AccessMode::READ_WRITE, in TEST_F()
Dstream_unittest.cc64 MOCK_METHOD3(WaitForData, bool(AccessMode,
118 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
163 EXPECT_CALL(stream_mock, WaitForData(_, _, _)).Times(0); in TEST()
204 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
223 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
256 EXPECT_CALL(stream_mock, WaitForData(AccessMode::READ, _, _)) in TEST()
366 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _)) in TEST()
402 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _)) in TEST()
416 EXPECT_CALL(stream_mock, WaitForData(AccessMode::WRITE, _, _)) in TEST()
Dtls_stream.cc96 bool WaitForData(AccessMode mode,
243 bool TlsStream::TlsStreamImpl::WaitForData( in WaitForData() function in brillo::TlsStream::TlsStreamImpl
258 return socket_->WaitForData(mode, callback, error); in WaitForData()
422 bool ok = socket_->WaitForData( in DoHandshake()
432 bool ok = socket_->WaitForData( in DoHandshake()
522 bool TlsStream::WaitForData(AccessMode mode, in WaitForData() function in brillo::TlsStream
527 return impl_->WaitForData(mode, callback, error); in WaitForData()
Dfile_stream.h48 virtual bool WaitForData(AccessMode mode,
135 bool WaitForData(AccessMode mode,
Dinput_stream_set.cc158 bool InputStreamSet::WaitForData( in WaitForData() function in brillo::InputStreamSet
170 return stream->WaitForData(mode, callback, error); in WaitForData()
Dfile_stream_unittest.cc133 MOCK_METHOD3(WaitForData,
178 return stream_->WaitForData(mode, {}, error); in CallWaitForData()
380 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ, _, _)) in TEST_F()
519 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::WRITE, _, _)) in TEST_F()
679 TEST_F(FileStreamTest, WaitForData) { in TEST_F() argument
680 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ, _, _)) in TEST_F()
684 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::WRITE, _, _)) in TEST_F()
688 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ_WRITE, _, _)) in TEST_F()
692 EXPECT_CALL(fd_mock(), WaitForData(Stream::AccessMode::READ_WRITE, _, _)) in TEST_F()
Dmock_stream.h63 MOCK_METHOD3(WaitForData, bool(AccessMode,
Dtls_stream.h63 bool WaitForData(AccessMode mode,
Dfile_stream.cc82 bool WaitForData(Stream::AccessMode mode, in WaitForData() function in brillo::FileDescriptor
513 bool FileStream::WaitForData( in WaitForData() function in brillo::FileStream
520 return fd_interface_->WaitForData(mode, callback, error); in WaitForData()
Dinput_stream_set.h97 bool WaitForData(AccessMode mode,
Dstream.cc225 is_async_read_pending_ = WaitForData( in ReadAsyncImpl()
288 is_async_write_pending_ = WaitForData( in WriteAsyncImpl()
Dfake_stream.h108 bool WaitForData(AccessMode mode,
Dmemory_stream.h180 bool WaitForData(AccessMode mode,
Dstream.h373 virtual bool WaitForData(AccessMode mode,
Dmemory_stream.cc185 bool MemoryStream::WaitForData(AccessMode mode, in WaitForData() function in brillo::MemoryStream
Dfake_stream.cc358 bool FakeStream::WaitForData(AccessMode mode, in WaitForData() function in brillo::FakeStream