Home
last modified time | relevance | path

Searched refs:oat_dir (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/cmds/installd/
Ddexopt.cpp1090 static bool IsOutputDalvikCache(const char* oat_dir) { in IsOutputDalvikCache() argument
1095 return oat_dir == nullptr || oat_dir[0] == '!'; in IsOutputDalvikCache()
1112 const char* oat_dir, bool is_secondary_dex, /*out*/ char* out_oat_path) { in create_oat_out_path() argument
1117 if (!IsOutputDalvikCache(oat_dir)) { in create_oat_out_path()
1119 if (!is_secondary_dex && validate_apk_path(oat_dir)) { in create_oat_out_path()
1120 ALOGE("cannot validate apk path with oat_dir '%s'\n", oat_dir); in create_oat_out_path()
1123 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { in create_oat_out_path()
1448 Dex2oatFileWrapper open_oat_out_file(const char* apk_path, const char* oat_dir, in open_oat_out_file() argument
1451 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, is_secondary_dex, out_oat_path)) { in open_oat_out_file()
1472 const std::string& oat_dir, in maybe_open_oat_and_vdex_file() argument
[all …]
Ddexopt.h115 int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter,
120 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir,
Dinstalld.cpp54 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument
56 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
Dinstalld_deps.h41 const char *oat_dir,
Dotapreopt_parameters.cpp191 oat_dir = param; in ReadArgumentsV1()
312 oat_dir = param; in ReadArgumentsPostV1()
Dotapreopt_parameters.h40 const char* oat_dir; variable
Dotapreopt.cpp565 parameters_.oat_dir, in Dexopt()
704 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument
730 oat_dir, in calculate_oat_file_path()
DInstalldNativeService.cpp2113 const char* oat_dir = getCStr(outputPath); in dexopt() local
2123 oat_dir, dexFlags, compiler_filter, volume_uuid, class_loader_context, se_info, in dexopt()
2489 const char* oat_dir = oatDir.c_str(); in createOatDir() local
2493 if (validate_apk_path(oat_dir)) { in createOatDir()
2496 if (fs_prepare_dir(oat_dir, S_IRWXU | S_IRWXG | S_IXOTH, AID_SYSTEM, AID_INSTALL)) { in createOatDir()
2499 if (selinux_android_restorecon(oat_dir, 0)) { in createOatDir()
2502 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir()
2562 const char* oat_dir = outputPath.c_str(); in moveAb() local
2564 bool success = move_ab(apk_path, instruction_set, oat_dir); in moveAb()
2577 const char* oat_dir = outputPath ? outputPath->c_str() : nullptr; in deleteOdex() local
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp72 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument
74 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
421 const char* oat_dir, in CompilePrimaryDexOk() argument
429 oat_dir, in CompilePrimaryDexOk()
440 const char* oat_dir, in CompilePrimaryDexFail() argument
448 oat_dir, in CompilePrimaryDexFail()
459 const char* oat_dir, in CompilePrimaryDex() argument
468 oat_dir == nullptr ? nullptr : new std::string(oat_dir)); in CompilePrimaryDex()
512 std::string odex = GetPrimaryDexArtifact(oat_dir, apk_path_, "odex"); in CompilePrimaryDex()
513 std::string vdex = GetPrimaryDexArtifact(oat_dir, apk_path_, "vdex"); in CompilePrimaryDex()
[all …]
Dinstalld_otapreopt_test.cpp64 ASSERT_STREQ(params.oat_dir, args[i++]); in verifyPackageParameters()
Dinstalld_service_test.cpp54 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument
56 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
Dinstalld_cache_test.cpp51 const char *oat_dir ATTRIBUTE_UNUSED, in calculate_oat_file_path()