Searched refs:CancelTask (Results 1 – 15 of 15) sorted by relevance
71 EXPECT_FALSE(this->loop_->CancelTask(MessageLoop::kTaskIdNull)); in TYPED_TEST()72 EXPECT_FALSE(this->loop_->CancelTask(1234)); in TYPED_TEST()89 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()93 EXPECT_FALSE(this->loop_->CancelTask(task_id)); in TYPED_TEST()142 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()161 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()180 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()198 EXPECT_FALSE(this->loop_->CancelTask(task_id)); in TYPED_TEST()210 EXPECT_TRUE(this->loop_->CancelTask(read_task_id)) in TYPED_TEST()218 EXPECT_TRUE(this->loop_->CancelTask(write_task_id)); in TYPED_TEST()[all …]
51 ON_CALL(*this, CancelTask(::testing::_)) in MockMessageLoop()53 &FakeMessageLoop::CancelTask)); in MockMessageLoop()72 MOCK_METHOD1(CancelTask, bool(TaskId task_id));
42 EXPECT_FALSE(loop_->CancelTask(MessageLoop::kTaskIdNull)); in TEST_F()43 EXPECT_FALSE(loop_->CancelTask(1234)); in TEST_F()107 EXPECT_FALSE(loop_->CancelTask(task_id)); in TEST_F()
49 EXPECT_TRUE(loop_->CancelTask(task_id)); in TEST_F()66 EXPECT_TRUE(loop_->CancelTask(task_id)); in TEST_F()
46 bool CancelTask(TaskId task_id) override;114 bool CancelTask();
157 bool BaseMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::BaseMessageLoop166 return io_task_it->second.CancelTask(); in CancelTask()408 bool BaseMessageLoop::IOTask::CancelTask() { in CancelTask() function in brillo::BaseMessageLoop::IOTask
25 loop->CancelTask(task_id); in MessageLoopRunUntil()
36 bool CancelTask(TaskId task_id) override;
102 virtual bool CancelTask(TaskId task_id) = 0;
49 bool CancelTask(TaskId task_id) override;
50 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::FakeMessageLoop
124 bool GlibMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::GlibMessageLoop
87 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()
43 message_loop_->CancelTask(task_id_); in ~BinderWatcher()
32 MessageLoop::current()->CancelTask(fd_watcher_task_); in ~AsynchronousSignalHandler()