Lines Matching refs:FakeStream

57 FakeStream::FakeStream(Stream::AccessMode mode,  in FakeStream()  function in brillo::FakeStream
61 void FakeStream::AddReadPacketData(base::TimeDelta delay, in AddReadPacketData()
68 void FakeStream::AddReadPacketData(base::TimeDelta delay, brillo::Blob data) { in AddReadPacketData()
75 void FakeStream::AddReadPacketString(base::TimeDelta delay, in AddReadPacketString()
80 void FakeStream::QueueReadError(base::TimeDelta delay) { in QueueReadError()
84 void FakeStream::QueueReadErrorWithMessage(base::TimeDelta delay, in QueueReadErrorWithMessage()
93 void FakeStream::ClearReadQueue() { in ClearReadQueue()
101 void FakeStream::ExpectWritePacketSize(base::TimeDelta delay, in ExpectWritePacketSize()
109 void FakeStream::ExpectWritePacketData(base::TimeDelta delay, in ExpectWritePacketData()
116 void FakeStream::ExpectWritePacketData(base::TimeDelta delay, in ExpectWritePacketData()
125 void FakeStream::ExpectWritePacketString(base::TimeDelta delay, in ExpectWritePacketString()
130 void FakeStream::QueueWriteError(base::TimeDelta delay) { in QueueWriteError()
134 void FakeStream::QueueWriteErrorWithMessage(base::TimeDelta delay, in QueueWriteErrorWithMessage()
144 void FakeStream::ClearWriteQueue() { in ClearWriteQueue()
154 const brillo::Blob& FakeStream::GetFlushedOutputData() const { in GetFlushedOutputData()
158 std::string FakeStream::GetFlushedOutputDataAsString() const { in GetFlushedOutputDataAsString()
162 bool FakeStream::CanRead() const { in CanRead()
166 bool FakeStream::CanWrite() const { in CanWrite()
170 bool FakeStream::SetSizeBlocking(uint64_t /* size */, ErrorPtr* error) { in SetSizeBlocking()
174 bool FakeStream::Seek(int64_t /* offset */, in Seek()
181 bool FakeStream::IsReadBufferEmpty() const { in IsReadBufferEmpty()
185 bool FakeStream::PopReadPacket() { in PopReadPacket()
197 bool FakeStream::ReadNonBlocking(void* buffer, in ReadNonBlocking()
246 bool FakeStream::IsWriteBufferFull() const { in IsWriteBufferFull()
250 bool FakeStream::PopWritePacket() { in PopWritePacket()
262 bool FakeStream::WriteNonBlocking(const void* buffer, in WriteNonBlocking()
327 bool FakeStream::FlushBlocking(ErrorPtr* error) { in FlushBlocking()
353 bool FakeStream::CloseBlocking(ErrorPtr* /* error */) { in CloseBlocking()
358 bool FakeStream::WaitForData(AccessMode mode, in WaitForData()
380 bool FakeStream::WaitForDataBlocking(AccessMode in_mode, in WaitForDataBlocking()