Home
last modified time | relevance | path

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

123

/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()
/system/core/base/include/android-base/
Dfile.h37 class TemporaryFile {
39 TemporaryFile();
40 explicit TemporaryFile(const std::string& tmp_dir);
41 ~TemporaryFile();
57 DISALLOW_COPY_AND_ASSIGN(TemporaryFile);
/system/core/adb/
Dadb_io_test.cpp47 TemporaryFile tf; in POSIX_TEST()
61 TemporaryFile tf; in POSIX_TEST()
75 TemporaryFile tf; in POSIX_TEST()
92 TemporaryFile tf; in POSIX_TEST()
107 TemporaryFile tf; in POSIX_TEST()
133 TemporaryFile tf; in POSIX_TEST()
146 TemporaryFile tf; in POSIX_TEST()
/system/extras/libperfmgr/tests/
DFileNodeTest.cc44 TemporaryFile tf; in TEST()
51 TemporaryFile tf; in TEST()
54 TemporaryFile tf2; in TEST()
61 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()
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_;
DHintManagerTest.cc134 std::unique_ptr<TemporaryFile> tf = std::make_unique<TemporaryFile>(); in SetUp()
139 tf = std::make_unique<TemporaryFile>(); in SetUp()
162 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp()
163 files_.emplace_back(std::make_unique<TemporaryFile>()); in SetUp()
186 std::vector<std::unique_ptr<TemporaryFile>> files_;
486 TemporaryFile json_file; in TEST_F()
/system/extras/simpleperf/
Dcmd_record_test.cpp49 std::unique_ptr<TemporaryFile> tmpfile; in RunRecordCmd()
54 tmpfile.reset(new TemporaryFile); in RunRecordCmd()
95 TemporaryFile tmpfile; in TEST()
106 TemporaryFile tmpfile; in TEST()
116 TemporaryFile tmpfile; in TEST()
125 TemporaryFile tmpfile; in TEST()
131 TemporaryFile tmpfile; in TEST()
155 TemporaryFile tmpfile; in TEST()
187 TemporaryFile tmpfile; in TEST()
341 TemporaryFile tmpfile; in TEST()
[all …]
Dcmd_kmem_test.cpp44 TemporaryFile tmp_file; in KmemReportRawFile()
75 std::unique_ptr<TemporaryFile> tmpfile; in RunKmemRecordCmd()
80 tmpfile.reset(new TemporaryFile); in RunKmemRecordCmd()
98 TemporaryFile tmp_file; in TEST()
108 TemporaryFile tmp_file; in TEST()
Dcmd_debug_unwind_test.cpp39 TemporaryFile tmp_file; in TEST()
53 TemporaryFile tmp_file; in TEST()
69 TemporaryFile tmp_file; in TEST()
Dtest_util.h99 tmpfile_.reset(new TemporaryFile); in Start()
121 std::unique_ptr<TemporaryFile> tmpfile_;
Dcmd_report_sample_test.cpp34 TemporaryFile tmpfile; in TEST()
40 TemporaryFile tmpfile; in TEST()
47 TemporaryFile tmpfile;
48 TemporaryFile tmpfile2;
/system/core/libunwindstack/tests/
DDexFileTest.cpp39 TemporaryFile tf; in TEST()
55 TemporaryFile tf; in TEST()
65 TemporaryFile tf; in TEST()
100 TemporaryFile tf; in TEST()
113 TemporaryFile tf; in TEST()
126 TemporaryFile tf; in TEST()
153 TemporaryFile tf; in TEST()
DMapInfoCreateMemoryTest.cpp85 static TemporaryFile elf_;
87 static TemporaryFile elf_at_1000_;
89 static TemporaryFile elf32_at_map_;
90 static TemporaryFile elf64_at_map_;
92 TemporaryFile MapInfoCreateMemoryTest::elf_;
93 TemporaryFile MapInfoCreateMemoryTest::elf_at_1000_;
94 TemporaryFile MapInfoCreateMemoryTest::elf32_at_map_;
95 TemporaryFile MapInfoCreateMemoryTest::elf64_at_map_;
DElfCacheTest.cpp40 void WriteElfFile(uint64_t offset, TemporaryFile* tf, uint32_t type) { in WriteElfFile()
74 TemporaryFile tf; in VerifySameMap()
109 TemporaryFile tf; in VerifyWithinSameMap()
208 TemporaryFile tf; in VerifyWithinSameMapNeverReadAtZero()
/system/core/base/
Dfile_test.cpp40 TemporaryFile tf; in TEST()
53 TemporaryFile target, link; in TEST()
72 TemporaryFile tf; in TEST()
90 TemporaryFile tf; in TEST()
102 TemporaryFile tf; in TEST()
121 TemporaryFile tf; in TEST()
135 TemporaryFile tf; in TEST()
154 TemporaryFile tf(td.path); in TEST()
255 TemporaryFile tf; in TEST()
282 TemporaryFile tf; in TEST()
Dmapped_file_test.cpp30 TemporaryFile tf; in TEST()
43 TemporaryFile tf; in TEST()
Dfile.cpp105 TemporaryFile::TemporaryFile() { in TemporaryFile() function in TemporaryFile
109 TemporaryFile::TemporaryFile(const std::string& tmp_dir) { in TemporaryFile() function in TemporaryFile
113 TemporaryFile::~TemporaryFile() { in ~TemporaryFile()
122 int TemporaryFile::release() { in release()
128 void TemporaryFile::init(const std::string& tmp_dir) { in init()
/system/core/init/
Dinit_test.cpp62 TemporaryFile tf; in TestInitText()
146 TemporaryFile first_import; in TEST()
150 TemporaryFile dir_a_import; in TEST()
154 TemporaryFile last_import; in TEST()
176 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/core/fs_mgr/tests/
Dfs_mgr_test.cpp208 TemporaryFile tf; in TEST()
313 TemporaryFile tf; in TEST()
392 TemporaryFile tf; in TEST()
477 TemporaryFile tf; in TEST()
498 TemporaryFile tf; in TEST()
541 TemporaryFile tf; in TEST()
567 TemporaryFile tf; in TEST()
593 TemporaryFile tf; in TEST()
643 TemporaryFile tf; in TEST()
666 TemporaryFile tf; in TEST()
[all …]
/system/core/libmeminfo/
Dlibmeminfo_test.cpp114 TemporaryFile tf; in TEST()
154 TemporaryFile tf; in TEST()
195 TemporaryFile tf; in TEST()
452 TemporaryFile tf; in TEST()
475 TemporaryFile tf; in TEST()
561 TemporaryFile tf; in TEST()
597 TemporaryFile tf; in TEST()
609 TemporaryFile tf; in TEST()
621 TemporaryFile tf; in TEST()
638 TemporaryFile tf; in TEST()
/system/extras/memory_replay/tests/
DNativeInfoTest.cpp29 tmp_file_ = new TemporaryFile(); in SetUp()
37 TemporaryFile* tmp_file_ = nullptr;
/system/core/libutils/
DFileMap_test.cpp26 TemporaryFile tf; in TEST()
/system/core/debuggerd/libdebuggerd/test/
Dopen_files_list_test.cpp32 TemporaryFile tf; in TEST()

123