Lines Matching refs:instruction_set

891 static bool create_oat_out_path(const char* apk_path, const char* instruction_set,  in create_oat_out_path()  argument
903 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { in create_oat_out_path()
907 if (!create_cache_path(out_oat_path, apk_path, instruction_set)) { in create_oat_out_path()
1024 const char* instruction_set, bool is_public, int uid, bool is_secondary_dex, in open_vdex_files_for_dex2oat() argument
1046 if (calculate_odex_file_path(in_odex_path, apk_path, instruction_set)) { in open_vdex_files_for_dex2oat()
1119 bool is_public, int uid, const char* instruction_set, bool is_secondary_dex) { in open_oat_out_file() argument
1121 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, is_secondary_dex, out_oat_path)) { in open_oat_out_file()
1143 const std::string& instruction_set, in maybe_open_oat_and_vdex_file() argument
1149 instruction_set.c_str(), in maybe_open_oat_and_vdex_file()
1181 const std::string& instruction_set, in RunDexoptAnalyzer() argument
1197 std::string isa_arg = "--isa=" + instruction_set; in RunDexoptAnalyzer()
1262 const char* instruction_set) { in prepare_secondary_dex_oat_dir() argument
1280 if (prepare_app_cache_dir(oat_dir, instruction_set, oat_dir_mode, uid, uid) != 0) { in prepare_secondary_dex_oat_dir()
1536 int dexopt_flags, const char* volume_uuid, int uid, const char* instruction_set, in process_secondary_dex_dexopt() argument
1551 dex_path, instruction_set, oat_dir, oat_isa_dir, oat_path, error_msg)) { in process_secondary_dex_dexopt()
1588 if (!prepare_secondary_dex_oat_dir(dex_path, uid, instruction_set)) { in process_secondary_dex_dexopt()
1597 instruction_set, in process_secondary_dex_dexopt()
1615 instruction_set, in process_secondary_dex_dexopt()
1673 int dexopt(const char* dex_path, uid_t uid, const char* pkgname, const char* instruction_set, in dexopt() argument
1717 instruction_set, compiler_filter, &is_public, &dexopt_needed, &oat_dir_str, in dexopt()
1753 instruction_set, is_secondary_dex); in dexopt()
1763 instruction_set, is_public, uid, is_secondary_dex, profile_guided, &in_vdex, in dexopt()
1841 instruction_set, in dexopt()
2199 bool move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) { in move_ab() argument
2222 if (!calculate_oat_file_path(a_path, oat_dir, apk_path, instruction_set)) { in move_ab()
2265 int64_t delete_odex(const char* apk_path, const char* instruction_set, const char* oat_dir) { in delete_odex() argument
2268 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, in delete_odex()
2322 static bool is_valid_instruction_set(const std::string& instruction_set) { in is_valid_instruction_set() argument
2324 if (instruction_set.find('/') != std::string::npos) { in is_valid_instruction_set()
2325 LOG(ERROR) << "Invalid instruction set " << instruction_set; in is_valid_instruction_set()
2333 const char *apk_path, const char *instruction_set) { in calculate_oat_file_path_default() argument
2336 std::string instruction_set_ = instruction_set; in calculate_oat_file_path_default()
2349 std::string res_ = oat_dir_ + '/' + instruction_set + '/' in calculate_oat_file_path_default()
2362 const char *instruction_set) { in calculate_odex_file_path_default() argument
2364 std::string instruction_set_ = instruction_set; in calculate_odex_file_path_default()
2377 return calculate_oat_file_path_default(path, oat_dir.c_str(), apk_path, instruction_set); in calculate_odex_file_path_default()
2381 const char *instruction_set) { in create_cache_path_default() argument
2383 std::string instruction_set_ = instruction_set; in create_cache_path_default()