Home
last modified time | relevance | path

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

/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()
483 const std::string& tmp_name = tmp_file.GetFilename(); in UnreferencedCatchHandlerExec()
521 CreateProfile(dex_file->GetFilename(), profile_file->GetFilename()); in DexLayoutExec()
612 { "-a", "-i", "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
621 std::vector<std::string> dexlayout_args = { "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
632 { "-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()
Dcommon_art_test.cc86 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
90 : ScratchFile(other.GetFilename() + suffix) {} in ScratchFile()
95 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.h78 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.cc113 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
/art/libartbase/base/unix_file/
Dfd_file_test.cc77 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
93 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
122 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
149 FdFile src(src_tmp.GetFilename(), O_RDWR, false); in TEST_F()
159 FdFile dest(src_tmp.GetFilename(), O_RDWR, false); in TEST_F()
178 FdFile file(tmp.GetFilename(), O_RDWR, false); in TEST_F()
197 FdFile file(tmp.GetFilename(), O_RDONLY, false); in TEST_F()
200 FdFile file2(tmp.GetFilename(), O_RDWR, false); in TEST_F()
210 std::string filename = tmp.GetFilename(); in TEST_F()
/art/dex2oat/linker/
Doat_writer_test.cc275 oat_file.GetFilename(), in CheckOatWriteResult()
276 oat_file.GetFilename(), in CheckOatWriteResult()
464 tmp_oat.GetFilename(), in TEST_F()
465 tmp_oat.GetFilename(), in TEST_F()
581 tmp_oat.GetFilename(), in TEST_F()
582 tmp_oat.GetFilename(), in TEST_F()
610 std::unique_ptr<const DexFile> dex_file1_data = builder1.Build(dex_file1.GetFilename()); in TestDexFileInput()
619 input_filenames.push_back(dex_file1.GetFilename().c_str()); in TestDexFileInput()
627 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput()
636 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.cc243 argv_str.push_back("--create-profile-from=" + class_names_file.GetFilename()); in CreateProfile()
292 profile_file.GetFilename(), in CreateAndDump()
295 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents)); in CreateAndDump()
652 GenerateTestProfile(profile.GetFilename()); in TEST_F()
663 GenerateTestProfileWithInputDex(profile.GetFilename()); in TEST_F()
717 profile_file.GetFilename(), in TEST_F()
833 EXPECT_TRUE(CreateProfile(input_file_contents, profile.GetFilename(), core_dex)); in TEST_F()
836 bootProfile.Load(profile.GetFilename(), /*for_boot_image*/ true); in TEST_F()
852 args.push_back("--profile-file=" + profile.GetFilename()); in TEST_F()
853 args.push_back("--out-profile-path=" + out_profile.GetFilename()); in TEST_F()
[all …]
/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/compiler/utils/
Dswap_space_test.cc39 unlink(scratch.GetFilename().c_str()); in SwapTest()
Dassembler_thumb_test.cc101 const char* filename = file.GetFilename().c_str(); in DumpAndCheck()
Dassembler_test_base.h584 tmpnam_ = tmp.GetFilename() + "asm"; in GetTmpnam()
/art/dex2oat/
Ddex2oat_image_test.cc210 {"--profile-file=" + profile_file.GetFilename(), in TEST_F()
230 {"--profile-file=" + profile_file.GetFilename(), in TEST_F()
248 {"--dirty-image-objects=" + classes.GetFilename()}); in TEST_F()
321 const std::string& head_profile_filename = head_profile_file.GetFilename(); in TEST_F()
327 const std::string& mid_profile_filename = mid_profile_file.GetFilename(); in TEST_F()
333 const std::string& tail_profile_filename = tail_profile_file.GetFilename(); in TEST_F()
387 const std::string& single_profile_filename = single_profile_file.GetFilename(); in TEST_F()
Ddex2oat_test.cc1428 {"--profile-file=" + profile_file.GetFilename()}); in TEST_F()
1791 ASSERT_TRUE(GenerateOdexForTest(temp_dex.GetFilename(), in TEST_F()
1808 temp_dex.GetFilename(), in TEST_F()
1840 const std::string& dex_location = apk_file.GetFilename(); in TEST_F()
1982 "--dm-file=" + dm_file.GetFilename(), in TEST_F()
2032 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F()
2108 const std::string& dex_location = invalid_dex.GetFilename(); in TEST_F()
2151 { invalid_dex_zip.GetFilename() }, in TEST_F()
2159 { invalid_dex.GetFilename() }, in TEST_F()
2220 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F()
[all …]
/art/runtime/jit/
Dprofiling_info_test.cc213 profile.GetFilename(), in TEST_F()
233 profile.GetFilename(), in TEST_F()
273 profile.GetFilename(), in TEST_F()
/art/runtime/gc/space/
Dimage_space_test.cc82 "--profile-file=" + profile_file.GetFilename(), in TEST_F()
113 "--profile-file=" + profile_file.GetFilename(), in TEST_F()
377 image_location = missing_image_base_->GetFilename() + ".art"; in SetUpRuntimeOptions()
/art/compiler/debug/dwarf/
Ddwarf_test.h90 cmd = cmd + "objdump " + args + " " + file.GetFilename() + " 2>&1"; in Objdump()
/art/libdexfile/dex/
Dart_dex_file_loader_test.cc295 UniqueCPtr<const char[]> dex_location_real(realpath(file.GetFilename().c_str(), nullptr)); in TEST_F()