/frameworks/native/cmds/installd/ |
H A D | otapreopt_parameters.h | 38 const char* instruction_set; member in class:android::installd::OTAPreoptParameters
|
H A D | installd.cpp | 55 const char *instruction_set) { 56 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); 60 const char *instruction_set) { 61 return calculate_odex_file_path_default(path, apk_path, instruction_set); 64 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { argument 65 return create_cache_path_default(path, src, instruction_set); 54 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument 59 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument
|
H A D | otapreopt.cpp | 313 if (parameters_.instruction_set == nullptr) { 317 const char* isa = parameters_.instruction_set; 578 parameters_.instruction_set, 776 const char *instruction_set) { 801 instruction_set, 808 * Computes the odex file for the given apk_path and instruction_set. 814 const char *instruction_set) { 832 instruction_set, 845 const char *instruction_set) { 863 instruction_set, 774 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument 813 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument 843 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument [all...] |
H A D | InstalldNativeService.cpp | 1186 const char* instruction_set = instructionSet.c_str(); local 1192 if (!create_cache_path(dex_path, path, instruction_set)) { 1966 const char* instruction_set = instructionSet.c_str(); local 1976 int res = android::installd::dexopt(apk_path, uid, pkgname, instruction_set, dexoptNeeded, 1986 const char* instruction_set = instructionSet.c_str(); local 1993 instruction_set); 2321 const char* instruction_set = instructionSet.c_str(); local 2333 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); 2392 const char* instruction_set = instructionSet.c_str(); local 2395 bool success = move_ab(apk_path, instruction_set, oat_di 2407 const char* instruction_set = instructionSet.c_str(); local [all...] |
H A D | dexopt.cpp | 230 const char* instruction_set, const char* compiler_filter, 236 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) { 237 LOG(ERROR) << "Instruction set '" << instruction_set << "' longer than max length of " 263 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set); 269 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set); 360 sprintf(instruction_set_arg, "--instruction-set=%s", instruction_set); 1159 static bool create_oat_out_path(const char* apk_path, const char* instruction_set, argument 1171 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { 1175 if (!create_cache_path(out_oat_path, apk_path, instruction_set)) { 1406 const char* instruction_set, boo 228 run_dex2oat(int zip_fd, int oat_fd, int input_vdex_fd, int output_vdex_fd, int image_fd, const char* input_file_name, const char* output_file_name, int swap_fd, const char* instruction_set, const char* compiler_filter, bool debuggable, bool post_bootcomplete, bool background_job_compile, int profile_fd, const char* class_loader_context, int target_sdk_version, bool enable_hidden_api_checks, bool generate_compact_dex, int dex_metadata_fd, const char* compilation_reason) argument 1405 open_vdex_files_for_dex2oat(const char* apk_path, const char* out_oat_path, int dexopt_needed, const char* instruction_set, bool is_public, int uid, bool is_secondary_dex, bool profile_guided, Dex2oatFileWrapper* in_vdex_wrapper_fd, Dex2oatFileWrapper* out_vdex_wrapper_fd) argument 1498 open_oat_out_file(const char* apk_path, const char* oat_dir, bool is_public, int uid, const char* instruction_set, bool is_secondary_dex, char* out_oat_path) argument 1521 maybe_open_oat_and_vdex_file(const std::string& apk_path, const std::string& oat_dir, const std::string& instruction_set, bool is_secondary_dex, unique_fd* oat_file_fd, unique_fd* vdex_file_fd) argument 1572 exec_dexoptanalyzer(const std::string& dex_file, int vdex_fd, int oat_fd, int zip_fd, const std::string& instruction_set, const std::string& compiler_filter, bool profile_was_updated, bool downgrade, const char* class_loader_context) argument 1638 prepare_secondary_dex_oat_dir(const std::string& dex_path, int uid, const char* instruction_set) argument 1824 process_secondary_dex_dexopt(const std::string& dex_path, const char* pkgname, int dexopt_flags, const char* volume_uuid, int uid, const char* instruction_set, const char* compiler_filter, bool* is_public_out, int* dexopt_needed_out, std::string* oat_dir_out, bool downgrade, const char* class_loader_context, std::string* error_msg) argument 1951 dexopt(const char* dex_path, uid_t uid, const char* pkgname, const char* instruction_set, int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter, const char* volume_uuid, const char* class_loader_context, const char* se_info, bool downgrade, int target_sdk_version, const char* profile_name, const char* dex_metadata_path, const char* compilation_reason, std::string* error_msg) argument 2424 move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) argument 2494 delete_odex(const char* apk_path, const char* instruction_set, const char* oat_dir) argument 2537 is_valid_instruction_set(const std::string& instruction_set) argument 2547 calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument 2576 calculate_odex_file_path_default(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument 2595 create_cache_path_default(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument [all...] |
/frameworks/native/cmds/installd/tests/ |
H A D | installd_service_test.cpp | 47 const char *instruction_set) { 48 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); 52 const char *instruction_set) { 53 return calculate_odex_file_path_default(path, apk_path, instruction_set); 56 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { argument 57 return create_cache_path_default(path, src, instruction_set); 46 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument 51 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument
|
H A D | installd_dexopt_test.cpp | 70 const char *instruction_set) { 71 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); 75 const char *instruction_set) { 76 return calculate_odex_file_path_default(path, apk_path, instruction_set); 79 bool create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) { argument 80 return create_cache_path_default(path, src, instruction_set); 69 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument 74 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument
|
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 878 constexpr const char* instruction_set = "arm"; local 880 constexpr const char* instruction_set = "arm64"; local 882 constexpr const char* instruction_set = "mips"; local 884 constexpr const char* instruction_set = "mips64"; local 886 constexpr const char* instruction_set = "x86"; local 888 constexpr const char* instruction_set = "x86_64"; local 890 constexpr const char* instruction_set = "unknown"; local 897 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set); 903 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set);
|