/frameworks/native/cmds/installd/ |
H A D | installd_deps.h | 43 const char *instruction_set); 46 // Computes the odex file for the given apk_path and instruction_set, e.g., 53 const char *instruction_set); 58 const char *instruction_set);
|
H A D | commands.h | 52 int rm_dex(const char *path, const char *instruction_set); 59 int dexopt(const char *apk_path, uid_t uid, const char *pkgName, const char *instruction_set, 62 int mark_boot_complete(const char *instruction_set); 65 int create_oat_dir(const char* oat_dir, const char *instruction_set); 72 int move_ab(const char *apk_path, const char *instruction_set, const char* oat_dir);
|
H A D | commands.cpp | 507 int rm_dex(const char *path, const char *instruction_set) argument 516 if (!create_cache_path(dex_path, path, instruction_set)) return -1; 652 const char* output_file_name, const char *pkgname ATTRIBUTE_UNUSED, const char *instruction_set) 658 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) { 660 instruction_set, MAX_INSTRUCTION_SET_LEN); 671 sprintf(instruction_set_arg, "--instruction-set=%s", instruction_set); 675 PATCHOAT_BIN, instruction_set, input_fd, input_file_name, oat_fd, output_file_name); 692 const char* output_file_name, int swap_fd, const char *instruction_set, 697 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) { 699 instruction_set, MAX_INSTRUCTION_SET_LE 651 run_patchoat(int input_fd, int oat_fd, const char* input_file_name, const char* output_file_name, const char *pkgname ATTRIBUTE_UNUSED, const char *instruction_set) argument 691 run_dex2oat(int zip_fd, int oat_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 vm_safe_mode, bool debuggable, bool post_bootcomplete, int profile_fd, const char* shared_libraries) argument 1359 create_oat_out_path(const char* apk_path, const char* instruction_set, const char* oat_dir, char* out_path) argument 1391 dexopt(const char* apk_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 ATTRIBUTE_UNUSED, const char* shared_libraries) argument 1596 mark_boot_complete(const char* instruction_set) argument 1845 create_oat_dir(const char* oat_dir, const char* instruction_set) argument 1929 move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) argument [all...] |
H A D | installd.cpp | 67 const char *instruction_set) { 89 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex", oat_dir, instruction_set, file_name); 94 * Computes the odex file for the given apk_path and instruction_set. 101 const char *instruction_set) { 102 if (strlen(apk_path) + strlen("oat/") + strlen(instruction_set) 117 strcat(path, instruction_set); // path = /system/framework/oat/<isa>\0 130 const char *instruction_set) { 146 strlen(instruction_set) + 157 instruction_set, 166 strlen(instruction_set) 64 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument 99 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument 128 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument [all...] |
H A D | otapreopt.cpp | 363 package_parameters_[3], // instruction_set 507 const char *instruction_set) { 529 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex.b", oat_dir, instruction_set, 535 * Computes the odex file for the given apk_path and instruction_set. 541 const char *instruction_set) { 542 if (StringPrintf("%soat/%s/odex.b", apk_path, instruction_set).length() + 1 > PKG_PATH_MAX) { 564 instruction_set, 573 const char *instruction_set) { 591 instruction_set, 505 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument 540 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument 571 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument
|
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 809 constexpr const char* instruction_set = "arm"; local 811 constexpr const char* instruction_set = "arm64"; local 813 constexpr const char* instruction_set = "mips"; local 815 constexpr const char* instruction_set = "mips64"; local 817 constexpr const char* instruction_set = "x86"; local 819 constexpr const char* instruction_set = "x86_64"; local 821 constexpr const char* instruction_set = "unknown"; local 828 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set); 834 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set);
|