Home
last modified time | relevance | path

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

/external/libbrillo/brillo/message_loops/
Dmessage_loop_unittest.cc71 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 …]
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.cc42 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()
Dglib_message_loop_unittest.cc49 EXPECT_TRUE(loop_->CancelTask(task_id)); in TEST_F()
66 EXPECT_TRUE(loop_->CancelTask(task_id)); in TEST_F()
Dbase_message_loop.h46 bool CancelTask(TaskId task_id) override;
114 bool CancelTask();
Dbase_message_loop.cc157 bool BaseMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::BaseMessageLoop
166 return io_task_it->second.CancelTask(); in CancelTask()
408 bool BaseMessageLoop::IOTask::CancelTask() { in CancelTask() function in brillo::BaseMessageLoop::IOTask
Dmessage_loop_utils.cc25 loop->CancelTask(task_id); in MessageLoopRunUntil()
Dglib_message_loop.h36 bool CancelTask(TaskId task_id) override;
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
Dglib_message_loop.cc124 bool GlibMessageLoop::CancelTask(TaskId task_id) { in CancelTask() function in brillo::GlibMessageLoop
/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()