Home
last modified time | relevance | path

Searched refs:FakeMessageLoop (Results 1 – 6 of 6) sorted by relevance

/external/libbrillo/brillo/message_loops/
Dmock_message_loop.h38 static_cast<TaskId(FakeMessageLoop::*)( in MockMessageLoop()
42 &FakeMessageLoop::PostDelayedTask))); in MockMessageLoop()
47 static_cast<TaskId(FakeMessageLoop::*)( in MockMessageLoop()
50 &FakeMessageLoop::WatchFileDescriptor))); in MockMessageLoop()
53 &FakeMessageLoop::CancelTask)); in MockMessageLoop()
56 &FakeMessageLoop::RunOnce)); in MockMessageLoop()
77 FakeMessageLoop* fake_loop() { in fake_loop()
82 FakeMessageLoop fake_loop_;
Dfake_message_loop.cc12 FakeMessageLoop::FakeMessageLoop(base::SimpleTestClock* clock) in FakeMessageLoop() function in brillo::FakeMessageLoop
16 MessageLoop::TaskId FakeMessageLoop::PostDelayedTask( in PostDelayedTask()
36 MessageLoop::TaskId FakeMessageLoop::WatchFileDescriptor( in WatchFileDescriptor()
50 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask()
58 bool FakeMessageLoop::RunOnce(bool may_block) { in RunOnce()
123 void FakeMessageLoop::SetFileDescriptorReadiness(int fd, in SetFileDescriptorReadiness()
132 bool FakeMessageLoop::PendingTasks() { in PendingTasks()
Dfake_message_loop.h32 class BRILLO_EXPORT FakeMessageLoop : public MessageLoop {
36 explicit FakeMessageLoop(base::SimpleTestClock* clock);
37 ~FakeMessageLoop() override = default;
94 DISALLOW_COPY_AND_ASSIGN(FakeMessageLoop);
Dfake_message_loop_unittest.cc30 loop_.reset(new FakeMessageLoop(nullptr)); in SetUp()
38 std::unique_ptr<FakeMessageLoop> loop_;
64 loop_.reset(new FakeMessageLoop(&clock_)); in TEST_F()
/external/libbrillo/brillo/streams/
Dstream_utils_unittest.cc162 FakeMessageLoop fake_loop_{nullptr};
Dstream_unittest.cc157 FakeMessageLoop fake_loop_{nullptr}; in TEST()