Lines Matching refs:error_msg

1729             int* dexopt_needed_out, std::string* error_msg) {  in process_secondary_dexoptanalyzer_result()  argument
1742 *error_msg = StringPrintf("Dexoptanalyzer return the status of an oat file." in process_secondary_dexoptanalyzer_result()
1758 *error_msg = "Dexoptanalyzer path validation failed"; in process_secondary_dexoptanalyzer_result()
1761 *error_msg = "Dexoptanalyzer open zip failed"; in process_secondary_dexoptanalyzer_result()
1764 *error_msg = "Dexoptanalyzer dir preparation failed"; in process_secondary_dexoptanalyzer_result()
1767 *error_msg = "Dexoptanalyzer open output failed"; in process_secondary_dexoptanalyzer_result()
1770 *error_msg = "Dexoptanalyzer failed to execute"; in process_secondary_dexoptanalyzer_result()
1774 *error_msg = StringPrintf("Unexpected result from analyzing secondary dex %s result=%d", in process_secondary_dexoptanalyzer_result()
1815 char* out_oat_dir, char* out_oat_isa_dir, char* out_oat_path, std::string* error_msg) { in create_secondary_dex_oat_layout() argument
1818 *error_msg = std::string("Unexpected dir structure for dex file ").append(dex_path); in create_secondary_dex_oat_layout()
1830 *error_msg = std::string("Could not create oat path for secondary dex ").append(dex_path); in create_secondary_dex_oat_layout()
1840 std::string* error_msg) { in validate_dexopt_storage_flags() argument
1844 *error_msg = "Ambiguous secondary dex storage flag. Both, CE and DE, flags are set"; in validate_dexopt_storage_flags()
1850 *error_msg = "Secondary dex storage flag must be set"; in validate_dexopt_storage_flags()
1915 /* out */ std::vector<unique_fd>* zip_fds, /* out */ std::string* error_msg) { in open_dex_paths() argument
1919 *error_msg = StringPrintf( in open_dex_paths()
1956 const std::vector<std::string>& context_dex_paths, /* out */ std::string* error_msg) { in process_secondary_dex_dexopt() argument
1959 if (!validate_dexopt_storage_flags(dexopt_flags, &storage_flag, error_msg)) { in process_secondary_dex_dexopt()
1960 LOG(ERROR) << *error_msg; in process_secondary_dex_dexopt()
1968 dex_path, instruction_set, oat_dir, oat_isa_dir, oat_path, error_msg)) { in process_secondary_dex_dexopt()
1969 LOG(ERROR) << "Could not create secondary odex layout: " << *error_msg; in process_secondary_dex_dexopt()
1998 int open_dex_paths_rc = open_dex_paths(context_dex_paths, &context_zip_fds, error_msg); in process_secondary_dex_dexopt()
2042 *error_msg = StringPrintf("dexoptanalyzer failed for path %s: 0x%04x", in process_secondary_dex_dexopt()
2045 LOG(ERROR) << *error_msg; in process_secondary_dex_dexopt()
2053 error_msg); in process_secondary_dex_dexopt()
2055 LOG(ERROR) << *error_msg; in process_secondary_dex_dexopt()
2092 const char* dex_metadata_path, const char* compilation_reason, std::string* error_msg) { in dexopt() argument
2095 CHECK(error_msg != nullptr); in dexopt()
2100 *error_msg = StringPrintf("Failed to validate %s", dex_path); in dexopt()
2105 *error_msg = StringPrintf("Class loader context exceeds the allowed size: %s", in dexopt()
2107 LOG(ERROR) << *error_msg; in dexopt()
2127 *error_msg = "Failed acquiring context dex paths"; in dexopt()
2133 downgrade, class_loader_context, context_dex_paths, error_msg)) { in dexopt()
2139 if (error_msg->empty()) { // TODO: Make this a CHECK. in dexopt()
2140 *error_msg = "Failed processing secondary."; in dexopt()
2154 *error_msg = StringPrintf("installd cannot open '%s' for input during dexopt", dex_path); in dexopt()
2155 LOG(ERROR) << *error_msg; in dexopt()
2161 if (open_dex_paths(context_dex_paths, &context_input_fds, error_msg) != 0) { in dexopt()
2162 LOG(ERROR) << *error_msg; in dexopt()
2171 *error_msg = "Could not open out oat file."; in dexopt()
2180 *error_msg = "Could not open vdex files."; in dexopt()
2192 *error_msg = std::string("Failed to restorecon ").append(oat_dir); in dexopt()
2193 LOG(ERROR) << *error_msg; in dexopt()
2267 *error_msg = format_dexopt_error(res, dex_path); in dexopt()
2375 std::string error_msg; in reconcile_secondary_dex_file() local
2377 dex_path,isas[i], oat_dir, oat_isa_dir, oat_path, &error_msg)) { in reconcile_secondary_dex_file()
2378 LOG(ERROR) << error_msg; in reconcile_secondary_dex_file()