Searched refs:CancelTask (Results 1 – 9 of 9) sorted by relevance
78 EXPECT_FALSE(this->loop_->CancelTask(MessageLoop::kTaskIdNull)); in TYPED_TEST()79 EXPECT_FALSE(this->loop_->CancelTask(1234)); in TYPED_TEST()96 EXPECT_TRUE(this->loop_->CancelTask(task_id)); in TYPED_TEST()100 EXPECT_FALSE(this->loop_->CancelTask(task_id)); in TYPED_TEST()132 *cancel_result = loop->CancelTask(*task_id); in TYPED_TEST()
43 ON_CALL(*this, CancelTask(::testing::_)) in MockMessageLoop()45 &FakeMessageLoop::CancelTask)); in MockMessageLoop()57 MOCK_METHOD(bool, CancelTask, (TaskId), (override));
42 EXPECT_FALSE(loop_->CancelTask(MessageLoop::kTaskIdNull)); in TEST_F()43 EXPECT_FALSE(loop_->CancelTask(1234)); in TEST_F()
25 loop->CancelTask(task_id); in MessageLoopRunUntil()
74 virtual bool CancelTask(TaskId task_id) = 0;
43 bool CancelTask(TaskId task_id) override;
48 bool CancelTask(TaskId task_id) override;
36 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::FakeMessageLoop
100 bool BaseMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::BaseMessageLoop