/art/dexlayout/ |
D | dexlayout_test.cc | 263 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/ |
D | dex2oat_image_test.cc | 120 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 …]
|
D | dex2oat_test.cc | 1396 {"--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/ |
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 | common_art_test.cc | 58 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()
|
D | mem_map_test.cc | 394 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()
|
D | common_art_test.h | 76 const std::string& GetFilename() const { in GetFilename() function
|
/art/runtime/ |
D | vdex_file_test.cc | 36 tmp.GetFilename(), in TEST_F() 44 tmp.GetFilename(), /*writable=*/false, /*low_4gb=*/false, /*unquicken=*/ false, &error_msg); in TEST_F()
|
D | dexopt_test.cc | 93 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
|
/art/dex2oat/linker/ |
D | oat_writer_test.cc | 411 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 …]
|
D | image_test.h | 140 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/ |
D | fd_file_test.cc | 77 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/ |
D | hiddenapi_test.cc | 72 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/ |
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/profman/ |
D | profile_assistant_test.cc | 257 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/ |
D | swap_space_test.cc | 39 unlink(scratch.GetFilename().c_str()); in SwapTest()
|
D | assembler_thumb_test.cc | 101 const char* filename = file.GetFilename().c_str(); in DumpAndCheck()
|
D | assembler_test_base.h | 584 tmpnam_ = tmp.GetFilename() + "asm"; in GetTmpnam()
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 246 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/ |
D | dwarf_test.h | 90 cmd = cmd + "objdump " + args + " " + file.GetFilename() + " 2>&1"; in Objdump()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader_test.cc | 295 UniqueCPtr<const char[]> dex_location_real(realpath(file.GetFilename().c_str(), nullptr)); in TEST_F()
|