Searched refs:CancelTask (Results 1 – 12 of 12) sorted by relevance
81 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 …]
51 ON_CALL(*this, CancelTask(::testing::_)) in MockMessageLoop()53 &FakeMessageLoop::CancelTask)); in MockMessageLoop()72 MOCK_METHOD1(CancelTask, bool(TaskId task_id));
43 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()
53 bool CancelTask(TaskId task_id) override;119 bool CancelTask();
169 bool BaseMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::BaseMessageLoop178 return io_task_it->second.CancelTask(); in CancelTask()427 bool BaseMessageLoop::IOTask::CancelTask() { in CancelTask() function in brillo::BaseMessageLoop::IOTask
26 loop->CancelTask(task_id); in MessageLoopRunUntil()
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
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()