Lines Matching refs:instruction_set

230         const char* instruction_set, const char* compiler_filter,  in run_dex2oat()  argument
236 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) { in run_dex2oat()
237 LOG(ERROR) << "Instruction set '" << instruction_set << "' longer than max length of " in run_dex2oat()
263 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set); in run_dex2oat()
269 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set); in run_dex2oat()
360 sprintf(instruction_set_arg, "--instruction-set=%s", instruction_set); in run_dex2oat()
1159 static bool create_oat_out_path(const char* apk_path, const char* instruction_set, in create_oat_out_path() argument
1171 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { in create_oat_out_path()
1175 if (!create_cache_path(out_oat_path, apk_path, instruction_set)) { in create_oat_out_path()
1406 const char* instruction_set, bool is_public, int uid, bool is_secondary_dex, in open_vdex_files_for_dex2oat() argument
1429 if (calculate_odex_file_path(in_odex_path, apk_path, instruction_set)) { in open_vdex_files_for_dex2oat()
1499 bool is_public, int uid, const char* instruction_set, bool is_secondary_dex, in open_oat_out_file() argument
1501 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, is_secondary_dex, out_oat_path)) { in open_oat_out_file()
1523 const std::string& instruction_set, in maybe_open_oat_and_vdex_file() argument
1529 instruction_set.c_str(), in maybe_open_oat_and_vdex_file()
1573 int zip_fd, const std::string& instruction_set, const std::string& compiler_filter, in exec_dexoptanalyzer() argument
1583 if (instruction_set.size() >= MAX_INSTRUCTION_SET_LEN) { in exec_dexoptanalyzer()
1584 LOG(ERROR) << "Instruction set " << instruction_set in exec_dexoptanalyzer()
1593 std::string isa_arg = "--isa=" + instruction_set; in exec_dexoptanalyzer()
1639 const char* instruction_set) { in prepare_secondary_dex_oat_dir() argument
1657 if (prepare_app_cache_dir(oat_dir, instruction_set, oat_dir_mode, uid, uid) != 0) { in prepare_secondary_dex_oat_dir()
1825 int dexopt_flags, const char* volume_uuid, int uid, const char* instruction_set, in process_secondary_dex_dexopt() argument
1840 dex_path, instruction_set, oat_dir, oat_isa_dir, oat_path, error_msg)) { in process_secondary_dex_dexopt()
1869 if (!prepare_secondary_dex_oat_dir(dex_path, uid, instruction_set)) { in process_secondary_dex_dexopt()
1878 instruction_set, in process_secondary_dex_dexopt()
1894 instruction_set, in process_secondary_dex_dexopt()
1951 int dexopt(const char* dex_path, uid_t uid, const char* pkgname, const char* instruction_set, in dexopt() argument
1988 instruction_set, compiler_filter, &is_public, &dexopt_needed, &oat_dir_str, in dexopt()
2018 instruction_set, is_secondary_dex, out_oat_path); in dexopt()
2027 if (!open_vdex_files_for_dex2oat(dex_path, out_oat_path, dexopt_needed, instruction_set, in dexopt()
2087 instruction_set, in dexopt()
2424 bool move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) { in move_ab() argument
2451 if (!calculate_oat_file_path(a_path, oat_dir, apk_path, instruction_set)) { in move_ab()
2494 bool delete_odex(const char* apk_path, const char* instruction_set, const char* oat_dir) { in delete_odex() argument
2497 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, in delete_odex()
2537 static bool is_valid_instruction_set(const std::string& instruction_set) { in is_valid_instruction_set() argument
2539 if (instruction_set.find('/') != std::string::npos) { in is_valid_instruction_set()
2540 LOG(ERROR) << "Invalid instruction set " << instruction_set; in is_valid_instruction_set()
2548 const char *apk_path, const char *instruction_set) { in calculate_oat_file_path_default() argument
2551 std::string instruction_set_ = instruction_set; in calculate_oat_file_path_default()
2564 std::string res_ = oat_dir_ + '/' + instruction_set + '/' in calculate_oat_file_path_default()
2577 const char *instruction_set) { in calculate_odex_file_path_default() argument
2579 std::string instruction_set_ = instruction_set; in calculate_odex_file_path_default()
2592 return calculate_oat_file_path_default(path, oat_dir.c_str(), apk_path, instruction_set); in calculate_odex_file_path_default()
2596 const char *instruction_set) { in create_cache_path_default() argument
2598 std::string instruction_set_ = instruction_set; in create_cache_path_default()