Searched refs:PushTask (Results 1 – 9 of 9) sorted by relevance
/external/libchrome/base/task_scheduler/ |
D | sequence_unittest.cc | 51 EXPECT_TRUE(sequence->PushTask(CreateTask(&mock_task_a))); in TEST() 55 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_b))); in TEST() 56 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_c))); in TEST() 57 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_d))); in TEST() 80 EXPECT_FALSE(sequence->PushTask(CreateTask(&mock_task_e))); in TEST() 103 background_sequence->PushTask(std::move(background_task)); in TEST() 128 foreground_sequence->PushTask(std::move(foreground_task)); in TEST() 150 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST() 159 sequence->PushTask(Task(FROM_HERE, DoNothing(), TaskTraits(), TimeDelta())); in TEST()
|
D | priority_queue_unittest.cc | 61 sequence_a->PushTask(Task(FROM_HERE, DoNothing(), in TEST() 67 sequence_b->PushTask(Task(FROM_HERE, DoNothing(), in TEST() 73 sequence_c->PushTask(Task(FROM_HERE, DoNothing(), in TEST() 79 sequence_d->PushTask(Task(FROM_HERE, DoNothing(), in TEST()
|
D | test_utils.cc | 21 sequence->PushTask(std::move(task)); in CreateSequenceWithTask()
|
D | sequence.h | 48 bool PushTask(Task task);
|
D | sequence.cc | 17 bool Sequence::PushTask(Task task) { in PushTask() function in base::internal::Sequence
|
D | scheduler_worker_pool.cc | 205 const bool sequence_was_empty = sequence->PushTask(std::move(task)); in PostTaskWithSequenceNow()
|
D | scheduler_single_thread_task_runner_manager.cc | 254 message_pump_sequence_->PushTask(std::move(pump_message_task)); in GetWorkFromWindowsMessageQueue() 363 const bool sequence_was_empty = sequence->PushTask(std::move(task)); in PostTaskNow()
|
D | scheduler_worker_unittest.cc | 190 sequence->PushTask(std::move(task)); in GetWork() 457 sequence->PushTask(std::move(task)); in GetWork()
|
D | task_tracker_unittest.cc | 882 sequence->PushTask(std::move(task)); in TEST_F() 1045 sequence->PushTask(std::move(task_2)); in TEST_F() 1174 sequence_a->PushTask(std::move(task_a_2)); in TEST_F()
|