Home
last modified time | relevance | path

Searched refs:GetPath (Results 1 – 25 of 34) sorted by relevance

12

/art/odrefresh/
Dodr_fs_utils_test.cc66 scratch_dir.GetPath() + "/a", in TEST_F()
67 scratch_dir.GetPath() + "/b", in TEST_F()
68 scratch_dir.GetPath() + "/b/c", in TEST_F()
69 scratch_dir.GetPath() + "/d" in TEST_F()
76 scratch_dir.GetPath() + "/zero.txt", in TEST_F()
77 scratch_dir.GetPath() + "/a/one.txt", in TEST_F()
78 scratch_dir.GetPath() + "/b/two.txt", in TEST_F()
79 scratch_dir.GetPath() + "/b/c/three.txt", in TEST_F()
80 scratch_dir.GetPath() + "/b/c/four.txt", in TEST_F()
87 ASSERT_TRUE(RemoveDirectory(scratch_dir.GetPath())); in TEST_F()
[all …]
Dodr_metrics_test.cc43 metrics_file_path_ = scratch_dir_->GetPath() + "/metrics.xml"; in SetUp()
44 cache_directory_ = scratch_dir_->GetPath() + "/dir"; in SetUp()
Dodr_metrics_record_test.cc57 file_path_ = scratch_dir_->GetPath() + "/metrics-record.xml"; in SetUp()
Dodrefresh.cc151 std::string file_basename(Basename(file->GetPath())); in MoveOrEraseFiles()
153 std::string input_file_path = file->GetPath(); in MoveOrEraseFiles()
197 PLOG(ERROR) << "Failed to copy " << QuotePath(file->GetPath()) << " to " in MoveOrEraseFiles()
205 PLOG(ERROR) << "Failed to erase " << QuotePath(file->GetPath()); in MoveOrEraseFiles()
1818 ART_FORMAT("Failed to flush close file '{}'", file->GetPath())); in RunDex2oat()
1825 ART_FORMAT("Failed to flush file '{}'", file->GetPath())); in RunDex2oat()
/art/artd/
Dfile_utils_test.cc81 ASSERT_EQ(stat(scratch_dir_->GetPath().c_str(), &st), 0); in SetUp()
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()
156 std::string file_2_path = scratch_dir_->GetPath() + "/file_2"; in TEST_F()
176 std::string file_1_path = scratch_dir_->GetPath() + "/file_1"; in TEST_F()
177 std::string file_2_path = scratch_dir_->GetPath() + "/file_2"; in TEST_F()
[all …]
Dpath_utils_test.cc52 setenv("ANDROID_ART_ROOT", scratch_dir->GetPath().c_str(), /*overwrite=*/1); in TEST_F()
53 EXPECT_THAT(BuildArtBinPath("foo"), HasValue(scratch_dir->GetPath() + "/bin/foo")); in TEST_F()
Dartd.cc351 .errorMsg = ART_FORMAT("Failed to load profile '{}': {}", src->GetPath(), error_msg)}; in AnalyzeCopyAndRewriteProfileFailure()
371 ZipArchive::OpenFromOwnedFd(src->Fd(), src->GetPath().c_str(), &error_msg)); in AnalyzeCopyAndRewriteProfileFailure()
472 void Add(const File& file) { fd_mapping_.emplace_back(file.Fd(), file.GetPath()); } in Add()
1048 dex_file->GetPath())); in dexopt()
1059 dex_file->GetPath(), in dexopt()
1144 profile_file->GetPath())); in dexopt()
1735 return Errorf("Unable to fstat file '{}'", file.GetPath()); in Fstat()
/art/runtime/oat/
Delf_file.cc106 file->GetPath().c_str(), file->Fd(), strerror(errno)); in Setup()
113 file->GetPath().c_str()); in Setup()
127 file->GetPath().c_str(), in Setup()
137 sizeof(Elf_Ehdr), file->GetPath().c_str()); in Setup()
147 file->GetPath().c_str(), in Setup()
162 file->GetPath().c_str(), in Setup()
186 file->GetPath().c_str()); in Setup()
194 file->GetPath().c_str()); in Setup()
208 i, file->GetPath().c_str()); in Setup()
253 << file->GetPath() << ": " << std::hex in Setup()
[all …]
Dimage.cc377 image_file->GetPath() + ": " + std::string(strerror(errno)); in WriteData()
397 image_file->GetPath() + ": " + std::string(strerror(errno)); in WriteData()
413 image_file->GetPath() + ": " + std::string(strerror(errno)); in WriteData()
435 image_file->GetPath() + ": " + std::string(strerror(errno)); in WriteData()
441 *error_msg = "Failed to flush image file " + image_file->GetPath() + ": " + std::to_string(err); in WriteData()
/art/libartbase/base/
Dscoped_flock.cc122 locked_file->GetPath().c_str(), strerror(errno)); in DupOf()
127 "Failed to lock file '%s': %s", locked_file->GetPath().c_str(), strerror(errno)); in DupOf()
145 PLOG(WARNING) << "Unable to unlock file " << this->GetPath(); in ReleaseLock()
Dcommon_art_test.h53 const std::string& GetPath() const { in GetPath() function
/art/imgdiag/
Dpage_util.cc58 kpage_file.GetPath().c_str(), in GetPageFlagsOrCounts()
87 page_map_file.GetPath().c_str(), in GetPageFrameNumbers()
/art/libelffile/stream/
Dfile_output_stream.cc26 FileOutputStream::FileOutputStream(File* file) : OutputStream(file->GetPath()), file_(file) {} in FileOutputStream()
/art/libartbase/base/unix_file/
Dfd_file.h103 const std::string& GetPath() const { in GetPath() function
Dfd_file_test.cc69 EXPECT_TRUE(file.GetPath().empty()); in TEST_F()
235 EXPECT_EQ(src->GetFile()->GetPath(), new_filename); in TEST_F()
307 src->GetPath().c_str(), in TestDataMatches()
316 dest->GetPath().c_str(), in TestDataMatches()
Dfd_file.cc564 input_file->GetPath().c_str(), in UserspaceSparseCopy()
567 LOG(ERROR) << "Failed to mmap " << input_file->GetPath() << " for copying: " << error_msg; in UserspaceSparseCopy()
/art/dexopt_chroot_setup/
Ddexopt_chroot_setup_test.cc82 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
/art/dex2oat/
Ddex2oat.cc2109 LOG(ERROR) << "Failed to finish VDEX file " << vdex_file->GetPath(); in WriteOutputFiles()
2157 LOG(ERROR) << "Failed to write .rodata section to the ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2165 LOG(ERROR) << "Failed to write .text section to the ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2174 << oat_file->GetPath(); in WriteOutputFiles()
2181 LOG(ERROR) << "Failed to write oat header to the ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2196 LOG(ERROR) << "Failed to write ELF file " << oat_file->GetPath(); in WriteOutputFiles()
2238 PLOG(ERROR) << "Failed to get the length of oat file: " << in->GetPath(); in CopyOatFilesToSymbolsDirectoryAndStrip()
2247 PLOG(ERROR) << "Failed to copy oat file to file: " << out->GetPath(); in CopyOatFilesToSymbolsDirectoryAndStrip()
2259 PLOG(ERROR) << "Failed strip oat file: " << in->GetPath(); in CopyOatFilesToSymbolsDirectoryAndStrip()
2271 PLOG(ERROR) << "Failed to flush output file: " << file->get()->GetPath(); in FlushOutputFile()
[all …]
Ddex2oat_image_test.cc89 std::string filename_prefix = scratch.GetPath() + "boot"; in CompileImageAndGetSizes()
257 const std::string& scratch_dir = scratch.GetPath(); in TEST_F()
/art/libarttools/
Dtools_test.cc54 scratch_path_ = scratch_dir_->GetPath(); in SetUp()
/art/runtime/jni/
Djava_vm_ext.cc109 const std::string& GetPath() const { in GetPath() function in art::SharedLibrary
342 << " in \"" << library->GetPath() << "\"]"; in FindNativeMethodInternal()
384 VLOG(jni) << "[No JNI_OnUnload found in \"" << library->GetPath() << "\"]"; in UnloadLibraries()
386 VLOG(jni) << "[JNI_OnUnload found for \"" << library->GetPath() << "\"]: Calling..."; in UnloadLibraries()
/art/runtime/
Ddexopt_test.cc141 std::string alternate_image_location = GenerateAlternateImage(scratch->GetPath()); in GenerateOatForTest()
/art/dex2oat/linker/
Doat_writer.cc3351 PLOG(ERROR) << "Failed to resize vdex file " << file->GetPath(); in WriteDexFiles()
3364 file->GetPath().c_str(), in WriteDexFiles()
3367 LOG(ERROR) << "Failed to mmap() dex files from oat file. File: " << file->GetPath() in WriteDexFiles()
3488 << " Output: " << file->GetPath() in OpenDexFiles()
3495 << " Output: " << file->GetPath(); in OpenDexFiles()
3665 PLOG(ERROR) << "Failed to resize vdex file " << vdex_file->GetPath(); in FinishVdexFile()
3689 vdex_file->GetPath().c_str(), in FinishVdexFile()
3692 LOG(ERROR) << "Failed to mmap() vdex file tail. File: " << vdex_file->GetPath() in FinishVdexFile()
3708 vdex_file->GetPath().c_str(), in FinishVdexFile()
3711 LOG(ERROR) << "Failed to mmap() vdex file. File: " << vdex_file->GetPath() in FinishVdexFile()
[all …]
Delf_writer_quick.cc192 builder_->PrepareDynamicSection(elf_file_->GetPath(), in PrepareDynamicSection()
/art/compiler/utils/
Dassembler_test_base.h80 auto test_path = [&](const char* ext) { return scratch_dir_->GetPath() + test_name + ext; }; in Driver()

12