Home
last modified time | relevance | path

Searched refs:CreateInstance (Results 1 – 25 of 37) 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()
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_record_test.cpp98 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file); in CheckEventType()
152 RecordFileReader::CreateInstance(tmpfile.path); in TEST()
175 RecordFileReader::CreateInstance(tmpfile.path); in TEST()
206 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
424 RecordFileReader::CreateInstance(path); in CheckKernelSymbol()
452 auto reader = RecordFileReader::CreateInstance(perf_data_file); in ProcessSymbolsInPerfDataFile()
617 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
655 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
682 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
695 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
[all …]
Dcmd_debug_unwind.cpp185 reader_ = RecordFileReader::CreateInstance(input_filename_); in UnwindRecordFile()
201 writer_ = RecordFileWriter::CreateInstance(output_filename_); in UnwindRecordFile()
305 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmp_file->path); in JoinCallChains()
309 writer_ = RecordFileWriter::CreateInstance(output_filename_); in JoinCallChains()
Dread_apk.cpp72 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByOffsetWithoutCache()
110 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(apk_path); in FindElfInApkByNameWithoutCache()
Dcmd_api_test.cpp50 auto reader = RecordFileReader::CreateInstance(filename); in CheckPerfDataFile()
Drecord_file.h44 static std::unique_ptr<RecordFileWriter> CreateInstance(const std::string& filename);
106 static std::unique_ptr<RecordFileReader> CreateInstance(const std::string& filename);
Dcmd_debug_unwind_test.cpp60 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmp_file.path); in TEST()
Dutils.h75 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
Dutils.cpp76 std::unique_ptr<ArchiveHelper> ArchiveHelper::CreateInstance(const std::string& filename) { in CreateInstance() function in ArchiveHelper
Dcmd_trace_sched.cpp187 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file_path); in ParseSchedEvents()
Dcmd_inject.cpp193 record_file_reader_ = RecordFileReader::CreateInstance(input_filename_); in ProcessInputFile()
/system/update_engine/payload_generator/
Dpayload_signer_unittest.cc143 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()
156 auto payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()
164 payload_verifier = PayloadVerifier::CreateInstance(public_key); in TEST_F()
/system/update_engine/
Ddaemon_base.h32 static std::unique_ptr<DaemonBase> CreateInstance();
Dmain.cc67 auto daemon = chromeos_update_engine::DaemonBase::CreateInstance(); in main()
Ddaemon_android.cc29 unique_ptr<DaemonBase> DaemonBase::CreateInstance() { in CreateInstance() function in chromeos_update_engine::DaemonBase
Ddaemon_chromeos.cc31 unique_ptr<DaemonBase> DaemonBase::CreateInstance() { in CreateInstance() function in chromeos_update_engine::DaemonBase
Dupdate_engine_client.cc81 client_ = update_engine::UpdateEngineClient::CreateInstance(); in OnInit()
/system/extras/simpleperf/include/
Dsimpleperf.h68 static PerfEventSet* CreateInstance(Type type);
/system/update_engine/payload_consumer/
Dpayload_verifier.h48 static std::unique_ptr<PayloadVerifier> CreateInstance(
Dpayload_verifier.cc55 std::unique_ptr<PayloadVerifier> PayloadVerifier::CreateInstance( in CreateInstance() function in chromeos_update_engine::PayloadVerifier
/system/update_engine/client_library/include/update_engine/
Dclient.h32 static std::unique_ptr<UpdateEngineClient> CreateInstance();
/system/update_engine/client_library/
Dclient_dbus.cc36 unique_ptr<UpdateEngineClient> UpdateEngineClient::CreateInstance() { in CreateInstance() function in update_engine::UpdateEngineClient

12