Home
last modified time | relevance | path

Searched refs:CancelTask (Results 1 – 12 of 12) sorted by relevance

/external/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc81 EXPECT_FALSE(this->loop_->CancelTask(MessageLoop::kTaskIdNull)); in TYPED_TEST()
82 EXPECT_FALSE(this->loop_->CancelTask(1234)); in TYPED_TEST()
97 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()
101 EXPECT_FALSE(this->loop_->CancelTask(task_id)); in TYPED_TEST()
148 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()
167 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()
186 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()
204 EXPECT_FALSE(this->loop_->CancelTask(task_id)); in TYPED_TEST()
216 EXPECT_TRUE(loop->CancelTask(*read_task_id)) in TYPED_TEST()
224 EXPECT_TRUE(loop->CancelTask(*write_task_id)); in TYPED_TEST()
[all …]
Dmock_message_loop.h51 ON_CALL(*this, CancelTask(::testing::_)) in MockMessageLoop()
53 &FakeMessageLoop::CancelTask)); in MockMessageLoop()
72 MOCK_METHOD1(CancelTask, bool(TaskId task_id));
Dfake_message_loop_unittest.cc43 EXPECT_FALSE(loop_->CancelTask(MessageLoop::kTaskIdNull)); in TEST_F()
44 EXPECT_FALSE(loop_->CancelTask(1234)); in TEST_F()
113 EXPECT_FALSE(loop_->CancelTask(task_id)); in TEST_F()
Dbase_message_loop.h53 bool CancelTask(TaskId task_id) override;
119 bool CancelTask();
Dbase_message_loop.cc169 bool BaseMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::BaseMessageLoop
178 return io_task_it->second.CancelTask(); in CancelTask()
427 bool BaseMessageLoop::IOTask::CancelTask() { in CancelTask() function in brillo::BaseMessageLoop::IOTask
Dmessage_loop_utils.cc26 loop->CancelTask(task_id); in MessageLoopRunUntil()
Dmessage_loop.h102 virtual bool CancelTask(TaskId task_id) = 0;
Dfake_message_loop.h49 bool CancelTask(TaskId task_id) override;
Dfake_message_loop.cc50 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::FakeMessageLoop
/external/libbrillo/brillo/streams/
Dfile_stream.cc87 MessageLoop::current()->CancelTask(read_watcher_); in WaitForData()
105 MessageLoop::current()->CancelTask(write_watcher_); in WaitForData()
159 MessageLoop::current()->CancelTask(read_watcher_); in CancelPendingAsyncOperations()
165 MessageLoop::current()->CancelTask(write_watcher_); in CancelPendingAsyncOperations()
/external/libbrillo/brillo/
Dbinder_watcher.cc43 message_loop_->CancelTask(task_id_); in ~BinderWatcher()
Dasynchronous_signal_handler.cc32 MessageLoop::current()->CancelTask(fd_watcher_task_); in ~AsynchronousSignalHandler()