Home
last modified time | relevance | path

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

/external/libbrillo/brillo/message_loops/
Dmessage_loop_test.cc78 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()
Dmock_message_loop.h43 ON_CALL(*this, CancelTask(::testing::_)) in MockMessageLoop()
45 &FakeMessageLoop::CancelTask)); in MockMessageLoop()
57 MOCK_METHOD(bool, CancelTask, (TaskId), (override));
Dfake_message_loop_test.cc42 EXPECT_FALSE(loop_->CancelTask(MessageLoop::kTaskIdNull)); in TEST_F()
43 EXPECT_FALSE(loop_->CancelTask(1234)); in TEST_F()
Dmessage_loop_utils.cc25 loop->CancelTask(task_id); in MessageLoopRunUntil()
Dmessage_loop.h74 virtual bool CancelTask(TaskId task_id) = 0;
Dfake_message_loop.h43 bool CancelTask(TaskId task_id) override;
Dbase_message_loop.h48 bool CancelTask(TaskId task_id) override;
Dfake_message_loop.cc36 bool FakeMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::FakeMessageLoop
Dbase_message_loop.cc100 bool BaseMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::BaseMessageLoop