/external/perfetto/src/base/test/ |
D | test_task_runner.cc | 29 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 …]
|
D | test_task_runner.h | 46 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/ |
D | bind_task_runner_unittest.cc | 27 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/ |
D | mock_consumer.h | 32 class TestTaskRunner; variable 46 explicit MockConsumer(base::TestTaskRunner*); 85 base::TestTaskRunner* const task_runner_;
|
D | mock_producer.h | 32 class TestTaskRunner; variable 43 explicit MockProducer(base::TestTaskRunner*); 92 base::TestTaskRunner* const task_runner_;
|
D | mock_consumer.cc | 28 MockConsumer::MockConsumer(base::TestTaskRunner* task_runner) in MockConsumer() 90 base::TestTaskRunner* task_runner = task_runner_; in Flush()
|
D | tracing_integration_test.cc | 123 task_runner_.reset(new base::TestTaskRunner()); in SetUp() 214 std::unique_ptr<base::TestTaskRunner> task_runner_;
|
D | mock_producer.cc | 32 MockProducer::MockProducer(base::TestTaskRunner* task_runner) in MockProducer()
|
/external/perfetto/test/cts/ |
D | heapprofd_test_cts.cc | 66 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()
|
D | end_to_end_integrationtest_cts.cc | 46 base::TestTaskRunner task_runner; in TestMockProducer()
|
/external/perfetto/src/traced/service/ |
D | lazy_producer_unittest.cc | 49 base::TestTaskRunner task_runner; in TEST() 67 base::TestTaskRunner task_runner; in TEST() 89 base::TestTaskRunner task_runner; in TEST()
|
/external/perfetto/test/ |
D | end_to_end_integrationtest.cc | 212 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 …]
|
D | test_helper.h | 38 explicit TestHelper(base::TestTaskRunner* task_runner); 89 base::TestTaskRunner* task_runner_ = nullptr;
|
D | end_to_end_benchmark.cc | 40 base::TestTaskRunner task_runner; in BenchmarkProducer() 114 base::TestTaskRunner task_runner; in BenchmarkConsumer()
|
D | end_to_end_shared_memory_fuzzer.cc | 138 base::TestTaskRunner task_runner; in FuzzSharedMemory()
|
D | test_helper.cc | 44 TestHelper::TestHelper(base::TestTaskRunner* task_runner) in TestHelper()
|
/external/perfetto/src/tracing/core/ |
D | trace_writer_impl_unittest.cc | 42 task_runner_.reset(new base::TestTaskRunner()); in SetUp() 54 std::unique_ptr<base::TestTaskRunner> task_runner_;
|
D | shared_memory_arbiter_impl_unittest.cc | 61 task_runner_.reset(new base::TestTaskRunner()); in SetUp() 72 std::unique_ptr<base::TestTaskRunner> task_runner_;
|
D | startup_trace_writer_unittest.cc | 43 task_runner_.reset(new base::TestTaskRunner()); in SetUp() 171 std::unique_ptr<base::TestTaskRunner> task_runner_;
|
/external/perfetto/src/traced/probes/filesystem/ |
D | file_scanner_unittest.cc | 118 base::TestTaskRunner task_runner; in TEST() 162 base::TestTaskRunner task_runner; in TEST()
|
D | inode_file_data_source_unittest.cc | 77 base::TestTaskRunner task_runner_;
|
/external/perfetto/test/cts/producer/jni/ |
D | fake_producer_jni.cc | 29 base::TestTaskRunner task_runner; in ListenAndRespond()
|
/external/perfetto/src/profiling/memory/ |
D | heapprofd_producer_unittest.cc | 70 base::TestTaskRunner task_runner; in TEST()
|
/external/perfetto/src/ipc/test/ |
D | ipc_integrationtest.cc | 69 perfetto::base::TestTaskRunner task_runner_;
|
/external/perfetto/src/base/ |
D | unix_socket_unittest.cc | 83 TestTaskRunner task_runner_; 487 TestTaskRunner tx_task_runner; in TEST_F() 533 TestTaskRunner tx_task_runner; in TEST_F()
|