Home
last modified time | relevance | path

Searched refs:GetFilename (Results 1 – 25 of 26) sorted by relevance

12

/art/dexlayout/
Ddexlayout_test.cc262 const std::string& dexdump_filename = dexdump_output.GetFilename(); in FullPlainOutputExec()
267 const std::string& dexlayout_filename = dexlayout_output.GetFilename(); in FullPlainOutputExec()
292 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileOutputExec()
385 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutExec()
414 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutFixedPointExec()
477 const std::string& tmp_name = tmp_file.GetFilename(); in UnreferencedCatchHandlerExec()
515 CreateProfile(dex_file->GetFilename(), profile_file->GetFilename()); in DexLayoutExec()
606 { "-a", "-i", "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
615 std::vector<std::string> dexlayout_args = { "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
626 { "-p", temp_profile.GetFilename(), "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
[all …]
/art/libartbase/base/
Dscoped_flock_test.cc34 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()
Dzip_archive_test.cc45 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()
Dflags_test.cc36 std::string tmp_name = tmp_file_->GetFilename(); in TestFlag()
Dcommon_art_test.cc90 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
94 : ScratchFile(other.GetFilename() + suffix) {} in ScratchFile()
99 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
Dmem_map_test.cc394 scratch_file.GetFilename().c_str(), in TEST_F()
478 scratch_file.GetFilename().c_str(), in TEST_F()
799 scratch_file.GetFilename().c_str(), in TEST_F()
841 scratch_file.GetFilename().c_str(), in TEST_F()
Dcommon_art_test.h79 const std::string& GetFilename() const { in GetFilename() function
/art/runtime/
Dvdex_file_test.cc36 tmp.GetFilename(), in TEST_F()
44 tmp.GetFilename(), /*writable=*/false, /*low_4gb=*/false, /*unquicken=*/ false, &error_msg); in TEST_F()
Dmodule_exclusion_test.cc168 "--updatable-bcp-packages-file=" + package_list_file.GetFilename() in TEST_F()
Ddexopt_test.cc134 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
/art/libartbase/base/unix_file/
Dfd_file_test.cc91 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
107 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
136 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
163 FdFile src(src_tmp.GetFilename(), O_RDWR, false); in TEST_F()
173 FdFile dest(src_tmp.GetFilename(), O_RDWR, false); in TEST_F()
192 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
211 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
214 FdFile file2(tmp.GetFilename(), O_RDWR, false); in TEST_F()
224 std::string filename = tmp.GetFilename(); in TEST_F()
/art/dex2oat/linker/
Doat_writer_test.cc267 oat_file.GetFilename(), in CheckOatWriteResult()
268 oat_file.GetFilename(), in CheckOatWriteResult()
449 tmp_oat.GetFilename(), in TEST_F()
450 tmp_oat.GetFilename(), in TEST_F()
566 tmp_oat.GetFilename(), in TEST_F()
567 tmp_oat.GetFilename(), in TEST_F()
595 std::unique_ptr<const DexFile> dex_file1_data = builder1.Build(dex_file1.GetFilename()); in TestDexFileInput()
604 input_filenames.push_back(dex_file1.GetFilename().c_str()); in TestDexFileInput()
612 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput()
621 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput()
[all …]
Dimage_write_read_test.cc33 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TestWriteRead()
71 image.append(helper.image_locations[0].GetFilename()); in TestWriteRead()
Dimage_test.h139 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in GetImageObjectSectionSizes()
177 location.GetFilename() + ".art"); in DoCompile()
184 std::string image_filename(GetSystemImageFilename(file.GetFilename().c_str(), kRuntimeISA)); in DoCompile()
/art/profman/
Dprofile_assistant_test.cc220 argv_str.push_back("--create-profile-from=" + class_names_file.GetFilename()); in CreateProfile()
273 profile_file.GetFilename(), in CreateAndDump()
275 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents, target)); in CreateAndDump()
789 GenerateTestProfile(profile.GetFilename()); in TEST_F()
799 GenerateTestProfileWithInputDex(profile.GetFilename()); in TEST_F()
854 profile_file.GetFilename(), in TEST_F()
969 profile.GetFilename(), in TEST_F()
974 bootProfile.Load(profile.GetFilename(), /*clear_if_invalid=*/ true); in TEST_F()
988 args.push_back("--profile-file=" + profile.GetFilename()); in TEST_F()
989 args.push_back("--out-profile-path=" + out_profile.GetFilename()); in TEST_F()
[all …]
/art/odrefresh/
Dodr_compilation_log_test.cc309 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
319 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
343 const char* log_path = scratch_file.GetFilename().c_str(); in TEST_F()
515 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
529 ASSERT_TRUE(android::base::ReadFileToString(scratch_file.GetFilename(), &log_text)); in TEST_F()
532 ASSERT_TRUE(android::base::WriteStringToFile(log_text, scratch_file.GetFilename())); in TEST_F()
536 OdrCompilationLog ocl(scratch_file.GetFilename().c_str()); in TEST_F()
/art/tools/hiddenapi/
Dhiddenapi_test.cc71 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()
112 File fd(file.GetFilename(), O_RDONLY, /* check_usage= */ false); in OpenDex()
114 PLOG(FATAL) << "Unable to open file '" << file.GetFilename() << "'"; in OpenDex()
119 fd.Release(), /* location= */ file.GetFilename(), /* verify= */ true, in OpenDex()
122 LOG(FATAL) << "Open failed for '" << file.GetFilename() << "' " << error_msg; in OpenDex()
125 LOG(FATAL) << "Expected a standard dex file '" << file.GetFilename() << "'"; in OpenDex()
133 std::ofstream ofs(file.GetFilename(), std::ofstream::out); in OpenStream()
[all …]
/art/compiler/linker/
Doutput_stream_test.cc72 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/
Ddex2oat_image_test.cc208 {"--profile-file=" + profile_file.GetFilename(), in TEST_F()
228 {"--profile-file=" + profile_file.GetFilename(), in TEST_F()
246 {"--dirty-image-objects=" + classes.GetFilename()}); in TEST_F()
317 const std::string& head_profile_filename = head_profile_file.GetFilename(); in TEST_F()
323 const std::string& mid_profile_filename = mid_profile_file.GetFilename(); in TEST_F()
329 const std::string& tail_profile_filename = tail_profile_file.GetFilename(); in TEST_F()
383 const std::string& single_profile_filename = single_profile_file.GetFilename(); in TEST_F()
Ddex2oat_vdex_test.cc134 std::string GetFilename(const std::unique_ptr<const DexFile>& dex_file) { in GetFilename() function in art::Dex2oatVdexTest
145 return GetScratchDir() + "/" + GetFilename(dex_file) + suffix + ".odex"; in GetOdex()
150 return GetScratchDir() + "/" + GetFilename(dex_file) + suffix + ".vdex"; in GetVdex()
Ddex2oat_test.cc1209 {"--profile-file=" + profile_file.GetFilename()}); in TEST_F()
1588 ASSERT_TRUE(GenerateOdexForTest(temp_dex.GetFilename(), in TEST_F()
1605 temp_dex.GetFilename(), in TEST_F()
1637 const std::string& dex_location = apk_file.GetFilename(); in TEST_F()
1779 "--dm-file=" + dm_file.GetFilename(), in TEST_F()
1826 const std::string& dex_location = invalid_dex.GetFilename(); in TEST_F()
1869 { invalid_dex_zip.GetFilename() }, in TEST_F()
1877 { invalid_dex.GetFilename() }, in TEST_F()
1944 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F()
1979 std::unique_ptr<const DexFile> dex_file(OpenDexFile(temp_dex.GetFilename().c_str())); in TEST_F()
[all …]
/art/compiler/utils/
Dswap_space_test.cc39 unlink(scratch.GetFilename().c_str()); in SwapTest()
/art/runtime/jit/
Dprofiling_info_test.cc185 profile.GetFilename(), in TEST_F()
205 profile.GetFilename(), in TEST_F()
244 profile.GetFilename(), in TEST_F()
/art/runtime/gc/space/
Dimage_space_test.cc84 "--profile-file=" + profile_file.GetFilename(), in TEST_F()
115 "--profile-file=" + profile_file.GetFilename(), in TEST_F()
376 image_location = missing_image_base_->GetFilename() + ".art"; in SetUpRuntimeOptions()
/art/compiler/debug/dwarf/
Ddwarf_test.h90 cmd = cmd + " " + args + " " + file.GetFilename() + " 2>&1"; in Objdump()

12