Searched defs:instruction_set (Results 1 - 6 of 6) sorted by relevance

/frameworks/native/cmds/installd/tests/
H A Dinstalld_service_test.cpp47 const char *instruction_set ATTRIBUTE_UNUSED) {
53 const char *instruction_set ATTRIBUTE_UNUSED) {
59 const char *instruction_set) {
61 sprintf(path,"/data/dalvik-cache/%s/%s", instruction_set, src);
57 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument
/frameworks/native/cmds/installd/
H A Dinstalld.cpp57 const char *instruction_set) {
79 snprintf(path, PKG_PATH_MAX, "%s/%s/%s.odex", oat_dir, instruction_set, file_name);
84 * Computes the odex file for the given apk_path and instruction_set.
91 const char *instruction_set) {
92 if (strlen(apk_path) + strlen("oat/") + strlen(instruction_set)
107 strcat(path, instruction_set); // path = /system/framework/oat/<isa>\0
120 const char *instruction_set) {
136 strlen(instruction_set) +
147 instruction_set,
155 strlen(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
89 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument
118 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument
[all...]
H A Dotapreopt.cpp173 const char *instruction_set; member in struct:android::installd::OTAPreoptService::Parameters
393 package_parameters_.instruction_set = param;
474 package_parameters_.instruction_set = param;
553 if (package_parameters_.instruction_set == nullptr) {
557 const char* isa = package_parameters_.instruction_set;
819 package_parameters_.instruction_set,
1012 const char *instruction_set) {
1037 instruction_set,
1044 * Computes the odex file for the given apk_path and instruction_set.
1050 const char *instruction_set) {
1010 calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, const char *instruction_set) argument
1049 calculate_odex_file_path(char path[PKG_PATH_MAX], const char *apk_path, const char *instruction_set) argument
1079 create_cache_path(char path[PKG_PATH_MAX], const char *src, const char *instruction_set) argument
[all...]
H A DInstalldNativeService.cpp1095 const char* instruction_set = instructionSet.c_str(); local
1101 if (!create_cache_path(dex_path, path, instruction_set)) {
1815 const char* instruction_set = instructionSet.c_str(); local
1821 int res = android::installd::dexopt(apk_path, uid, pkgname, instruction_set, dexoptNeeded,
1830 const char* instruction_set = instructionSet.c_str(); local
1837 instruction_set);
2178 const char* instruction_set = instructionSet.c_str(); local
2190 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set);
2244 const char* instruction_set = instructionSet.c_str(); local
2247 bool success = move_ab(apk_path, instruction_set, oat_di
2257 const char* instruction_set = instructionSet.c_str(); local
[all...]
H A Ddexopt.cpp193 const char* instruction_set, const char* compiler_filter,
197 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) {
199 instruction_set, MAX_INSTRUCTION_SET_LEN);
224 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set);
230 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set);
301 sprintf(instruction_set_arg, "--instruction-set=%s", instruction_set);
929 static bool create_oat_out_path(const char* apk_path, const char* instruction_set, argument
946 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) {
950 if (!create_cache_path(out_oat_path, apk_path, instruction_set)) {
1156 const char* instruction_set, boo
191 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, int profile_fd, const char* shared_libraries) argument
1155 open_vdex_files(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
1248 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
1289 exec_dexoptanalyzer(const std::string& dex_file, const char* instruction_set, const char* compiler_filter, bool profile_was_updated) argument
1326 prepare_secondary_dex_oat_dir(const std::string& dex_path, int uid, const char* instruction_set, std::string* oat_dir_out) argument
1396 process_secondary_dex_dexopt(const char* original_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, std::string* dex_path_out) argument
1490 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* shared_libraries, const char* se_info) argument
1800 move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) argument
1870 delete_odex(const char* apk_path, const char* instruction_set, const char* oat_dir) argument
[all...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp829 constexpr const char* instruction_set = "arm"; local
831 constexpr const char* instruction_set = "arm64"; local
833 constexpr const char* instruction_set = "mips"; local
835 constexpr const char* instruction_set = "mips64"; local
837 constexpr const char* instruction_set = "x86"; local
839 constexpr const char* instruction_set = "x86_64"; local
841 constexpr const char* instruction_set = "unknown"; local
848 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set);
854 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set);

Completed in 969 milliseconds