Home
last modified time | relevance | path

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

/external/libchrome/base/task/sequence_manager/test/
Dtest_task_queue.cc12 TestTaskQueue::TestTaskQueue(std::unique_ptr<internal::TaskQueueImpl> impl, in TestTaskQueue() function in base::sequence_manager::TestTaskQueue
16 TestTaskQueue::~TestTaskQueue() = default;
18 WeakPtr<TestTaskQueue> TestTaskQueue::GetWeakPtr() { in GetWeakPtr()
Dtest_task_queue.h14 class TestTaskQueue : public TaskQueue {
16 explicit TestTaskQueue(std::unique_ptr<internal::TaskQueueImpl> impl,
21 WeakPtr<TestTaskQueue> GetWeakPtr();
24 ~TestTaskQueue() override; // Ref-counted.
27 WeakPtrFactory<TestTaskQueue> weak_factory_;
/external/libchrome/base/task/sequence_manager/
Dsequence_manager_impl_unittest.cc67 scoped_refptr<TestTaskQueue> CreateTaskQueue( in CreateTaskQueue()
69 return manager_->CreateTaskQueue<TestTaskQueue>(spec); in CreateTaskQueue()
78 std::vector<scoped_refptr<TestTaskQueue>> runners_;
183 manager_->CreateTaskQueue<TestTaskQueue>(TaskQueue::Spec("default")); in SetUpWithMessagePump()
371 scoped_refptr<TestTaskQueue> task_queue) { in InsertFenceAndPostTestTask()
855 std::vector<std::pair<scoped_refptr<TestTaskQueue>, TimeTicks>>* run_times, in RecordTimeAndQueueTask() argument
856 scoped_refptr<TestTaskQueue> task_queue, in RecordTimeAndQueueTask()
968 scoped_refptr<TestTaskQueue> queue1 = runners_[0]; in TEST_P()
969 scoped_refptr<TestTaskQueue> queue2 = runners_[1]; in TEST_P()
971 std::vector<std::pair<scoped_refptr<TestTaskQueue>, TimeTicks>> run_times; in TEST_P()
[all …]
Dsequence_manager_perftest.cc87 queues_.push_back(manager_->CreateTaskQueue<TestTaskQueue>( in Initialize()