Lines Matching refs:instruction_set

610 int rm_dex(const char *path, const char *instruction_set)
619 if (!create_cache_path(dex_path, path, instruction_set)) return -1;
750 const char* output_file_name, const char *pkgname ATTRIBUTE_UNUSED, const char *instruction_set)
756 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) {
758 instruction_set, MAX_INSTRUCTION_SET_LEN);
769 sprintf(instruction_set_arg, "--instruction-set=%s", instruction_set);
773 PATCHOAT_BIN, instruction_set, input_fd, input_file_name, oat_fd, output_file_name);
790 const char* output_file_name, int swap_fd, const char *instruction_set,
795 if (strlen(instruction_set) >= MAX_INSTRUCTION_SET_LEN) {
797 instruction_set, MAX_INSTRUCTION_SET_LEN);
819 sprintf(dex2oat_isa_features_key, "dalvik.vm.isa.%s.features", instruction_set);
825 sprintf(dex2oat_isa_variant_key, "dalvik.vm.isa.%s.variant", instruction_set);
890 sprintf(instruction_set_arg, "--instruction-set=%s", instruction_set);
1487 static bool create_oat_out_path(const char* apk_path, const char* instruction_set,
1503 if (!calculate_oat_file_path(out_path, oat_dir, apk_path, instruction_set)) {
1507 if (!create_cache_path(out_path, apk_path, instruction_set)) {
1531 params[3], // instruction_set
1619 int dexopt(const char* apk_path, uid_t uid, const char* pkgname, const char* instruction_set,
1653 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, out_path)) {
1665 if (!calculate_odex_file_path(in_odex_path, apk_path, instruction_set)) {
1783 instruction_set);
1793 instruction_set,
1828 int mark_boot_complete(const char* instruction_set)
1835 instruction_set);
2077 int create_oat_dir(const char* oat_dir, const char* instruction_set)
2092 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set);
2192 int move_ab(const char* apk_path, const char* instruction_set, const char* oat_dir) {
2193 if (apk_path == nullptr || instruction_set == nullptr || oat_dir == nullptr) {
2224 if (!calculate_oat_file_path(a_path, oat_dir, apk_path, instruction_set)) {
2263 bool delete_odex(const char *apk_path, const char *instruction_set, const char *oat_dir) {
2266 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, out_path)) {