Home
last modified time | relevance | path

Searched refs:TestTaskRunner (Results 1 – 25 of 32) sorted by relevance

12

/external/perfetto/src/base/test/
Dtest_task_runner.cc29 TestTaskRunner::TestTaskRunner() = default;
31 TestTaskRunner::~TestTaskRunner() = default;
33 void TestTaskRunner::Run() { in Run()
39 void TestTaskRunner::RunUntilIdle() { in RunUntilIdle()
41 task_runner_.PostTask(std::bind(&TestTaskRunner::QuitIfIdle, this)); in RunUntilIdle()
45 void TestTaskRunner::QuitIfIdle() { in QuitIfIdle()
51 task_runner_.PostTask(std::bind(&TestTaskRunner::QuitIfIdle, this)); in QuitIfIdle()
54 void TestTaskRunner::RunUntilCheckpoint(const std::string& checkpoint, in RunUntilCheckpoint()
79 std::function<void()> TestTaskRunner::CreateCheckpoint( in CreateCheckpoint()
95 void TestTaskRunner::PostTask(std::function<void()> closure) { in PostTask()
[all …]
Dtest_task_runner.h46 class TestTaskRunner : public TaskRunner {
48 TestTaskRunner();
49 ~TestTaskRunner() override;
66 TestTaskRunner(const TestTaskRunner&) = delete;
67 TestTaskRunner& operator=(const TestTaskRunner&) = delete;
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbind_task_runner_unittest.cc27 class TestTaskRunner : public base::SingleThreadTaskRunner { class
29 TestTaskRunner() in TestTaskRunner() function in mojo::test::__anona2eee2bc0111::TestTaskRunner
108 ~TestTaskRunner() override {} in ~TestTaskRunner()
118 DISALLOW_COPY_AND_ASSIGN(TestTaskRunner);
189 binding_task_runner_ = scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
190 ptr_task_runner_ = scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
197 scoped_refptr<TestTaskRunner> binding_task_runner_;
198 scoped_refptr<TestTaskRunner> ptr_task_runner_;
210 scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
212 scoped_refptr<TestTaskRunner>(new TestTaskRunner); in SetUp()
[all …]
/external/perfetto/src/tracing/test/
Dmock_consumer.h32 class TestTaskRunner; variable
46 explicit MockConsumer(base::TestTaskRunner*);
85 base::TestTaskRunner* const task_runner_;
Dmock_producer.h32 class TestTaskRunner; variable
43 explicit MockProducer(base::TestTaskRunner*);
92 base::TestTaskRunner* const task_runner_;
Dmock_consumer.cc28 MockConsumer::MockConsumer(base::TestTaskRunner* task_runner) in MockConsumer()
90 base::TestTaskRunner* task_runner = task_runner_; in Flush()
Dtracing_integration_test.cc123 task_runner_.reset(new base::TestTaskRunner()); in SetUp()
214 std::unique_ptr<base::TestTaskRunner> task_runner_;
Dmock_producer.cc32 MockProducer::MockProducer(base::TestTaskRunner* task_runner) in MockProducer()
/external/perfetto/test/cts/
Dheapprofd_test_cts.cc66 base::TestTaskRunner* task_runner, in PollRunState()
81 base::TestTaskRunner* task_runner, in StartAppActivity()
99 base::TestTaskRunner* task_runner) { in StopApp()
113 base::TestTaskRunner task_runner; in ProfileRuntime()
152 base::TestTaskRunner task_runner; in ProfileStartup()
Dend_to_end_integrationtest_cts.cc46 base::TestTaskRunner task_runner; in TestMockProducer()
/external/perfetto/src/traced/service/
Dlazy_producer_unittest.cc49 base::TestTaskRunner task_runner; in TEST()
67 base::TestTaskRunner task_runner; in TEST()
89 base::TestTaskRunner task_runner; in TEST()
/external/perfetto/test/
Dend_to_end_integrationtest.cc212 base::TestTaskRunner task_runner_;
235 base::TestTaskRunner task_runner; in TEST_F()
278 base::TestTaskRunner task_runner; in TEST_F()
336 base::TestTaskRunner task_runner; in TEST_F()
390 base::TestTaskRunner task_runner; in TEST_F()
431 base::TestTaskRunner task_runner; in TEST_F()
476 base::TestTaskRunner task_runner; in TEST_F()
521 base::TestTaskRunner task_runner; in TEST_F()
666 base::TestTaskRunner task_runner; in TEST_F()
743 base::TestTaskRunner task_runner; in TEST_F()
[all …]
Dtest_helper.h38 explicit TestHelper(base::TestTaskRunner* task_runner);
89 base::TestTaskRunner* task_runner_ = nullptr;
Dend_to_end_benchmark.cc40 base::TestTaskRunner task_runner; in BenchmarkProducer()
114 base::TestTaskRunner task_runner; in BenchmarkConsumer()
Dend_to_end_shared_memory_fuzzer.cc138 base::TestTaskRunner task_runner; in FuzzSharedMemory()
Dtest_helper.cc44 TestHelper::TestHelper(base::TestTaskRunner* task_runner) in TestHelper()
/external/perfetto/src/tracing/core/
Dtrace_writer_impl_unittest.cc42 task_runner_.reset(new base::TestTaskRunner()); in SetUp()
54 std::unique_ptr<base::TestTaskRunner> task_runner_;
Dshared_memory_arbiter_impl_unittest.cc61 task_runner_.reset(new base::TestTaskRunner()); in SetUp()
72 std::unique_ptr<base::TestTaskRunner> task_runner_;
Dstartup_trace_writer_unittest.cc43 task_runner_.reset(new base::TestTaskRunner()); in SetUp()
171 std::unique_ptr<base::TestTaskRunner> task_runner_;
/external/perfetto/src/traced/probes/filesystem/
Dfile_scanner_unittest.cc118 base::TestTaskRunner task_runner; in TEST()
162 base::TestTaskRunner task_runner; in TEST()
Dinode_file_data_source_unittest.cc77 base::TestTaskRunner task_runner_;
/external/perfetto/test/cts/producer/jni/
Dfake_producer_jni.cc29 base::TestTaskRunner task_runner; in ListenAndRespond()
/external/perfetto/src/profiling/memory/
Dheapprofd_producer_unittest.cc70 base::TestTaskRunner task_runner; in TEST()
/external/perfetto/src/ipc/test/
Dipc_integrationtest.cc69 perfetto::base::TestTaskRunner task_runner_;
/external/perfetto/src/base/
Dunix_socket_unittest.cc83 TestTaskRunner task_runner_;
487 TestTaskRunner tx_task_runner; in TEST_F()
533 TestTaskRunner tx_task_runner; in TEST_F()

12