Home
last modified time | relevance | path

Searched refs:CreateForTesting (Results 1 – 25 of 44) sorted by relevance

12

/external/cronet/base/task/thread_pool/
Djob_task_source_unittest.cc57 RegisteredTaskSource::CreateForTesting(task_source); in TEST_F()
76 EXPECT_EQ(RegisteredTaskSource::CreateForTesting(task_source).WillRunTask(), in TEST_F()
80 EXPECT_EQ(RegisteredTaskSource::CreateForTesting(task_source).WillRunTask(), in TEST_F()
103 RegisteredTaskSource::CreateForTesting(task_source); in TEST_F()
109 RegisteredTaskSource::CreateForTesting(task_source); in TEST_F()
114 RegisteredTaskSource::CreateForTesting(task_source); in TEST_F()
119 RegisteredTaskSource::CreateForTesting(task_source); in TEST_F()
134 EXPECT_EQ(RegisteredTaskSource::CreateForTesting(task_source).WillRunTask(), in TEST_F()
166 RegisteredTaskSource::CreateForTesting(task_source); in TEST_F()
172 RegisteredTaskSource::CreateForTesting(task_source); in TEST_F()
[all …]
Dsequence_unittest.cc76 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
160 RegisteredTaskSource::CreateForTesting(best_effort_sequence); in TEST()
195 RegisteredTaskSource::CreateForTesting(foreground_sequence); in TEST()
220 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
237 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
254 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
279 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
363 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
481 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
625 RegisteredTaskSource::CreateForTesting(sequence); in TEST()
[all …]
/external/cronet/net/dns/
Dopt_record_rdata_unittest.cc65 OptRecordRdata::UnknownOpt::CreateForTesting(1, in TEST()
68 OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
179 OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
210 rdata_obj0.AddOpt(OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
219 rdata_obj1.AddOpt(OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
380 rdata.AddOpt(OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
391 rdata_obj0.AddOpt(OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
393 rdata_obj0.AddOpt(OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
399 rdata_obj1.AddOpt(OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
401 rdata_obj1.AddOpt(OptRecordRdata::UnknownOpt::CreateForTesting( in TEST()
[all …]
/external/cronet/base/task/sequence_manager/
Dwork_queue_sets_unittest.cc412 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(1), in TEST_F()
414 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(2), in TEST_F()
416 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(3), in TEST_F()
446 TaskOrder::CreateForTesting(kEnqueueOrder, delayed_run_time, in TEST_F()
448 TaskOrder::CreateForTesting(kEnqueueOrder, delayed_run_time, in TEST_F()
450 TaskOrder::CreateForTesting(kEnqueueOrder, delayed_run_time, in TEST_F()
481 TaskOrder::CreateForTesting(EnqueueOrder::FromIntForTesting(10), in TEST_F()
485 TaskOrder::CreateForTesting(EnqueueOrder::FromIntForTesting(11), in TEST_F()
489 TaskOrder::CreateForTesting(EnqueueOrder::FromIntForTesting(11), in TEST_F()
494 TaskOrder::CreateForTesting(EnqueueOrder::FromIntForTesting(12), in TEST_F()
[all …]
Dtask_order.h62 static TaskOrder CreateForTesting(EnqueueOrder enqueue_order,
65 static TaskOrder CreateForTesting(EnqueueOrder enqueue_order);
Dtask_order.cc38 TaskOrder TaskOrder::CreateForTesting(EnqueueOrder enqueue_order, in CreateForTesting() function in base::sequence_manager::TaskOrder
45 TaskOrder TaskOrder::CreateForTesting(EnqueueOrder enqueue_order) { in CreateForTesting() function in base::sequence_manager::TaskOrder
Dwork_queue_unittest.cc105 return Fence(TaskOrder::CreateForTesting( in CreateFenceWithEnqueueOrder()
580 TaskOrder::CreateForTesting(EnqueueOrder::FromIntForTesting(4), in TEST_F()
592 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(1), in TEST_F()
594 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(2), in TEST_F()
596 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(3), in TEST_F()
615 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(1), in TEST_F()
617 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(2), in TEST_F()
619 TaskOrder::CreateForTesting(kEnqueueOrder, TimeTicks() + Seconds(3), in TEST_F()
Dtask_order_unittest.cc63 return TaskOrder::CreateForTesting( in MakeTaskOrder()
/external/cronet/base/android/
Dunguessable_token_android_unittest.cc18 base::UnguessableToken::CreateForTesting(high, low); in TEST()
33 base::UnguessableToken::CreateForTesting(high, low); in TEST()
/external/pdfium/core/fpdfdoc/
Dcpdf_nametree_unittest.cpp116 CPDF_NameTree::CreateForTesting(pRootDict.Get()); in TEST()
142 CPDF_NameTree::CreateForTesting(pRootDict.Get()); in TEST()
160 CPDF_NameTree::CreateForTesting(pRootDict.Get()); in TEST()
192 CPDF_NameTree::CreateForTesting(pRootDict.Get()); in TEST()
225 CPDF_NameTree::CreateForTesting(pRootDict.Get()); in TEST()
300 CPDF_NameTree::CreateForTesting(pRootDict.Get()); in TEST()
Dcpdf_nametree.h38 static std::unique_ptr<CPDF_NameTree> CreateForTesting(
/external/libchrome/libchrome_tools/patches/
DRefactor-AlarmTimer-to-report-error-to-the-caller.patch18 without capability CAP_WAKE_ALARM, this CL also introduces CreateForTesting().
68 +std::unique_ptr<SimpleAlarmTimer> SimpleAlarmTimer::CreateForTesting() {
154 + static std::unique_ptr<SimpleAlarmTimer> CreateForTesting();
163 + // Shared implementation of Create and CreateForTesting.
/external/cronet/base/profiler/
Dstack_sampler_unittest.cc271 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
305 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
341 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
363 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
380 std::unique_ptr<StackSampler> stack_sampler = StackSampler::CreateForTesting( in TEST()
Dstack_sampler.h89 static std::unique_ptr<StackSampler> CreateForTesting(
Dstack_sampler.cc189 std::unique_ptr<StackSampler> StackSampler::CreateForTesting( in CreateForTesting() function in base::StackSampler
/external/cronet/base/
Dlocation_unittest.cc40 EXPECT_EQ(perfetto::TracedValueToString(Location::CreateForTesting( in TEST()
Dlocation.h27 static Location CreateForTesting(const char* function_name, in CreateForTesting() function
Dunguessable_token.h109 static UnguessableToken CreateForTesting(uint64_t high, uint64_t low) { in CreateForTesting() function
/external/cronet/net/cert/internal/
Dtrust_store_win_unittest.cc148 return TrustStoreWin::CreateForTesting(std::move(stores_)); in CreateTrustStoreWin()
168 TrustStoreWin::CreateForTesting( in TEST_P()
350 TrustStoreWin::CreateForTesting( in TEST_P()
Dtrust_store_win.h69 static std::unique_ptr<TrustStoreWin> CreateForTesting(CertStores stores);
Dpath_builder_trust_store_win_unittest.cc267 TrustStoreWin::CreateForTesting(std::move(stores)); in TEST_F()
304 TrustStoreWin::CreateForTesting(std::move(stores)); in TEST_F()
/external/pdfium/testing/fuzzers/
Dpdf_nametree_fuzzer.cc58 CPDF_NameTree::CreateForTesting(dict.Get()); in LLVMFuzzerTestOneInput()
/external/cronet/net/reporting/
Dreporting_service.h58 static std::unique_ptr<ReportingService> CreateForTesting(
/external/cronet/base/json/
Dvalues_util_unittest.cc98 UnguessableToken::CreateForTesting(test_case.high, test_case.low); in TEST()
/external/pdfium/core/fpdfapi/parser/
Dcpdf_syntax_parser.h40 static std::unique_ptr<CPDF_SyntaxParser> CreateForTesting(

12