Home
last modified time | relevance | path

Searched refs:CreateInstance (Results 1 – 25 of 26) sorted by relevance

12

/system/extras/simpleperf/
Drecord_file_test.cpp56 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
82 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
104 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
116 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
128 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
145 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
Dutils_test.cpp79 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(GetTestData(APK_FILE)); in TEST()
99 ASSERT_FALSE(ArchiveHelper::CreateInstance(GetTestData(ELF_FILE))); in TEST()
100 ASSERT_FALSE(ArchiveHelper::CreateInstance("/dev/zero")); in TEST()
Dcmd_record_test.cpp75 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file); in CheckEventType()
134 RecordFileReader::CreateInstance(tmpfile.path); in TEST()
158 RecordFileReader::CreateInstance(tmpfile.path); in TEST()
189 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
363 RecordFileReader::CreateInstance(path); in CheckKernelSymbol()
391 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(path); in CheckDumpedSymbols()
444 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
564 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
603 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
623 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
[all …]
Drecord_lib_test.cpp40 std::unique_ptr<PerfEventSet> perf(PerfEventSet::CreateInstance( in TEST()
66 std::unique_ptr<PerfEventSet> perf(PerfEventSet::CreateInstance( in TEST()
97 std::unique_ptr<PerfEventSet> perf(PerfEventSet::CreateInstance( in TEST()
125 std::unique_ptr<PerfEventSet> perf(PerfEventSet::CreateInstance( in TEST()
Dcmd_debug_unwind.cpp185 reader_ = RecordFileReader::CreateInstance(input_filename_); in UnwindRecordFile()
200 writer_ = RecordFileWriter::CreateInstance(output_filename_); in UnwindRecordFile()
304 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmp_file->path); in JoinCallChains()
308 writer_ = RecordFileWriter::CreateInstance(output_filename_); in JoinCallChains()
Dread_apk.cpp72 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache()
114 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByNameWithoutCache()
Drecord_file.h43 static std::unique_ptr<RecordFileWriter> CreateInstance(const std::string& filename);
104 static std::unique_ptr<RecordFileReader> CreateInstance(const std::string& filename);
Dcmd_debug_unwind_test.cpp58 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmp_file.path); in TEST()
Dutils.h74 static std::unique_ptr<ArchiveHelper> CreateInstance(const std::string& filename);
Drecord_lib_interface.cpp257 PerfEventSet* PerfEventSet::CreateInstance(PerfEventSet::Type type) { in CreateInstance() function in simpleperf::PerfEventSet
Dcmd_dumprecord.cpp64 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in Run()
Dcmd_record.cpp1045 RecordFileWriter::CreateInstance(filename); in CreateRecordFile()
1452 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmp_file->path); in PostUnwindRecords()
1487 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmp_file->path); in JoinCallChains()
Dutils.cpp76 std::unique_ptr<ArchiveHelper> ArchiveHelper::CreateInstance(const std::string& filename) { in CreateInstance() function in ArchiveHelper
Drecord_file_writer.cpp40 std::unique_ptr<RecordFileWriter> RecordFileWriter::CreateInstance(const std::string& filename) { in CreateInstance() function in RecordFileWriter
Dcmd_trace_sched.cpp186 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file_path); in ParseSchedEvents()
DRecordReadThread_test.cpp76 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance( in TEST()
Dreport_lib_interface.cpp222 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFileIfNecessary()
Drecord_file_reader.cpp72 std::unique_ptr<RecordFileReader> RecordFileReader::CreateInstance(const std::string& filename) { in CreateInstance() function in RecordFileReader
Dcmd_kmem.cpp480 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in ReportKmemInfo()
Dcmd_report_sample.cpp419 record_file_reader_ = RecordFileReader::CreateInstance(record_filename_); in OpenRecordFile()
Ddso.cpp429 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(std::get<1>(tuple)); in LoadSymbols()
/system/update_engine/client_library/
Dclient.cc31 unique_ptr<UpdateEngineClient> UpdateEngineClient::CreateInstance() { in CreateInstance() function in update_engine::UpdateEngineClient
/system/extras/simpleperf/include/
Dsimpleperf.h68 static PerfEventSet* CreateInstance(Type type);
/system/update_engine/client_library/include/update_engine/
Dclient.h32 static std::unique_ptr<UpdateEngineClient> CreateInstance();
/system/update_engine/
Dupdate_engine_client.cc74 client_ = update_engine::UpdateEngineClient::CreateInstance(); in OnInit()

12