Home
last modified time | relevance | path

Searched refs:TemporaryFile (Results 1 – 25 of 44) sorted by relevance

12

/system/extras/simpleperf/
Dcmd_report_sample_test.cpp35 TemporaryFile tmpfile; in TEST()
41 TemporaryFile tmpfile; in TEST()
47 TemporaryFile tmpfile; in TEST()
48 TemporaryFile tmpfile2; in TEST()
59 TemporaryFile tmpfile; in TEST()
60 TemporaryFile tmpfile2; in TEST()
72 TemporaryFile tmpfile; in TEST()
73 TemporaryFile tmpfile2; in TEST()
84 TemporaryFile tmpfile; in TEST()
85 TemporaryFile tmpfile2; in TEST()
[all …]
Dcmd_record_test.cpp48 std::unique_ptr<TemporaryFile> tmpfile; in RunRecordCmd()
53 tmpfile.reset(new TemporaryFile); in RunRecordCmd()
89 TemporaryFile tmpfile; in TEST()
99 TemporaryFile tmpfile; in TEST()
108 TemporaryFile tmpfile; in TEST()
116 TemporaryFile tmpfile; in TEST()
121 TemporaryFile tmpfile; in TEST()
144 TemporaryFile tmpfile; in TEST()
305 TemporaryFile tmpfile; in TEST()
356 TemporaryFile tmpfile; in TEST()
[all …]
Dcmd_debug_unwind_test.cpp54 tmpfile_.reset(new TemporaryFile); in Start()
76 std::unique_ptr<TemporaryFile> tmpfile_;
82 TemporaryFile tmp_file; in TEST()
96 TemporaryFile tmp_file; in TEST()
Dcmd_kmem_test.cpp45 TemporaryFile tmp_file; in KmemReportRawFile()
76 std::unique_ptr<TemporaryFile> tmpfile; in RunKmemRecordCmd()
81 tmpfile.reset(new TemporaryFile); in RunKmemRecordCmd()
99 TemporaryFile tmp_file; in TEST()
109 TemporaryFile tmp_file; in TEST()
Dcmd_stat_test.cpp114 TemporaryFile tmp_file; in TEST()
135 TemporaryFile tmp_file; in TEST()
/system/core/base/
Dtest_utils.cpp83 TemporaryFile::TemporaryFile() { in TemporaryFile() function in TemporaryFile
87 TemporaryFile::TemporaryFile(const std::string& tmp_dir) { in TemporaryFile() function in TemporaryFile
91 TemporaryFile::~TemporaryFile() { in ~TemporaryFile()
98 int TemporaryFile::release() { in release()
104 void TemporaryFile::init(const std::string& tmp_dir) { in init()
Dfile_test.cpp38 TemporaryFile tf; in TEST()
51 TemporaryFile target, link; in TEST()
70 TemporaryFile tf; in TEST()
88 TemporaryFile tf; in TEST()
100 TemporaryFile tf; in TEST()
119 TemporaryFile tf; in TEST()
219 TemporaryFile tf; in TEST()
246 TemporaryFile tf; in TEST()
/system/core/base/include/android-base/
Dtest_utils.h25 class TemporaryFile {
27 TemporaryFile();
28 explicit TemporaryFile(const std::string& tmp_dir);
29 ~TemporaryFile();
41 DISALLOW_COPY_AND_ASSIGN(TemporaryFile);
68 TemporaryFile temp_file_;
/system/core/libziparchive/
Dzip_archive_benchmark.cpp31 static TemporaryFile* CreateZip() { in CreateZip()
32 TemporaryFile* result = new TemporaryFile; in CreateZip()
52 std::unique_ptr<TemporaryFile> temp_file(CreateZip()); in FindEntry_no_match()
70 std::unique_ptr<TemporaryFile> temp_file(CreateZip()); in Iterate_all_files()
Dzip_archive_test.cc296 TemporaryFile tmp_file; in TEST()
311 TemporaryFile tmp_output_file; in TEST()
321 TemporaryFile tmp_file; in TEST()
339 TemporaryFile tmp_output_file; in TEST()
364 TemporaryFile tmp_file; in TEST()
377 TemporaryFile tmp_file; in TEST()
430 TemporaryFile tmp_binary; in TEST()
580 TemporaryFile tmp_file; in ExtractEntryToMemory()
687 TemporaryFile tmp_file; in TEST()
/system/core/adb/
Dadb_io_test.cpp48 TemporaryFile tf; in POSIX_TEST()
62 TemporaryFile tf; in POSIX_TEST()
76 TemporaryFile tf; in POSIX_TEST()
93 TemporaryFile tf; in POSIX_TEST()
108 TemporaryFile tf; in POSIX_TEST()
134 TemporaryFile tf; in POSIX_TEST()
147 TemporaryFile tf; in POSIX_TEST()
/system/extras/libperfmgr/tests/
DNodeTest.cc45 TemporaryFile tf; in TEST()
52 TemporaryFile tf; in TEST()
55 TemporaryFile tf2; in TEST()
62 TemporaryFile tf; in TEST()
64 TemporaryFile dumptf; in TEST()
74 TemporaryFile tf; in TEST()
86 TemporaryFile tf; in TEST()
128 TemporaryFile tf; in TEST()
158 TemporaryFile tf; in TEST()
188 TemporaryFile tf; in TEST()
DHintManagerTest.cc106 std::unique_ptr<TemporaryFile> tf = std::make_unique<TemporaryFile>(); in SetUp()
111 tf = std::make_unique<TemporaryFile>(); in SetUp()
129 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp()
130 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp()
151 std::vector<std::unique_ptr<TemporaryFile>> files_;
332 TemporaryFile json_file; in TEST_F()
DNodeLooperThreadTest.cc37 std::unique_ptr<TemporaryFile> tf = std::make_unique<TemporaryFile>(); in SetUp()
42 tf = std::make_unique<TemporaryFile>(); in SetUp()
54 std::vector<std::unique_ptr<TemporaryFile>> files_;
/system/core/libunwindstack/tests/
DMapInfoCreateMemoryTest.cpp84 static TemporaryFile elf_;
86 static TemporaryFile elf_at_100_;
88 static TemporaryFile elf32_at_map_;
89 static TemporaryFile elf64_at_map_;
91 TemporaryFile MapInfoCreateMemoryTest::elf_;
92 TemporaryFile MapInfoCreateMemoryTest::elf_at_100_;
93 TemporaryFile MapInfoCreateMemoryTest::elf32_at_map_;
94 TemporaryFile MapInfoCreateMemoryTest::elf64_at_map_;
DDexFileTest.cpp46 TemporaryFile tf; in TEST()
65 TemporaryFile tf; in TEST()
76 TemporaryFile tf; in TEST()
115 TemporaryFile tf; in TEST()
129 TemporaryFile tf; in TEST()
143 TemporaryFile tf; in TEST()
173 TemporaryFile tf; in TEST()
DElfCacheTest.cpp41 void WriteElfFile(uint64_t offset, TemporaryFile* tf, uint32_t type) { in WriteElfFile()
75 TemporaryFile tf; in VerifySameMap()
110 TemporaryFile tf; in VerifyWithinSameMap()
209 TemporaryFile tf; in VerifyWithinSameMapNeverReadAtZero()
DMemoryOfflineTest.cpp43 TemporaryFile temp_file;
/system/core/init/
Dinit_test.cpp63 TemporaryFile tf; in TestInitText()
147 TemporaryFile first_import; in TEST()
151 TemporaryFile dir_a_import; in TEST()
155 TemporaryFile last_import; in TEST()
177 TemporaryFile start; in TEST()
Dpersistent_properties_test.cpp70 TemporaryFile tf; in TEST()
93 TemporaryFile tf; in TEST()
114 TemporaryFile tf; in TEST()
136 TemporaryFile tf; in TEST()
Dutil_test.cpp42 TemporaryFile tf; in TEST()
53 TemporaryFile tf; in TEST()
87 TemporaryFile tf; in TEST()
114 TemporaryFile tf; in TEST()
143 TemporaryFile tf; in TEST()
/system/extras/memory_replay/tests/
DNativeInfoTest.cpp29 tmp_file_ = new TemporaryFile(); in SetUp()
37 TemporaryFile* tmp_file_ = nullptr;
/system/core/debuggerd/libdebuggerd/test/
Dopen_files_list_test.cpp33 TemporaryFile tf; in TEST()
/system/core/libcutils/tests/
Dandroid_get_control_file_test.cpp32 TemporaryFile tf; in TEST()
/system/core/adb/sysdeps/
Dstat_test.cpp27 TemporaryFile tf; in TEST()

12