/art/dex2oat/ |
D | dex2oat_image_test.cc | 464 load_ok = load(ART_FORMAT("{}:{}", base_location, mid_location)); in TEST_F() 469 load_ok = load(ART_FORMAT("{}:{}", base_location, mid_name)); in TEST_F() 474 load_ok = load(ART_FORMAT("{}:{}:{}", base_location, mid_location, tail_location)); in TEST_F() 479 load_ok = load(ART_FORMAT("{}:{}:{}", base_location, mid_location, tail_name)); in TEST_F() 485 load_ok = load(ART_FORMAT("{}:{}:{}", base_location, mid_name, tail_location)); in TEST_F() 490 load_ok = load(ART_FORMAT("{}:{}*", base_location, scratch_dir)); in TEST_F() 519 load_ok = load(ART_FORMAT("{}:{}", base_name, mid_name)); in TEST_F() 524 load_ok = load(ART_FORMAT("{}:{}", base_name, mid_location)); in TEST_F() 529 load_ok = load(ART_FORMAT("{}:{}", base_location, mid_name)); in TEST_F() 534 load_ok = load(ART_FORMAT("{}:{}:{}", base_name, mid_name, tail_name)); in TEST_F() [all …]
|
/art/libarttools/ |
D | tools.cc | 152 LOG(ERROR) << ART_FORMAT("Unable to lstat '{}': {}", entry.path().string(), ec2.message()); in MatchGlobRecursive() 158 LOG(ERROR) << ART_FORMAT("Unable to walk through '{}': {}", root_dir.string(), ec.message()); in MatchGlobRecursive() 181 << ART_FORMAT("path={}, prefix={}", path, prefix); in PathStartsWith() 227 if (!Readlink(ART_FORMAT("/proc/{}/exe", pid), &exe)) { in EnsureNoProcessInDir() 244 if (!ReadFileToString(ART_FORMAT("/proc/{}/comm", pid), &name)) { in EnsureNoProcessInDir() 251 LOG(INFO) << ART_FORMAT( in EnsureNoProcessInDir() 282 LOG(INFO) << ART_FORMAT( in EnsureNoProcessInDir() 298 LOG(ERROR) << ART_FORMAT( in EnsureNoProcessInDir() 301 LOG(INFO) << ART_FORMAT("Killing '{}' (pid: {})", name, pid); in EnsureNoProcessInDir() 303 PLOG(ERROR) << ART_FORMAT("Failed to kill '{}' (pid: {})", name, pid); in EnsureNoProcessInDir()
|
D | testing.h | 45 return ART_FORMAT("{}/bin/{}", GetArtRoot(), name); in GetArtBin() 50 return ART_FORMAT("{}/bin/{}", GetAndroidRoot(), name); in GetBin()
|
D | art_exec.cc | 178 if (std::filesystem::exists(ART_FORMAT("/proc/self/fd/{}", fd))) { in CloseFds() 227 PLOG(ERROR) << ART_FORMAT("Failed to chroot to '{}'", options.chroot); in main() 236 override_program_name = ART_FORMAT("{} ({})", command_args[0], options.process_name_suffix); in main()
|
D | art_exec_test.cc | 160 ART_FORMAT("--keep-fds={}:{}", file3->Fd(), file2->Fd()), in TEST_F() 164 ART_FORMAT("(" in TEST_F()
|
/art/dexopt_chroot_setup/ |
D | dexopt_chroot_setup.cc | 129 LOG(WARNING) << ART_FORMAT( in Unmount() 217 LOG(INFO) << ART_FORMAT("Bind-mounted '{}' at '{}'", source, target); in BindMount() 247 return ART_FORMAT("/dev/block/mapper/{}{}", partition, slot); in GetBlockDeviceName() 292 LOG(INFO) << ART_FORMAT( in Mount() 297 LOG(INFO) << ART_FORMAT("Skipped non-existing block device '{}'", block_device); in Mount() 300 error_msgs.push_back(ART_FORMAT("Tried '{}': {}", filesystem, strerror(errno))); in Mount() 318 ART_FORMAT("mode={:#o},rootcontext={}", kChrootDefaultMode, se_context).c_str()) != 0) { in MountTmpfs() 348 return Fatal(ART_FORMAT("Invalid OTA slot '{}'", in_otaSlot.value())); in setUp() 396 LOG(INFO) << ART_FORMAT("Created '{}'", CHROOT_DIR); in SetUpChroot() 532 LOG(INFO) << ART_FORMAT("Unmounted '{}'", it->mount_point); in TearDownChroot() [all …]
|
D | dexopt_chroot_setup_test.cc | 56 ASSERT_EQ(errno, ENOENT) << ART_FORMAT("Failed to getfilecon '{}': {}", in SetUp() 59 GTEST_SKIP() << ART_FORMAT("This platform is too old and doesn't have directory '{}'", in SetUp() 66 GTEST_SKIP() << ART_FORMAT("This platform is too old and doesn't have SELinux context '{}'", in SetUp()
|
/art/artd/ |
D | path_utils.cc | 157 return ART_FORMAT("{}/bin/{}", OR_RETURN(GetArtRootOrError()), binary_name); in BuildArtBinPath() 202 return ART_FORMAT("{}/misc/profiles/ref/{}/{}.prof{}", in BuildPrimaryRefProfilePath() 218 return ART_FORMAT("{}/misc/profiles/cur/{}/{}/{}.prof", in BuildPrimaryCurProfilePath() 229 return ART_FORMAT("{}/oat/{}.prof{}", in BuildSecondaryRefProfilePath() 239 return ART_FORMAT( in BuildSecondaryCurProfilePath() 252 LOG(FATAL) << ART_FORMAT("Unexpected writable profile path type {}", in BuildWritableProfilePath() 290 LOG(FATAL) << ART_FORMAT("Unexpected profile path type {}", in BuildProfileOrDmPath() 315 LOG(FATAL) << ART_FORMAT("Unexpected profile path type {}", in PreRebootFlag()
|
D | artd.cc | 157 LOG(ERROR) << ART_FORMAT("Failed to get the file size of '{}': {}", path, ec.message()); in GetSize() 168 LOG(ERROR) << ART_FORMAT("Failed to remove '{}': {}", path, ec.message()); in DeleteFile() 351 .errorMsg = ART_FORMAT("Failed to load profile '{}': {}", src->GetPath(), error_msg)}; in AnalyzeCopyAndRewriteProfileFailure() 419 LOG(WARNING) << ART_FORMAT( in ExtractEmbeddedProfileToFd() 428 ART_FORMAT("{} extracted in memory from {}", kEmbeddedProfileEntry, dex_path); in ExtractEmbeddedProfileToFd() 456 std::string path = ART_FORMAT("/proc/self/fd/{}", memfd.Fd()); in ExtractEmbeddedProfileToFd() 512 return Fatal(ART_FORMAT("Expected flag 'isPreReboot' in argument '{}' to be {}, got {}", \ 632 ART_FORMAT("Failed to open profile '{}': {}", profile_path, profile.error().message())); in isProfileUsable() 651 LOG(INFO) << ART_FORMAT("profman returned code {}", result.value()); in isProfileUsable() 655 return NonFatal(ART_FORMAT("profman returned an unexpected code: {}", result.value())); in isProfileUsable() [all …]
|
D | file_utils.cc | 54 LOG(WARNING) << ART_FORMAT("Failed to remove file '{}': {}", path, ec.message()); in UnlinkIfExists() 164 LOG(WARNING) << ART_FORMAT("Failed to move old file '{}' back from temporary path '{}': {}", in MoveAllOrAbandon() 251 return ART_FORMAT("{}.{}.tmp", final_path, id); in BuildTempPath()
|
D | path_utils.h | 114 LOG(FATAL) << ART_FORMAT("Unexpected writable profile path type {}", in PreRebootFlag()
|
D | artd_test.cc | 225 std::string proc_path = ART_FORMAT("/proc/self/fd/{}", arg); 393 class_loader_context_ = ART_FORMAT("PCL[{}:{}]", clc_1_, clc_2_); in SetUp() 2224 EXPECT_FALSE(std::filesystem::exists(path)) << ART_FORMAT("'{}' should be removed", path); in Verify() 2228 EXPECT_TRUE(std::filesystem::exists(path)) << ART_FORMAT("'{}' should be kept", path); in Verify() 2345 EXPECT_FALSE(std::filesystem::exists(path)) << ART_FORMAT("'{}' should be removed", path); in TEST_F() 2349 EXPECT_TRUE(std::filesystem::exists(path)) << ART_FORMAT("'{}' should be kept", path); in TEST_F() 2410 EXPECT_FALSE(std::filesystem::exists(path)) << ART_FORMAT("'{}' should be removed", path); in TEST_F() 2414 EXPECT_TRUE(std::filesystem::exists(path)) << ART_FORMAT("'{}' should be kept", path); in TEST_F() 2619 CreateFile(chroot_dir + "/system/build.prop", ART_FORMAT(kTemplate, 15)); in TEST_F() 2623 CreateFile(chroot_dir + "/system/build.prop", ART_FORMAT(kTemplate, 16)); in TEST_F() [all …]
|
/art/test/generate-boot-image/ |
D | generate-boot-image.cc | 161 std::string path = ART_FORMAT("{}/{}", options.output_dir, options.instruction_set); in GenerateBootImage() 194 Usage(ART_FORMAT("Unrecognized --use-profile value: '{}'", arg)); in Main() 209 Usage(ART_FORMAT("Unrecognized --core-only value: '{}'", arg)); in Main() 217 Usage(ART_FORMAT("Unrecognized argument: '{}'", argv[i])); in Main() 241 options.profile_file = ART_FORMAT("{}/etc/boot-image.prof", GetArtRoot()); in Main()
|
/art/odrefresh/ |
D | odrefresh.cc | 152 std::string output_file_path = ART_FORMAT("{}/{}", output_directory_path, file_basename); in MoveOrEraseFiles() 462 std::string features_prop = ART_FORMAT("dalvik.vm.isa.{}.features", isa_str); in AddDex2OatInstructionSet() 464 std::string variant_prop = ART_FORMAT("dalvik.vm.isa.{}.variant", isa_str); in AddDex2OatInstructionSet() 557 std::string image_path = ART_FORMAT("{}/{}", artifact_dir, basename); in AddCompiledBootClasspathFdsIfAny() 950 return ART_FORMAT("{}/framework/{}", GetAndroidRoot(), basename); in GetSystemBootImageFrameworkExtension() 964 return ART_FORMAT("{}/framework/{}", GetAndroidRoot(), basename); in GetBootImageMainlineExtension() 967 return ART_FORMAT("{}/{}", config_.GetArtifactDirectory(), basename); in GetBootImageMainlineExtension() 1018 return ART_FORMAT("{}/oat/{}/{}", Dirname(jar_path), isa_str, image_name); in GetSystemServerImagePath() 1162 LOG(WARNING) << ART_FORMAT( in CheckBuildUserfaultFdGc() 1209 LOG(INFO) << ART_FORMAT("APEX ({}) version code mismatch (before: {}, now: {})", in CheckModuleInfo() [all …]
|
D | odr_common.cc | 40 std::string QuotePath(std::string_view path) { return ART_FORMAT("'{}'", path); } in QuotePath()
|
D | odrefresh_test.cc | 444 Contains(Flag("--class-loader-context=", ART_FORMAT("PCL[{}]", location_provider_jar_))), in TEST_F() 453 ART_FORMAT("PCL[];PCL[{}:{}]", location_provider_jar_, services_jar_))), in TEST_F() 463 ART_FORMAT("PCL[];PCL[{}:{}]", location_provider_jar_, services_jar_))), in TEST_F() 482 Contains(Flag("--class-loader-context=", ART_FORMAT("PCL[{}]", location_provider_jar_))), in TEST_F() 490 ART_FORMAT("PCL[];PCL[{}:{}]", location_provider_jar_, services_jar_))), in TEST_F()
|
/art/runtime/oat/ |
D | oat_file_assistant.cc | 883 VLOG(oat) << ART_FORMAT("GetBestInfo checking odex next to the dex file ({})", in GetBestInfo() 886 VLOG(oat) << ART_FORMAT("GetBestInfo checking vdex next to the dex file ({})", in GetBestInfo() 891 VLOG(oat) << ART_FORMAT("GetBestInfo checking dm ({})", dm_for_odex_.DisplayFilename()); in GetBestInfo() 902 VLOG(oat) << ART_FORMAT("GetBestInfo checking odex in dalvik-cache ({})", oat_.DisplayFilename()); in GetBestInfo() 910 VLOG(oat) << ART_FORMAT("GetBestInfo checking odex next to the dex file ({})", in GetBestInfo() 917 VLOG(oat) << ART_FORMAT("GetBestInfo checking vdex in dalvik-cache ({})", in GetBestInfo() 922 VLOG(oat) << ART_FORMAT("GetBestInfo checking vdex next to the dex file ({})", in GetBestInfo() 927 VLOG(oat) << ART_FORMAT("GetBestInfo checking dm ({})", dm_for_oat_.DisplayFilename()); in GetBestInfo() 932 VLOG(oat) << ART_FORMAT("GetBestInfo checking dm ({})", dm_for_odex_.DisplayFilename()); in GetBestInfo() 1152 VLOG(oat) << ART_FORMAT("Should recompile: targetFilterIsBetter (current: {}, target: {})", in ShouldRecompileForFilter() [all …]
|
/art/libartbase/base/ |
D | macros.h | 37 #define ART_FORMAT(str, ...) ::fmt::format(FMT_STRING(str), __VA_ARGS__) macro
|
/art/tools/veridex/ |
D | precise_hidden_api_finder.cc | 101 std::string full_name = ART_FORMAT("{}->{}", cls, name); in Dump()
|
D | hidden_api_finder.cc | 220 std::string full_name = ART_FORMAT("{}->{}", cls, name); in Dump()
|
/art/runtime/gc/space/ |
D | image_space_test.cc | 79 ART_FORMAT("-Xbootclasspath:{}:{}", base_bcp_string, jar_name), in TEST_F() 81 ART_FORMAT("-Xbootclasspath-locations:{}:{}", base_bcp_locations_string, jar_name), in TEST_F() 87 CompileBootImage(extra_args, ART_FORMAT("{}/{}", image_dir, prefix), dex_files, &error_msg); in TEST_F()
|
/art/compiler/ |
D | cfi_test.h | 134 output->push_back(ART_FORMAT("{}: {}", address, new_line)); in ReformatCfi()
|
/art/libprofile/profile/ |
D | profile_test_helper.h | 181 std::string signature = ART_FORMAT("({}){}", arg_type, return_type);
|
/art/compiler/debug/ |
D | elf_debug_line_writer.h | 197 full_path = ART_FORMAT("{}/{}", package_name, file_name); in WriteCompilationUnit()
|
/art/runtime/ |
D | exec_utils.cc | 346 *error_msg = ART_FORMAT("Failed to get uptime: {}", strerror(errno)); in GetUptimeMs()
|