Home
last modified time | relevance | path

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

/external/libchrome/base/task/sequence_manager/
Dwork_queue_unittest.cc252 EXPECT_FALSE(work_queue_->BlockedByFence()); in TEST_F()
257 EXPECT_FALSE(work_queue_->BlockedByFence()); in TEST_F()
262 EXPECT_TRUE(work_queue_->BlockedByFence()); in TEST_F()
267 EXPECT_TRUE(work_queue_->BlockedByFence()); in TEST_F()
283 EXPECT_FALSE(work_queue_->BlockedByFence()); in TEST_F()
298 EXPECT_TRUE(work_queue_->BlockedByFence()); in TEST_F()
310 EXPECT_FALSE(work_queue_->BlockedByFence()); in TEST_F()
319 EXPECT_TRUE(work_queue_->BlockedByFence()); in TEST_F()
324 EXPECT_FALSE(work_queue_->BlockedByFence()); in TEST_F()
330 EXPECT_FALSE(work_queue_->BlockedByFence()); in TEST_F()
[all …]
Dwork_queue.cc42 bool WorkQueue::BlockedByFence() const { in BlockedByFence() function in base::sequence_manager::internal::WorkQueue
53 if (tasks_.empty() || BlockedByFence()) in GetFrontTaskEnqueueOrder()
79 if (work_queue_sets_ && !BlockedByFence()) in Push()
87 bool was_blocked = BlockedByFence(); in PushNonNestableTaskToFront()
106 if (BlockedByFence()) in PushNonNestableTaskToFront()
125 if (work_queue_sets_ && !BlockedByFence()) in ReloadEmptyImmediateQueue()
179 bool was_blocked_by_fence = BlockedByFence(); in InsertFenceImpl()
195 !BlockedByFence()) { in InsertFence()
200 if (BlockedByFence()) in InsertFence()
206 bool was_blocked_by_fence = BlockedByFence(); in RemoveFence()
Dtask_queue.cc244 bool TaskQueue::BlockedByFence() const { in BlockedByFence() function in base::sequence_manager::TaskQueue
248 return impl_->BlockedByFence(); in BlockedByFence()
Dwork_queue.h128 bool BlockedByFence() const;
Dtask_queue.h309 bool BlockedByFence() const;
Dtask_queue_impl.cc689 bool TaskQueueImpl::BlockedByFence() const { in BlockedByFence() function in base::sequence_manager::internal::TaskQueueImpl
693 if (!main_thread_only().immediate_work_queue->BlockedByFence() || in BlockedByFence()
694 !main_thread_only().delayed_work_queue->BlockedByFence()) { in BlockedByFence()
Dsequence_manager_impl_unittest.cc815 TEST_P(SequenceManagerTest, BlockedByFence) { in TEST_P() argument
817 EXPECT_FALSE(runners_[0]->BlockedByFence()); in TEST_P()
820 EXPECT_TRUE(runners_[0]->BlockedByFence()); in TEST_P()
823 EXPECT_FALSE(runners_[0]->BlockedByFence()); in TEST_P()
827 EXPECT_FALSE(runners_[0]->BlockedByFence()); in TEST_P()
830 EXPECT_TRUE(runners_[0]->BlockedByFence()); in TEST_P()
833 EXPECT_FALSE(runners_[0]->BlockedByFence()); in TEST_P()
842 EXPECT_FALSE(runners_[0]->BlockedByFence()); in TEST_P()
845 EXPECT_TRUE(runners_[0]->BlockedByFence()); in TEST_P()
Dtask_queue_impl.h206 bool BlockedByFence() const;
Dsequence_manager_impl.cc624 if (queue->HasTaskToRunImmediately() && !queue->BlockedByFence()) in OnTaskQueueEnabled()