/art/libartbase/base/ |
D | scoped_flock_test.cc | 34 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F() 39 ScopedFlock second_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F() 50 ScopedFlock file_lock = LockedFile::Open(scratch_file.GetFilename().c_str(), in TEST_F()
|
D | zip_archive_test.cc | 45 std::unique_ptr<File> file(new File(DupCloexec(tmp.GetFd()), tmp.GetFilename(), false)); in TEST_F() 53 int fd = open(tmp.GetFilename().c_str(), O_RDONLY | O_CLOEXEC); in TEST_F()
|
D | flags_test.cc | 36 std::string tmp_name = tmp_file_->GetFilename(); in TestFlag()
|
D | common_art_test.cc | 87 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile() 91 : ScratchFile(other.GetFilename() + suffix) {} in ScratchFile() 96 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
|
D | mem_map_test.cc | 407 scratch_file.GetFilename().c_str(), in TEST_F() 493 scratch_file.GetFilename().c_str(), in TEST_F() 817 scratch_file.GetFilename().c_str(), in TEST_F() 859 scratch_file.GetFilename().c_str(), in TEST_F()
|
D | common_art_test.h | 80 const std::string& GetFilename() const { in GetFilename() function
|
/art/runtime/ |
D | vdex_file_test.cc | 35 tmp.GetFilename(), in TEST_F() 42 tmp.GetFilename(), /*writable=*/false, /*low_4gb=*/false, &error_msg); in TEST_F()
|
D | dexopt_test.cc | 134 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 266 oat_file.GetFilename(), in CheckOatWriteResult() 267 oat_file.GetFilename(), in CheckOatWriteResult() 448 tmp_oat.GetFilename(), in TEST_F() 449 tmp_oat.GetFilename(), in TEST_F() 563 tmp_oat.GetFilename(), in TEST_F() 564 tmp_oat.GetFilename(), in TEST_F() 592 std::unique_ptr<const DexFile> dex_file1_data = builder1.Build(dex_file1.GetFilename()); in TestDexFileInput() 601 input_filenames.push_back(dex_file1.GetFilename().c_str()); in TestDexFileInput() 609 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput() 618 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput() [all …]
|
D | image_write_read_test.cc | 33 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TestWriteRead() 71 image.append(helper.image_locations[0].GetFilename()); in TestWriteRead()
|
D | image_test.h | 153 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in GetImageObjectSectionSizes() 184 location.GetFilename() + ".art"); in DoCompile() 191 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); in DoCompile()
|
D | image_test.cc | 248 image_file.reset(OS::CreateEmptyFile(location.GetFilename().c_str())); in TEST_F()
|
/art/profman/ |
D | profile_assistant_test.cc | 222 argv_str.push_back("--create-profile-from=" + class_names_file.GetFilename()); in CreateProfile() 275 profile_file.GetFilename(), in CreateAndDump() 277 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents, target)); in CreateAndDump() 769 GenerateTestProfile(profile.GetFilename()); in TEST_F() 779 GenerateTestProfileWithInputDex(profile.GetFilename()); in TEST_F() 834 profile_file.GetFilename(), in TEST_F() 949 profile.GetFilename(), in TEST_F() 954 EXPECT_TRUE(bootProfile.Load(profile.GetFilename(), /*clear_if_invalid=*/ false)); in TEST_F() 968 args.push_back("--profile-file=" + profile.GetFilename()); in TEST_F() 969 args.push_back("--out-profile-path=" + out_profile.GetFilename()); in TEST_F() [all …]
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 191 profile.GetFilename(), in TEST_F() 197 ASSERT_TRUE(info1.Load(profile.GetFilename(), /*clear_if_invalid=*/false)); in TEST_F() 211 profile.GetFilename(), in TEST_F() 217 ASSERT_TRUE(info2.Load(profile.GetFilename(), /*clear_if_invalid=*/false)); in TEST_F() 250 profile.GetFilename(), in TEST_F() 257 ASSERT_TRUE(info.Load(profile.GetFilename(), /*clear_if_invalid=*/false)); in TEST_F()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 77 "--profile-file=" + profile_file.GetFilename(), in TEST_F() 110 "--profile-file=" + profile_file.GetFilename(), in TEST_F() 358 image_location = missing_image_base_->GetFilename() + ".art"; in PrepareImageLocation() 407 std::string image_location = missing_image_base_->GetFilename() + ".art"; in PrepareImageLocation() 421 image_location += "!" + profile1_->GetFilename() + "!" + profile2_->GetFilename(); in PrepareImageLocation() 445 std::string image_location_1 = missing_image_base_->GetFilename() + ".art"; in PrepareImageLocation() 447 missing_image_base_->GetFilename() + "-" + Stem(dex_files[dex_files.size() - 1]) + ".art"; in PrepareImageLocation() 456 image_location_1 += "!" + profile1_->GetFilename(); in PrepareImageLocation() 463 image_location_2 += "!" + profile2_->GetFilename(); in PrepareImageLocation()
|
/art/odrefresh/ |
D | odr_compilation_log_test.cc | 251 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F() 261 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F() 285 const char* log_path = scratch_file.GetFilename().c_str(); in TEST_F() 379 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F() 392 ASSERT_TRUE(android::base::ReadFileToString(scratch_file.GetFilename(), &log_text)); in TEST_F() 395 ASSERT_TRUE(android::base::WriteStringToFile(log_text, scratch_file.GetFilename())); in TEST_F() 399 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
|
/art/libartbase/base/unix_file/ |
D | fd_file_test.cc | 109 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F() 125 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F() 154 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F() 230 const std::string& new_filename = dest.GetFilename(); in TEST_F() 231 const std::string& old_filename = src->GetFilename(); in TEST_F() 267 FdFile src(src_tmp.GetFilename(), O_RDWR, false); in TEST_F() 277 FdFile dest(dest_tmp.GetFilename(), O_RDWR, false); in TEST_F() 540 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F() 559 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F() 562 FdFile file2(tmp.GetFilename(), O_RDWR, false); in TEST_F() [all …]
|
/art/tools/hiddenapi/ |
D | hiddenapi_test.cc | 71 argv_str.push_back("--input-dex=" + in_dex.GetFilename()); in RunHiddenapiEncode() 72 argv_str.push_back("--output-dex=" + out_dex.GetFilename()); in RunHiddenapiEncode() 73 argv_str.push_back("--api-flags=" + flags_csv.GetFilename()); in RunHiddenapiEncode() 98 argv_str.push_back("--out-api-flags=" + out_flags_csv.GetFilename()); in RunHiddenapiList() 111 File fd(file.GetFilename(), O_RDONLY, /* check_usage= */ false); in OpenDex() 113 PLOG(FATAL) << "Unable to open file '" << file.GetFilename() << "'"; in OpenDex() 117 ArtDexFileLoader dex_loader(&fd, file.GetFilename()); in OpenDex() 124 LOG(FATAL) << "Open failed for '" << file.GetFilename() << "' " << error_msg; in OpenDex() 127 LOG(FATAL) << "Expected a standard dex file '" << file.GetFilename() << "'"; in OpenDex() 135 std::ofstream ofs(file.GetFilename(), std::ofstream::out); in OpenStream() [all …]
|
/art/compiler/linker/ |
D | output_stream_test.cc | 72 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F() 87 std::unique_ptr<File> in(OS::OpenFileForReading(tmp.GetFilename().c_str())); in TEST_F()
|
/art/dex2oat/ |
D | dex2oat_vdex_test.cc | 114 std::string GetFilename(const std::unique_ptr<const DexFile>& dex_file) { in GetFilename() function in art::Dex2oatVdexTest 125 return GetScratchDir() + "/" + GetFilename(dex_file) + suffix + ".odex"; in GetOdex() 130 return GetScratchDir() + "/" + GetFilename(dex_file) + suffix + ".vdex"; in GetVdex()
|
D | dex2oat_image_test.cc | 207 {"--profile-file=" + profile_file.GetFilename(), in TEST_F() 227 {"--profile-file=" + profile_file.GetFilename(), in TEST_F() 245 {"--dirty-image-objects=" + classes.GetFilename()}); in TEST_F() 316 const std::string& head_profile_filename = head_profile_file.GetFilename(); in TEST_F() 322 const std::string& mid_profile_filename = mid_profile_file.GetFilename(); in TEST_F() 328 const std::string& tail_profile_filename = tail_profile_file.GetFilename(); in TEST_F() 382 const std::string& single_profile_filename = single_profile_file.GetFilename(); in TEST_F()
|
D | dex2oat_test.cc | 1482 "--dm-file=" + dm_file.GetFilename(), in TEST_F() 1527 const std::string& dex_location = invalid_dex.GetFilename(); in TEST_F() 1579 status = GenerateOdexForTestWithStatus({invalid_dex_zip.GetFilename()}, in TEST_F() 1586 status = GenerateOdexForTestWithStatus({invalid_dex.GetFilename()}, in TEST_F() 1653 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() 1689 std::unique_ptr<const DexFile> dex_file(OpenDexFile(temp_dex.GetFilename().c_str())); in TEST_F() 1698 "--profile-file=" + profile_file.GetFilename()}, in TEST_F() 1729 const std::string& dex_location = dex_file.GetFilename(); in TEST_F() 1779 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F() 1825 std::unique_ptr<const DexFile> dex_file(OpenDexFile(temp_dex.GetFilename().c_str())); in TEST_F() [all …]
|
/art/dex2oat/utils/ |
D | swap_space_test.cc | 38 unlink(scratch.GetFilename().c_str()); in SwapTest()
|
/art/compiler/debug/dwarf/ |
D | dwarf_test.h | 91 cmd = cmd + " " + args + " " + file.GetFilename() + " 2>&1"; in Objdump()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader_test.cc | 344 UniqueCPtr<const char[]> dex_location_real(realpath(file.GetFilename().c_str(), nullptr)); in TEST_F()
|