/external/libchrome/base/test/ |
D | test_mock_time_task_runner.cc | 26 scoped_refptr<const TestMockTimeTaskRunner> task_runner) in LegacyMockTickClock() 33 scoped_refptr<const TestMockTimeTaskRunner> task_runner_; 41 scoped_refptr<const TestMockTimeTaskRunner> task_runner) in LegacyMockClock() 48 scoped_refptr<const TestMockTimeTaskRunner> task_runner_; 67 class TestMockTimeTaskRunner::NonOwningProxyTaskRunner 133 struct TestMockTimeTaskRunner::TestOrderedPendingTask 153 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask() in TestOrderedPendingTask() 157 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask( 160 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask( in TestOrderedPendingTask() 174 TestMockTimeTaskRunner::TestOrderedPendingTask::~TestOrderedPendingTask() = [all …]
|
D | test_mock_time_task_runner_unittest.cc | 24 static constexpr TestMockTimeTaskRunner::Type kTestCases[] = { in TEST() 25 TestMockTimeTaskRunner::Type::kStandalone, in TEST() 26 TestMockTimeTaskRunner::Type::kBoundToThread}; in TEST() 31 auto mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(type); in TEST() 86 auto unbound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST() 93 auto bound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST() 94 TestMockTimeTaskRunner::Type::kBoundToThread); in TEST() 196 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST() 197 TestMockTimeTaskRunner::Type::kBoundToThread); in TEST() 207 auto task_runner2 = MakeRefCounted<TestMockTimeTaskRunner>( in TEST() [all …]
|
D | test_mock_time_task_runner.h | 67 class TestMockTimeTaskRunner : public SingleThreadTaskRunner, 111 explicit ScopedContext(scoped_refptr<TestMockTimeTaskRunner> scope); 132 TestMockTimeTaskRunner(Type type = Type::kStandalone); 135 TestMockTimeTaskRunner(Time start_time, 194 ~TestMockTimeTaskRunner() override; 215 explicit MockClock(TestMockTimeTaskRunner* task_runner) in MockClock() 225 TestMockTimeTaskRunner* task_runner_; 293 DISALLOW_COPY_AND_ASSIGN(TestMockTimeTaskRunner);
|
D | scoped_mock_time_message_loop_task_runner.h | 33 TestMockTimeTaskRunner* task_runner() { return task_runner_.get(); } in task_runner() 34 TestMockTimeTaskRunner* operator->() { return task_runner_.get(); } 37 const scoped_refptr<TestMockTimeTaskRunner> task_runner_;
|
D | scoped_mock_time_message_loop_task_runner_unittest.cc | 44 : original_task_runner_(new TestMockTimeTaskRunner()) { in ScopedMockTimeMessageLoopTaskRunnerTest() 49 TestMockTimeTaskRunner* original_task_runner() { in original_task_runner() 54 scoped_refptr<TestMockTimeTaskRunner> original_task_runner_;
|
D | scoped_task_environment.h | 24 class TestMockTimeTaskRunner; variable 147 const scoped_refptr<TestMockTimeTaskRunner> mock_time_task_runner_;
|
D | scoped_task_environment.cc | 101 ? MakeRefCounted<TestMockTimeTaskRunner>( in ScopedTaskEnvironment() 102 TestMockTimeTaskRunner::Type::kBoundToThread) in ScopedTaskEnvironment()
|
D | scoped_mock_time_message_loop_task_runner.cc | 18 : task_runner_(new TestMockTimeTaskRunner), in ScopedMockTimeMessageLoopTaskRunner()
|
/external/cronet/base/test/ |
D | test_mock_time_task_runner.cc | 31 class TestMockTimeTaskRunner::NonOwningProxyTaskRunner 98 struct TestMockTimeTaskRunner::TestOrderedPendingTask 120 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask() in TestOrderedPendingTask() 124 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask( 127 TestMockTimeTaskRunner::TestOrderedPendingTask::TestOrderedPendingTask( in TestOrderedPendingTask() 141 TestMockTimeTaskRunner::TestOrderedPendingTask::~TestOrderedPendingTask() = 144 TestMockTimeTaskRunner::TestOrderedPendingTask& 145 TestMockTimeTaskRunner::TestOrderedPendingTask::operator=( 152 TestMockTimeTaskRunner::ScopedContext::ScopedContext( in ScopedContext() 153 scoped_refptr<TestMockTimeTaskRunner> scope) in ScopedContext() [all …]
|
D | test_mock_time_task_runner.h | 73 class TestMockTimeTaskRunner : public SingleThreadTaskRunner, 119 explicit ScopedContext(scoped_refptr<TestMockTimeTaskRunner> scope); 145 TestMockTimeTaskRunner(Type type = Type::kStandalone); 148 TestMockTimeTaskRunner(Time start_time, 152 TestMockTimeTaskRunner(const TestMockTimeTaskRunner&) = delete; 153 TestMockTimeTaskRunner& operator=(const TestMockTimeTaskRunner&) = delete; 226 ~TestMockTimeTaskRunner() override; 247 explicit MockClock(TestMockTimeTaskRunner* task_runner) in MockClock() 260 raw_ptr<TestMockTimeTaskRunner> task_runner_;
|
D | test_mock_time_task_runner_unittest.cc | 26 static constexpr TestMockTimeTaskRunner::Type kTestCases[] = { in TEST() 27 TestMockTimeTaskRunner::Type::kStandalone, in TEST() 28 TestMockTimeTaskRunner::Type::kBoundToThread}; in TEST() 33 auto mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(type); in TEST() 90 auto unbound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST() 97 auto bound_mock_time_task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST() 98 TestMockTimeTaskRunner::Type::kBoundToThread); in TEST() 204 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>( in TEST() 205 TestMockTimeTaskRunner::Type::kBoundToThread); in TEST() 216 auto task_runner2 = MakeRefCounted<TestMockTimeTaskRunner>( in TEST() [all …]
|
D | scoped_mock_time_message_loop_task_runner.h | 38 TestMockTimeTaskRunner* task_runner() { return task_runner_.get(); } in task_runner() 39 TestMockTimeTaskRunner* operator->() { return task_runner_.get(); } 42 const scoped_refptr<TestMockTimeTaskRunner> task_runner_;
|
D | scoped_mock_time_message_loop_task_runner_unittest.cc | 43 : original_task_runner_(new TestMockTimeTaskRunner()) { in ScopedMockTimeMessageLoopTaskRunnerTest() 53 TestMockTimeTaskRunner* original_task_runner() { in original_task_runner() 58 scoped_refptr<TestMockTimeTaskRunner> original_task_runner_;
|
D | scoped_mock_time_message_loop_task_runner.cc | 18 : task_runner_(new TestMockTimeTaskRunner), in ScopedMockTimeMessageLoopTaskRunner()
|
/external/cronet/base/threading/ |
D | post_task_and_reply_impl_unittest.cc | 68 class MockRunsTasksInCurrentSequenceTaskRunner : public TestMockTimeTaskRunner { 71 TestMockTimeTaskRunner::Type type = in MockRunsTasksInCurrentSequenceTaskRunner() 72 TestMockTimeTaskRunner::Type::kStandalone) in MockRunsTasksInCurrentSequenceTaskRunner() 73 : TestMockTimeTaskRunner(type) {} in MockRunsTasksInCurrentSequenceTaskRunner() 103 return TestMockTimeTaskRunner::PostDelayedTask(from_here, std::move(task), in PostDelayedTask() 147 TestMockTimeTaskRunner::Type::kBoundToThread);
|
/external/libchrome/base/threading/ |
D | post_task_and_reply_impl_unittest.cc | 66 class MockRunsTasksInCurrentSequenceTaskRunner : public TestMockTimeTaskRunner { 69 TestMockTimeTaskRunner::Type type = in MockRunsTasksInCurrentSequenceTaskRunner() 70 TestMockTimeTaskRunner::Type::kStandalone) in MockRunsTasksInCurrentSequenceTaskRunner() 71 : TestMockTimeTaskRunner(type) {} in MockRunsTasksInCurrentSequenceTaskRunner() 122 TestMockTimeTaskRunner::Type::kBoundToThread);
|
/external/cronet/base/task/ |
D | sequenced_task_runner_unittest.cc | 114 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST_F() 133 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST_F() 152 auto task_runner = MakeRefCounted<TestMockTimeTaskRunner>(); in TEST_F()
|
/external/libchrome/base/timer/ |
D | timer_unittest.cc | 436 scoped_refptr<TestMockTimeTaskRunner> task_runner( in TEST() 437 new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now())); in TEST() 477 scoped_refptr<TestMockTimeTaskRunner> task_runner( in TEST() 478 new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now())); in TEST() 517 scoped_refptr<TestMockTimeTaskRunner> task_runner( in TEST() 518 new TestMockTimeTaskRunner(Time::Now(), TimeTicks::Now())); in TEST()
|
/external/libchrome/base/task_scheduler/ |
D | delayed_task_manager_unittest.cc | 54 const scoped_refptr<TestMockTimeTaskRunner> service_thread_task_runner_ = 55 MakeRefCounted<TestMockTimeTaskRunner>();
|
/external/cronet/base/win/ |
D | registry_unittest.cc | 384 scoped_refptr<base::TestMockTimeTaskRunner> task_runner) in RegistryWatcherThread() 393 const scoped_refptr<base::TestMockTimeTaskRunner> task_runner_; 404 auto test_task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>( in TYPED_TEST() 405 base::TestMockTimeTaskRunner::Type::kBoundToThread); in TYPED_TEST()
|
/external/cronet/base/task/thread_pool/ |
D | delayed_task_manager_unittest.cc | 76 const scoped_refptr<TestMockTimeTaskRunner> service_thread_task_runner_ = 77 MakeRefCounted<TestMockTimeTaskRunner>();
|
/external/libchrome/base/task/sequence_manager/ |
D | sequence_manager_impl_unittest.cc | 95 test_task_runner_ = WrapRefCounted(new TestMockTimeTaskRunner( in SetUp() 96 TestMockTimeTaskRunner::Type::kBoundToThread)); in SetUp() 143 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_; 1374 scoped_refptr<TestMockTimeTaskRunner> test_task_runner, in ExpensiveTestTask() 2022 scoped_refptr<TestMockTimeTaskRunner> test_task_runner) { in ChromiumRunloopInspectionTask() 2049 scoped_refptr<TestMockTimeTaskRunner> test_task_runner) in QuadraticTask() 2077 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_; 2084 scoped_refptr<TestMockTimeTaskRunner> test_task_runner) in LinearTask() 2110 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_;
|
/external/cronet/net/http/ |
D | broken_alternative_services_unittest.cc | 31 : test_task_runner_(base::MakeRefCounted<base::TestMockTimeTaskRunner>()), in BrokenAlternativeServicesTest() 58 scoped_refptr<base::TestMockTimeTaskRunner> test_task_runner_; 59 base::TestMockTimeTaskRunner::ScopedContext test_task_runner_context_;
|
/external/cronet/net/quic/ |
D | quic_stream_factory_test.cc | 3258 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TestMigrationOnNetworkMadeDefault() 3413 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TEST_P() 3574 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TEST_P() 4498 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TEST_P() 4667 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TestMigrationOnPathDegrading() 4824 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TEST_P() 4956 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TEST_P() 5105 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TEST_P() 5549 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TEST_P() 5704 auto task_runner = base::MakeRefCounted<base::TestMockTimeTaskRunner>(); in TestSimplePortMigrationOnPathDegrading() [all …]
|
/external/cronet/base/task/sequence_manager/ |
D | sequence_manager_impl_unittest.cc | 208 : test_task_runner_(MakeRefCounted<TestMockTimeTaskRunner>( in FixtureWithMockTaskRunner() 209 TestMockTimeTaskRunner::Type::kBoundToThread)), in FixtureWithMockTaskRunner() 210 call_counting_clock_(BindRepeating(&TestMockTimeTaskRunner::NowTicks, in FixtureWithMockTaskRunner() 264 scoped_refptr<TestMockTimeTaskRunner> test_task_runner() const { in test_task_runner() 283 scoped_refptr<TestMockTimeTaskRunner> test_task_runner_; 3042 scoped_refptr<TestMockTimeTaskRunner> test_task_runner) { in ChromiumRunloopInspectionTask()
|