/system/core/libziparchive/ |
D | zip_archive_benchmark.cpp | 31 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/ |
D | file.h | 37 class TemporaryFile { 39 TemporaryFile(); 40 explicit TemporaryFile(const std::string& tmp_dir); 41 ~TemporaryFile(); 57 DISALLOW_COPY_AND_ASSIGN(TemporaryFile);
|
/system/core/adb/ |
D | adb_io_test.cpp | 47 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/ |
D | FileNodeTest.cc | 44 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()
|
D | NodeLooperThreadTest.cc | 37 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_;
|
D | HintManagerTest.cc | 134 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/ |
D | cmd_record_test.cpp | 49 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 …]
|
D | cmd_kmem_test.cpp | 44 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()
|
D | cmd_debug_unwind_test.cpp | 39 TemporaryFile tmp_file; in TEST() 53 TemporaryFile tmp_file; in TEST() 69 TemporaryFile tmp_file; in TEST()
|
D | test_util.h | 99 tmpfile_.reset(new TemporaryFile); in Start() 121 std::unique_ptr<TemporaryFile> tmpfile_;
|
D | cmd_report_sample_test.cpp | 34 TemporaryFile tmpfile; in TEST() 40 TemporaryFile tmpfile; in TEST() 47 TemporaryFile tmpfile; 48 TemporaryFile tmpfile2;
|
/system/core/libunwindstack/tests/ |
D | DexFileTest.cpp | 39 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()
|
D | MapInfoCreateMemoryTest.cpp | 85 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_;
|
D | ElfCacheTest.cpp | 40 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/ |
D | file_test.cpp | 40 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()
|
D | mapped_file_test.cpp | 30 TemporaryFile tf; in TEST() 43 TemporaryFile tf; in TEST()
|
D | file.cpp | 105 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/ |
D | init_test.cpp | 62 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()
|
D | persistent_properties_test.cpp | 70 TemporaryFile tf; in TEST() 93 TemporaryFile tf; in TEST() 114 TemporaryFile tf; in TEST() 136 TemporaryFile tf; in TEST()
|
D | util_test.cpp | 42 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/ |
D | fs_mgr_test.cpp | 208 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/ |
D | libmeminfo_test.cpp | 114 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/ |
D | NativeInfoTest.cpp | 29 tmp_file_ = new TemporaryFile(); in SetUp() 37 TemporaryFile* tmp_file_ = nullptr;
|
/system/core/libutils/ |
D | FileMap_test.cpp | 26 TemporaryFile tf; in TEST()
|
/system/core/debuggerd/libdebuggerd/test/ |
D | open_files_list_test.cpp | 32 TemporaryFile tf; in TEST()
|