Lines Matching refs:StringPrintf
63 using android::base::StringPrintf;
260 return StringPrintf(format.c_str(), prop.c_str()); in MapPropertyToArg()
343 bootclasspath = StringPrintf("-Xbootclasspath:%s", dex2oat_bootclasspath); in RunDex2Oat()
349 StringPrintf("dalvik.vm.isa.%s.features", instruction_set); in RunDex2Oat()
354 StringPrintf("dalvik.vm.isa.%s.variant", instruction_set); in RunDex2Oat()
406 boot_image = StringPrintf("-Ximage:%s", kApexImage); in RunDex2Oat()
413 std::string zip_fd_arg = StringPrintf("--zip-fd=%d", zip_fd); in RunDex2Oat()
414 std::string zip_location_arg = StringPrintf("--zip-location=%s", relative_input_file_name); in RunDex2Oat()
415 std::string input_vdex_fd_arg = StringPrintf("--input-vdex-fd=%d", input_vdex_fd); in RunDex2Oat()
416 std::string output_vdex_fd_arg = StringPrintf("--output-vdex-fd=%d", output_vdex_fd); in RunDex2Oat()
417 std::string oat_fd_arg = StringPrintf("--oat-fd=%d", oat_fd); in RunDex2Oat()
418 std::string oat_location_arg = StringPrintf("--oat-location=%s", output_file_name); in RunDex2Oat()
419 std::string instruction_set_arg = StringPrintf("--instruction-set=%s", instruction_set); in RunDex2Oat()
425 target_sdk_version_arg = StringPrintf("-Xtarget-sdk-version:%d", target_sdk_version); in RunDex2Oat()
430 class_loader_context_arg = StringPrintf("--class-loader-context=%s", in RunDex2Oat()
433 class_loader_context_fds_arg = StringPrintf("--class-loader-context-fds=%s", in RunDex2Oat()
439 dex2oat_swap_fd = StringPrintf("--swap-fd=%d", swap_fd); in RunDex2Oat()
442 dex2oat_image_fd = StringPrintf("--app-image-fd=%d", image_fd); in RunDex2Oat()
451 dex2oat_compiler_filter_arg = StringPrintf("--compiler-filter=%s", compiler_filter); in RunDex2Oat()
465 profile_arg = StringPrintf("--profile-file-fd=%d", profile_fd); in RunDex2Oat()
475 base_dir = StringPrintf("--classpath-dir=%s", apk_dir.c_str()); in RunDex2Oat()
790 AddArg(StringPrintf("--dump-output-to-fd=%d", output_fd.get())); in SetupDump()
912 std::string out_file_name = StringPrintf("/data/misc/profman/%s-%s.txt", in dump_profiles()
1662 *error_msg = StringPrintf("Dexoptanalyzer return the status of an oat file." in process_secondary_dexoptanalyzer_result()
1694 *error_msg = StringPrintf("Unexpected result from analyzing secondary dex %s result=%d", in process_secondary_dexoptanalyzer_result()
1839 *error_msg = StringPrintf( in open_dex_paths()
1962 *error_msg = StringPrintf("dexoptanalyzer failed for path %s: 0x%04x", in process_secondary_dex_dexopt()
2002 return StringPrintf("Dex2oat invocation for %s failed: %s", dex_path, code_name); in format_dexopt_error()
2005 return StringPrintf("Dex2oat invocation for %s failed with 0x%04x", dex_path, status); in format_dexopt_error()
2020 *error_msg = StringPrintf("Failed to validate %s", dex_path); in dexopt()
2025 *error_msg = StringPrintf("Class loader context exceeds the allowed size: %s", in dexopt()
2073 *error_msg = StringPrintf("installd cannot open '%s' for input during dexopt", dex_path); in dexopt()
2527 const std::string b_path = StringPrintf("%s.%s", a_path, slot_suffix.c_str()); in move_ab()
2528 const std::string b_vdex_path = StringPrintf("%s.%s", a_vdex_path.c_str(), slot_suffix.c_str()); in move_ab()
2529 const std::string b_image_path = StringPrintf("%s.%s", in move_ab()