• Home
  • Raw
  • Download

Lines Matching refs:error_msg

1649             int* dexopt_needed_out, std::string* error_msg) {  in process_secondary_dexoptanalyzer_result()  argument
1662 *error_msg = StringPrintf("Dexoptanalyzer return the status of an oat file." in process_secondary_dexoptanalyzer_result()
1678 *error_msg = "Dexoptanalyzer path validation failed"; in process_secondary_dexoptanalyzer_result()
1681 *error_msg = "Dexoptanalyzer open zip failed"; in process_secondary_dexoptanalyzer_result()
1684 *error_msg = "Dexoptanalyzer dir preparation failed"; in process_secondary_dexoptanalyzer_result()
1687 *error_msg = "Dexoptanalyzer open output failed"; in process_secondary_dexoptanalyzer_result()
1690 *error_msg = "Dexoptanalyzer failed to execute"; in process_secondary_dexoptanalyzer_result()
1694 *error_msg = StringPrintf("Unexpected result from analyzing secondary dex %s result=%d", in process_secondary_dexoptanalyzer_result()
1735 char* out_oat_dir, char* out_oat_isa_dir, char* out_oat_path, std::string* error_msg) { in create_secondary_dex_oat_layout() argument
1738 *error_msg = std::string("Unexpected dir structure for dex file ").append(dex_path); in create_secondary_dex_oat_layout()
1750 *error_msg = std::string("Could not create oat path for secondary dex ").append(dex_path); in create_secondary_dex_oat_layout()
1760 std::string* error_msg) { in validate_dexopt_storage_flags() argument
1764 *error_msg = "Ambiguous secondary dex storage flag. Both, CE and DE, flags are set"; in validate_dexopt_storage_flags()
1770 *error_msg = "Secondary dex storage flag must be set"; in validate_dexopt_storage_flags()
1835 /* out */ std::vector<unique_fd>* zip_fds, /* out */ std::string* error_msg) { in open_dex_paths() argument
1839 *error_msg = StringPrintf( in open_dex_paths()
1876 const std::vector<std::string>& context_dex_paths, /* out */ std::string* error_msg) { in process_secondary_dex_dexopt() argument
1879 if (!validate_dexopt_storage_flags(dexopt_flags, &storage_flag, error_msg)) { in process_secondary_dex_dexopt()
1880 LOG(ERROR) << *error_msg; in process_secondary_dex_dexopt()
1888 dex_path, instruction_set, oat_dir, oat_isa_dir, oat_path, error_msg)) { in process_secondary_dex_dexopt()
1889 LOG(ERROR) << "Could not create secondary odex layout: " << *error_msg; in process_secondary_dex_dexopt()
1918 int open_dex_paths_rc = open_dex_paths(context_dex_paths, &context_zip_fds, error_msg); in process_secondary_dex_dexopt()
1962 *error_msg = StringPrintf("dexoptanalyzer failed for path %s: 0x%04x", in process_secondary_dex_dexopt()
1965 LOG(ERROR) << *error_msg; in process_secondary_dex_dexopt()
1973 error_msg); in process_secondary_dex_dexopt()
1975 LOG(ERROR) << *error_msg; in process_secondary_dex_dexopt()
2012 const char* dex_metadata_path, const char* compilation_reason, std::string* error_msg) { in dexopt() argument
2015 CHECK(error_msg != nullptr); in dexopt()
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()
2027 LOG(ERROR) << *error_msg; in dexopt()
2046 *error_msg = "Failed acquiring context dex paths"; in dexopt()
2052 downgrade, class_loader_context, context_dex_paths, error_msg)) { in dexopt()
2058 if (error_msg->empty()) { // TODO: Make this a CHECK. in dexopt()
2059 *error_msg = "Failed processing secondary."; in dexopt()
2073 *error_msg = StringPrintf("installd cannot open '%s' for input during dexopt", dex_path); in dexopt()
2074 LOG(ERROR) << *error_msg; in dexopt()
2080 if (open_dex_paths(context_dex_paths, &context_input_fds, error_msg) != 0) { in dexopt()
2081 LOG(ERROR) << *error_msg; in dexopt()
2090 *error_msg = "Could not open out oat file."; in dexopt()
2099 *error_msg = "Could not open vdex files."; in dexopt()
2111 *error_msg = std::string("Failed to restorecon ").append(oat_dir); in dexopt()
2112 LOG(ERROR) << *error_msg; in dexopt()
2179 *error_msg = format_dexopt_error(res, dex_path); in dexopt()
2287 std::string error_msg; in reconcile_secondary_dex_file() local
2289 dex_path,isas[i], oat_dir, oat_isa_dir, oat_path, &error_msg)) { in reconcile_secondary_dex_file()
2290 LOG(ERROR) << error_msg; in reconcile_secondary_dex_file()