Home
last modified time | relevance | path

Searched refs:instruction_set (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/cmds/installd/
Dcommands.h54 int rm_dex(const char *path, const char *instruction_set);
64 const char *instruction_set,
76 int mark_boot_complete(const char *instruction_set);
79 int create_oat_dir(const char* oat_dir, const char *instruction_set);
86 int move_ab(const char *apk_path, const char *instruction_set, const char* oat_dir);
89 bool delete_odex(const char *apk_path, const char *instruction_set, const char *oat_dir);
Dinstalld_deps.h43 const char *instruction_set);
53 const char *instruction_set);
58 const char *instruction_set);
Dcommands.cpp610 int rm_dex(const char *path, const char *instruction_set) in rm_dex() argument
619 if (!create_cache_path(dex_path, path, instruction_set)) return -1; in rm_dex()
750 const char* output_file_name, const char *pkgname ATTRIBUTE_UNUSED, const char *instruction_set) in run_patchoat() argument
756 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) { in run_patchoat()
758 instruction_set, MAX_INSTRUCTION_SET_LEN); in run_patchoat()
769 sprintf(instruction_set_arg, "--instruction-set=%s", instruction_set); in run_patchoat()
773 PATCHOAT_BIN, instruction_set, input_fd, input_file_name, oat_fd, output_file_name); in run_patchoat()
790 const char* output_file_name, int swap_fd, const char *instruction_set, in run_dex2oat() argument
795 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) { in run_dex2oat()
797 instruction_set, MAX_INSTRUCTION_SET_LEN); in run_dex2oat()
[all …]
Dinstalld.cpp67 const char *instruction_set) { in calculate_oat_file_path() argument
89 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex", oat_dir, instruction_set, file_name); in calculate_oat_file_path()
101 const char *instruction_set) { in calculate_odex_file_path() argument
102 if (strlen(apk_path) + strlen("oat/") + strlen(instruction_set) in calculate_odex_file_path()
117 strcat(path, instruction_set); // path = /system/framework/oat/<isa>\0 in calculate_odex_file_path()
130 const char *instruction_set) { in create_cache_path() argument
146 strlen(instruction_set) + in create_cache_path()
157 instruction_set, in create_cache_path()
166 strlen(instruction_set) + 1; in create_cache_path()
Dotapreopt.cpp737 const char *instruction_set) { in calculate_oat_file_path() argument
762 instruction_set, in calculate_oat_file_path()
775 const char *instruction_set) { in calculate_odex_file_path() argument
793 instruction_set, in calculate_odex_file_path()
806 const char *instruction_set) { in create_cache_path() argument
824 instruction_set, in create_cache_path()
/frameworks/base/core/jni/
DAndroidRuntime.cpp810 constexpr const char* instruction_set = "arm"; in startVm() local
812 constexpr const char* instruction_set = "arm64"; in startVm() local
814 constexpr const char* instruction_set = "mips"; in startVm() local
816 constexpr const char* instruction_set = "mips64"; in startVm() local
818 constexpr const char* instruction_set = "x86"; in startVm() local
820 constexpr const char* instruction_set = "x86_64"; in startVm() local
822 constexpr const char* instruction_set = "unknown"; in startVm() local
829 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set); in startVm()
835 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set); in startVm()