Searched refs:FakeStream (Results 1 – 7 of 7) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | fake_stream.cc | 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() [all …]
|
D | fake_stream.h | 35 class FakeStream : public Stream { 40 FakeStream(Stream::AccessMode mode, 166 DISALLOW_COPY_AND_ASSIGN(FakeStream);
|
D | fake_stream_unittest.cc | 31 stream_.reset(new FakeStream{mode, &clock_}); in CreateStream() 64 std::unique_ptr<FakeStream> stream_;
|
/external/libweave/src/test/ |
D | fake_stream.cc | 14 FakeStream::FakeStream(provider::TaskRunner* task_runner) in FakeStream() function in weave::test::FakeStream 16 FakeStream::FakeStream(provider::TaskRunner* task_runner, in FakeStream() function in weave::test::FakeStream 20 void FakeStream::CancelPendingOperations() {} in CancelPendingOperations() 22 void FakeStream::ExpectWritePacketString(base::TimeDelta, in ExpectWritePacketString() 27 void FakeStream::AddReadPacketString(base::TimeDelta, const std::string& data) { in AddReadPacketString() 31 void FakeStream::Read(void* buffer, in Read() 36 FROM_HERE, base::Bind(&FakeStream::Read, base::Unretained(this), buffer, in Read() 48 void FakeStream::Write(const void* buffer, in Write()
|
/external/libweave/include/weave/test/ |
D | fake_stream.h | 23 class FakeStream : public Stream { 25 explicit FakeStream(provider::TaskRunner* task_runner); 26 FakeStream(provider::TaskRunner* task_runner, const std::string& read_data);
|
/external/chromium-trace/catapult/third_party/typ/typ/tests/ |
D | host_test.py | 149 class FakeStream(object): class 161 s = FakeStream() 166 s = FakeStream() 171 s = FakeStream()
|
/external/libweave/src/notification/ |
D | xmpp_channel_unittest.cc | 90 stream_{new test::FakeStream{task_runner_}}, 112 std::unique_ptr<test::FakeStream> stream_; 113 test::FakeStream* fake_stream_{nullptr};
|