Home
last modified time | relevance | path

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

/art/dexlayout/
Ddexlayout_test.cc263 const std::string& dexdump_filename = dexdump_output.GetFilename(); in FullPlainOutputExec()
268 const std::string& dexlayout_filename = dexlayout_output.GetFilename(); in FullPlainOutputExec()
293 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileOutputExec()
393 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutExec()
422 const std::string& tmp_name = tmp_file.GetFilename(); in DexFileLayoutFixedPointExec()
486 const std::string& tmp_name = tmp_file.GetFilename(); in UnreferencedCatchHandlerExec()
524 CreateProfile(dex_file->GetFilename(), profile_file->GetFilename(), dex_file->GetFilename()); in DexLayoutExec()
615 { "-a", "-i", "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
624 std::vector<std::string> dexlayout_args = { "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
635 { "-p", temp_profile.GetFilename(), "-o", "/dev/null", temp_dex.GetFilename() }; in TEST_F()
[all …]
/art/dex2oat/
Ddex2oat_image_test.cc120 std::string scratch_dir = scratch.GetFilename(); in CompileImageAndGetSizes()
124 CHECK(!scratch_dir.empty()) << "No directory " << scratch.GetFilename(); in CompileImageAndGetSizes()
126 if (!CompileBootImage(extra_args, scratch.GetFilename(), &error_msg)) { in CompileImageAndGetSizes()
127 LOG(ERROR) << "Failed to compile image " << scratch.GetFilename() << error_msg; in CompileImageAndGetSizes()
129 std::string art_file = scratch.GetFilename() + ".art"; in CompileImageAndGetSizes()
130 std::string oat_file = scratch.GetFilename() + ".oat"; in CompileImageAndGetSizes()
131 std::string vdex_file = scratch.GetFilename() + ".vdex"; in CompileImageAndGetSizes()
222 {"--image-classes=" + classes.GetFilename()}); in TEST_F()
236 {"--image-classes=" + classes.GetFilename()}); in TEST_F()
251 {"--image-classes=" + classes.GetFilename()}); in TEST_F()
[all …]
Ddex2oat_test.cc1396 {"--profile-file=" + profile_file.GetFilename()}); in TEST_F()
1758 ASSERT_TRUE(GenerateOdexForTest(temp_dex.GetFilename(), in TEST_F()
1774 temp_dex.GetFilename().c_str(), in TEST_F()
1807 const std::string& dex_location = apk_file.GetFilename(); in TEST_F()
1951 "--dm-file=" + dm_file.GetFilename(), in TEST_F()
2000 const std::string& dex_location = temp_dex.GetFilename(); in TEST_F()
2076 const std::string& dex_location = invalid_dex.GetFilename(); in TEST_F()
2119 { invalid_dex_zip.GetFilename() }, in TEST_F()
2127 { invalid_dex.GetFilename() }, in TEST_F()
2172 const std::string& dex_location = 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.cc58 file_.reset(new File(fd, GetFilename(), true)); in ScratchFile()
62 : ScratchFile(other.GetFilename() + suffix) {} in ScratchFile()
67 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()
803 scratch_file.GetFilename().c_str(), in TEST_F()
845 scratch_file.GetFilename().c_str(), in TEST_F()
Dcommon_art_test.h76 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()
Ddexopt_test.cc93 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
/art/dex2oat/linker/
Doat_writer_test.cc411 tmp_oat.GetFilename(), in TEST_F()
412 tmp_oat.GetFilename(), in TEST_F()
530 tmp_oat.GetFilename(), in TEST_F()
531 tmp_oat.GetFilename(), in TEST_F()
559 std::unique_ptr<const DexFile> dex_file1_data = builder1.Build(dex_file1.GetFilename()); in TestDexFileInput()
568 input_filenames.push_back(dex_file1.GetFilename().c_str()); in TestDexFileInput()
574 std::unique_ptr<const DexFile> dex_file2_data = builder2.Build(dex_file2.GetFilename()); in TestDexFileInput()
583 input_filenames.push_back(dex_file2.GetFilename().c_str()); in TestDexFileInput()
607 tmp_oat.GetFilename(), in TestDexFileInput()
608 tmp_oat.GetFilename(), in TestDexFileInput()
[all …]
Dimage_test.h140 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()
409 std::unique_ptr<File> file(OS::OpenFileForReading(image_file.GetFilename().c_str())); in TestWriteRead()
447 image.append(helper.image_locations[0].GetFilename()); in TestWriteRead()
/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/tools/hiddenapi/
Dhiddenapi_test.cc72 argv_str.push_back("--input-dex=" + in_dex.GetFilename()); in RunHiddenapiEncode()
73 argv_str.push_back("--output-dex=" + out_dex.GetFilename()); in RunHiddenapiEncode()
74 argv_str.push_back("--api-flags=" + flags_csv.GetFilename()); in RunHiddenapiEncode()
99 argv_str.push_back("--out-api-flags=" + out_flags_csv.GetFilename()); in RunHiddenapiList()
113 File fd(file.GetFilename(), O_RDONLY, /* check_usage= */ false); in OpenDex()
115 PLOG(FATAL) << "Unable to open file '" << file.GetFilename() << "'"; in OpenDex()
120 fd.Release(), /* location= */ file.GetFilename(), /* verify= */ true, in OpenDex()
123 LOG(FATAL) << "Open failed for '" << file.GetFilename() << "' " << error_msg; in OpenDex()
126 LOG(FATAL) << "Expected a standard dex file '" << file.GetFilename() << "'"; in OpenDex()
134 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/profman/
Dprofile_assistant_test.cc257 argv_str.push_back("--create-profile-from=" + class_names_file.GetFilename()); in CreateProfile()
306 profile_file.GetFilename(), in CreateAndDump()
309 EXPECT_TRUE(DumpClassesAndMethods(profile_file.GetFilename(), output_file_contents)); in CreateAndDump()
664 GenerateTestProfile(profile.GetFilename()); in TEST_F()
675 GenerateTestProfileWithInputDex(profile.GetFilename()); in TEST_F()
716 profile_file.GetFilename(), in TEST_F()
774 dex1, profiles.back().GetFilename(), core_dex)); in TEST_F()
785 dex2, profiles.back().GetFilename(), core_dex)); in TEST_F()
795 dex3, profiles.back().GetFilename(), core_dex)); in TEST_F()
805 args.push_back("--reference-profile-file=" + out_profile.GetFilename()); in TEST_F()
[all …]
/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/runtime/jit/
Dprofiling_info_test.cc246 profile.GetFilename(), main_methods, resolved_classes, Hotness::kFlagPostStartup)); in TEST_F()
264 profile.GetFilename(), second_methods, resolved_classes, Hotness::kFlagStartup)); in TEST_F()
303 profile.GetFilename(), main_methods, Hotness::kFlagStartup, &profile_methods_map)); in TEST_F()
/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()