Home
last modified time | relevance | path

Searched refs:work_queue_sets_ (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/task/sequence_manager/
Dwork_queue_sets_unittest.cc23 work_queue_sets_.reset(new WorkQueueSets(kNumSets, "test")); in SetUp()
29 work_queue_sets_->RemoveQueue(work_queue.get()); in TearDown()
42 work_queue_sets_->AddQueue(queue, TaskQueue::kControlPriority); in NewTaskQueue()
62 std::unique_ptr<WorkQueueSets> work_queue_sets_; member in base::sequence_manager::internal::WorkQueueSetsTest
68 work_queue_sets_->ChangeSetIndex(work_queue, set); in TEST_F()
76 work_queue_sets_->ChangeSetIndex(work_queue, set); in TEST_F()
80 work_queue_sets_->GetOldestQueueInSet(set, &selected_work_queue)); in TEST_F()
86 work_queue_sets_->ChangeSetIndex(work_queue, set); in TEST_F()
90 work_queue_sets_->GetOldestQueueInSet(set, &selected_work_queue)); in TEST_F()
95 EXPECT_TRUE(work_queue_sets_->GetOldestQueueInSet(set, &selected_work_queue)); in TEST_F()
[all …]
Dwork_queue.cc26 DCHECK(!work_queue_sets_) << task_queue_->GetName() << " : " in ~WorkQueue()
27 << work_queue_sets_->GetName() << " : " << name_; in ~WorkQueue()
57 << task_queue_->GetName() << " : " << work_queue_sets_->GetName() << " : " in GetFrontTaskEnqueueOrder()
79 if (work_queue_sets_ && !BlockedByFence()) in Push()
80 work_queue_sets_->OnTaskPushedToEmptyQueue(this); in Push()
95 << task_queue_->GetName() << " : " << work_queue_sets_->GetName() in PushNonNestableTaskToFront()
102 if (!work_queue_sets_) in PushNonNestableTaskToFront()
111 work_queue_sets_->OnTaskPushedToEmptyQueue(this); in PushNonNestableTaskToFront()
113 work_queue_sets_->OnFrontTaskChanged(this); in PushNonNestableTaskToFront()
125 if (work_queue_sets_ && !BlockedByFence()) in ReloadEmptyImmediateQueue()
[all …]
Dwork_queue_unittest.cc43 work_queue_sets_.reset(new WorkQueueSets(1, "test")); in SetUp()
44 work_queue_sets_->AddQueue(work_queue_.get(), 0); in SetUp()
47 void TearDown() override { work_queue_sets_->RemoveQueue(work_queue_.get()); } in TearDown()
79 std::unique_ptr<WorkQueueSets> work_queue_sets_; member in base::sequence_manager::internal::WorkQueueTest
138 EXPECT_FALSE(work_queue_sets_->GetOldestQueueInSet(0, &work_queue)); in TEST_F()
141 EXPECT_TRUE(work_queue_sets_->GetOldestQueueInSet(0, &work_queue)); in TEST_F()
148 EXPECT_FALSE(work_queue_sets_->GetOldestQueueInSet(0, &work_queue)); in TEST_F()
151 EXPECT_FALSE(work_queue_sets_->GetOldestQueueInSet(0, &work_queue)); in TEST_F()
156 EXPECT_FALSE(work_queue_sets_->GetOldestQueueInSet(0, &work_queue)); in TEST_F()
160 EXPECT_TRUE(work_queue_sets_->GetOldestQueueInSet(0, &work_queue)); in TEST_F()
[all …]
Dwork_queue.h93 WorkQueueSets* work_queue_sets() const { return work_queue_sets_; } in work_queue_sets()
137 WorkQueueSets* work_queue_sets_ = nullptr; // NOT OWNED. variable