/art/dexlayout/ |
D | dexlayout_test.cc | 262 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/ |
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 | 90 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()
|
D | mem_map_test.cc | 394 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()
|
D | common_art_test.h | 79 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 | module_exclusion_test.cc | 168 "--updatable-bcp-packages-file=" + package_list_file.GetFilename() in TEST_F()
|
D | dexopt_test.cc | 134 args.push_back("--profile-file=" + profile_file.GetFilename()); in GenerateOatForTest()
|
/art/libartbase/base/unix_file/ |
D | fd_file_test.cc | 91 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/ |
D | oat_writer_test.cc | 267 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 …]
|
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 | 139 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/ |
D | profile_assistant_test.cc | 220 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/ |
D | odr_compilation_log_test.cc | 309 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/ |
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() 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/ |
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_image_test.cc | 208 {"--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()
|
D | dex2oat_vdex_test.cc | 134 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()
|
D | dex2oat_test.cc | 1209 {"--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/ |
D | swap_space_test.cc | 39 unlink(scratch.GetFilename().c_str()); in SwapTest()
|
/art/runtime/jit/ |
D | profiling_info_test.cc | 185 profile.GetFilename(), in TEST_F() 205 profile.GetFilename(), in TEST_F() 244 profile.GetFilename(), in TEST_F()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 84 "--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/ |
D | dwarf_test.h | 90 cmd = cmd + " " + args + " " + file.GetFilename() + " 2>&1"; in Objdump()
|