Home
last modified time | relevance | path

Searched refs:scratch_dir_ (Results 1 – 10 of 10) sorted by relevance

/art/artd/
Dfile_utils_test.cc79 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
81 ASSERT_EQ(stat(scratch_dir_->GetPath().c_str(), &st), 0); in SetUp()
87 scratch_dir_.reset(); in TearDown()
92 std::unique_ptr<ScratchDir> scratch_dir_; member in art::artd::__anondb0dfca60111::FileUtilsTest
96 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
110 std::string path = scratch_dir_->GetPath() + "/non_existent_dir/file.tmp"; in TEST_F()
118 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
127 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
141 std::string path = scratch_dir_->GetPath() + "/file.tmp"; in TEST_F()
155 std::string file_1_path = scratch_dir_->GetPath() + "/file_1"; in TEST_F()
[all …]
Dartd_test.cc339 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
340 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
408 scratch_dir_.reset(); in TearDown()
516 std::unique_ptr<ScratchDir> scratch_dir_; member in art::artd::__anond8ba6b210111::ArtdTest
/art/runtime/
Ddex2oat_environment_test.h58 scratch_dir_.assign(android_data_real.get()); in SetUp()
59 scratch_dir_ += "/Dex2oatEnvironmentTest"; in SetUp()
60 ASSERT_EQ(0, mkdir(scratch_dir_.c_str(), 0700)); in SetUp()
63 odex_oat_dir_ = scratch_dir_ + "/oat"; in SetUp()
77 CommonArtTest::ClearDirectory(scratch_dir_.c_str()); in TearDown()
78 ASSERT_EQ(0, rmdir(scratch_dir_.c_str())); in TearDown()
83 const std::string& GetScratchDir() const { return scratch_dir_; } in GetScratchDir()
90 std::string scratch_dir_;
Dclass_loader_context_test.cc58 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
59 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
65 scratch_dir_.reset(); in TearDown()
388 std::unique_ptr<ScratchDir> scratch_dir_; member in art::ClassLoaderContextTest
/art/dexopt_chroot_setup/
Ddexopt_chroot_setup_test.cc81 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
82 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
91 scratch_dir_.reset(); in TearDown()
97 std::unique_ptr<ScratchDir> scratch_dir_; member in art::dexopt_chroot_setup::__anon3af58c6f0111::DexoptChrootSetupTest
/art/odrefresh/
Dodr_metrics_test.cc42 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
43 metrics_file_path_ = scratch_dir_->GetPath() + "/metrics.xml"; in SetUp()
44 cache_directory_ = scratch_dir_->GetPath() + "/dir"; in SetUp()
49 scratch_dir_.reset(); in TearDown()
61 std::unique_ptr<ScratchDir> scratch_dir_; member in art::odrefresh::OdrMetricsTest
Dodr_metrics_record_test.cc56 scratch_dir_ = std::make_unique<ScratchDir>(/*keep_files=*/false); in SetUp()
57 file_path_ = scratch_dir_->GetPath() + "/metrics-record.xml"; in SetUp()
60 void TearDown() override { scratch_dir_.reset(); } in TearDown()
62 std::unique_ptr<ScratchDir> scratch_dir_; member in art::odrefresh::OdrMetricsRecordTest
/art/libarttools/
Dtools_test.cc53 scratch_dir_ = std::make_unique<ScratchDir>(); in SetUp()
54 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
60 scratch_dir_.reset(); in TearDown()
64 std::unique_ptr<ScratchDir> scratch_dir_; member in art::tools::__anonb5f6e8eb0111::ArtToolsTest
/art/compiler/utils/
Dassembler_test_base.h53 scratch_dir_.emplace(/*keep_files=*/ kKeepDisassembledFiles); in SetUp()
80 auto test_path = [&](const char* ext) { return scratch_dir_->GetPath() + test_name + ext; }; in Driver()
286 std::optional<ScratchDir> scratch_dir_; variable
Dassembler_thumb_test.cc52 std::string obj_file = scratch_dir_->GetPath() + testname + ".o"; in DumpAndCheck()