Home
last modified time | relevance | path

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

12

/art/dex2oat/
Ddex2oat_image_test.cc464 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/
Dtools.cc152 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()
Dtesting.h45 return ART_FORMAT("{}/bin/{}", GetArtRoot(), name); in GetArtBin()
50 return ART_FORMAT("{}/bin/{}", GetAndroidRoot(), name); in GetBin()
Dart_exec.cc178 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()
Dart_exec_test.cc160 ART_FORMAT("--keep-fds={}:{}", file3->Fd(), file2->Fd()), in TEST_F()
164 ART_FORMAT("(" in TEST_F()
/art/dexopt_chroot_setup/
Ddexopt_chroot_setup.cc129 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 …]
Ddexopt_chroot_setup_test.cc56 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/
Dpath_utils.cc157 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()
Dartd.cc157 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 …]
Dfile_utils.cc54 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()
Dpath_utils.h114 LOG(FATAL) << ART_FORMAT("Unexpected writable profile path type {}", in PreRebootFlag()
Dartd_test.cc225 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/
Dgenerate-boot-image.cc161 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/
Dodrefresh.cc152 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 …]
Dodr_common.cc40 std::string QuotePath(std::string_view path) { return ART_FORMAT("'{}'", path); } in QuotePath()
Dodrefresh_test.cc444 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/
Doat_file_assistant.cc883 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/
Dmacros.h37 #define ART_FORMAT(str, ...) ::fmt::format(FMT_STRING(str), __VA_ARGS__) macro
/art/tools/veridex/
Dprecise_hidden_api_finder.cc101 std::string full_name = ART_FORMAT("{}->{}", cls, name); in Dump()
Dhidden_api_finder.cc220 std::string full_name = ART_FORMAT("{}->{}", cls, name); in Dump()
/art/runtime/gc/space/
Dimage_space_test.cc79 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/
Dcfi_test.h134 output->push_back(ART_FORMAT("{}: {}", address, new_line)); in ReformatCfi()
/art/libprofile/profile/
Dprofile_test_helper.h181 std::string signature = ART_FORMAT("({}){}", arg_type, return_type);
/art/compiler/debug/
Delf_debug_line_writer.h197 full_path = ART_FORMAT("{}/{}", package_name, file_name); in WriteCompilationUnit()
/art/runtime/
Dexec_utils.cc346 *error_msg = ART_FORMAT("Failed to get uptime: {}", strerror(errno)); in GetUptimeMs()

12