Home
last modified time | relevance | path

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

123

/system/extras/simpleperf/
Drecord_file_test.cpp60 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
86 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
108 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
120 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
132 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
149 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
156 std::unique_ptr<RecordFileWriter> writer = RecordFileWriter::CreateInstance(tmpfile_.path); in TEST_F()
173 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile_.path); in TEST_F()
Dutils_test.cpp38 std::unique_ptr<ArchiveHelper> ahelper = ArchiveHelper::CreateInstance(GetTestData(APK_FILE)); in TEST()
58 ASSERT_FALSE(ArchiveHelper::CreateInstance(GetTestData(ELF_FILE))); in TEST()
59 ASSERT_FALSE(ArchiveHelper::CreateInstance("/dev/zero")); in TEST()
Drecord_lib_test.cpp41 PerfEventSet::CreateInstance(PerfEventSet::Type::kPerfForCounting)); in TEST()
67 PerfEventSet::CreateInstance(PerfEventSet::Type::kPerfForCounting)); in TEST()
93 PerfEventSet::CreateInstance(PerfEventSet::Type::kPerfForCounting)); in TEST()
121 PerfEventSet::CreateInstance(PerfEventSet::Type::kPerfForCounting)); in TEST()
Dcmd_record_test.cpp99 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(record_file); in CheckEventType()
152 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
172 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
202 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
320 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(path); in CheckKernelSymbol()
349 auto reader = RecordFileReader::CreateInstance(perf_data_file); in ProcessSymbolsInPerfDataFile()
505 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
544 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
570 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
583 std::unique_ptr<RecordFileReader> reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
[all …]
Dread_apk.cpp74 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.h68 static std::unique_ptr<RecordFileWriter> CreateInstance(const std::string& filename);
128 static std::unique_ptr<RecordFileReader> CreateInstance(const std::string& filename);
Dcmd_debug_unwind_test.cpp141 auto reader = RecordFileReader::CreateInstance(tmpfile.path); in TEST()
/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/common/
Ddaemon_base.h32 static std::unique_ptr<DaemonBase> CreateInstance();
/system/update_engine/
Dmain.cc67 auto daemon = chromeos_update_engine::DaemonBase::CreateInstance(); in main()
/system/update_engine/cros/
Dexcluder_chromeos_unittest.cc32 void SetUp() override { FakeSystemState::CreateInstance(); } in SetUp()
Ddaemon_chromeos.cc31 unique_ptr<DaemonBase> DaemonBase::CreateInstance() { in CreateInstance() function in chromeos_update_engine::DaemonBase
Domaha_request_action_fuzzer.cc34 chromeos_update_engine::FakeSystemState::CreateInstance(); in LLVMFuzzerTestOneInput()
Ddownload_action_chromeos_unittest.cc59 void SetUp() { FakeSystemState::CreateInstance(); } in SetUp()
132 FakeSystemState::CreateInstance(); in TestWithData()
347 FakeSystemState::CreateInstance(); in TestTerminateEarly()
462 FakeSystemState::CreateInstance(); in TEST()
518 FakeSystemState::CreateInstance(); in SetUp()
Dimage_properties_chromeos_unittest.cc43 FakeSystemState::CreateInstance(); in SetUp()
Dcommon_service_unittest.cc44 FakeSystemState::CreateInstance(); in SetUp()
/system/extras/simpleperf/include/
Dsimpleperf.h68 static PerfEventSet* CreateInstance(Type type);
/system/update_engine/aosp/
Ddaemon_android.cc29 unique_ptr<DaemonBase> DaemonBase::CreateInstance() { in CreateInstance() function in chromeos_update_engine::DaemonBase
/system/update_engine/payload_consumer/
Dpayload_verifier.h48 static std::unique_ptr<PayloadVerifier> CreateInstance(
/system/update_engine/client_library/include/update_engine/
Dclient.h32 static std::unique_ptr<UpdateEngineClient> CreateInstance();
/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc37 FakeSystemState::CreateInstance(); in SetUp()
Dpolicy_test_utils.cc38 FakeSystemState::CreateInstance(); in SetUp()
Dreal_system_provider_unittest.cc49 FakeSystemState::CreateInstance(); in SetUp()
Dstaging_utils_unittest.cc47 FakeSystemState::CreateInstance(); in SetUp()

123