Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp62 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument
64 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
461 const char* oat_dir, in CompilePrimaryDexOk() argument
469 oat_dir, in CompilePrimaryDexOk()
481 const char* oat_dir, in CompilePrimaryDexFail() argument
489 oat_dir, in CompilePrimaryDexFail()
501 const char* oat_dir, in CompilePrimaryDexCancelled() argument
509 oat_dir, in CompilePrimaryDexCancelled()
521 const char* oat_dir, in CompilePrimaryDex() argument
529 …std::optional<std::string> out_path = oat_dir ? std::make_optional<std::string>(oat_dir) : std::nu… in CompilePrimaryDex()
[all …]
Dinstalld_otapreopt_test.cpp64 ASSERT_STREQ(params.oat_dir, args[i++]); in verifyPackageParameters()
Dinstalld_cache_test.cpp52 const char *oat_dir ATTRIBUTE_UNUSED, in calculate_oat_file_path()
Dinstalld_service_test.cpp105 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument
107 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
/frameworks/native/cmds/installd/
Ddexopt.cpp977 static bool IsOutputDalvikCache(const char* oat_dir) { in IsOutputDalvikCache() argument
982 return oat_dir == nullptr || oat_dir[0] == '!'; in IsOutputDalvikCache()
999 const char* oat_dir, bool is_secondary_dex, /*out*/ char* out_oat_path) { in create_oat_out_path() argument
1004 if (!IsOutputDalvikCache(oat_dir)) { in create_oat_out_path()
1006 if (!is_secondary_dex && validate_apk_path(oat_dir)) { in create_oat_out_path()
1007 ALOGE("cannot validate apk path with oat_dir '%s'\n", oat_dir); in create_oat_out_path()
1010 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { in create_oat_out_path()
1202 RestorableFile open_oat_out_file(const char* apk_path, const char* oat_dir, bool is_public, int uid, in open_oat_out_file() argument
1205 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, is_secondary_dex, out_oat_path)) { in open_oat_out_file()
1223 const std::string& oat_dir, in maybe_open_oat_and_vdex_file() argument
[all …]
Ddexopt.h125 int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter,
135 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir,
158 int get_odex_visibility(const char* apk_path, const char* instruction_set, const char* oat_dir);
Dinstalld_deps.h41 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()
Dotapreopt_parameters.h40 const char* oat_dir; variable
Dotapreopt_parameters.cpp191 oat_dir = param; in ReadArgumentsV1()
312 oat_dir = param; in ReadArgumentsPostV1()
Dotapreopt.cpp524 parameters_.oat_dir, in Dexopt()
603 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument
629 oat_dir, in calculate_oat_file_path()
DInstalldNativeService.cpp3286 const char* oat_dir = getCStr(outputPath); in dexopt() local
3288 if (oat_dir != nullptr && !createOatDir(packageName, oat_dir, instruction_set).isOk()) { in dexopt()
3290 oat_dir = nullptr; in dexopt()
3305 oat_dir, dexFlags, compiler_filter, volume_uuid, class_loader_context, se_info, in dexopt()
3504 const char* oat_dir = oatDir.c_str(); in createOatDir() local
3508 if (validate_apk_path(oat_dir)) { in createOatDir()
3511 if (fs_prepare_dir(oat_dir, S_IRWXU | S_IRWXG | S_IXOTH, AID_SYSTEM, AID_INSTALL)) { in createOatDir()
3514 if (selinux_android_restorecon(oat_dir, 0)) { in createOatDir()
3517 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir()
3584 const char* oat_dir = outputPath.c_str(); in moveAb() local
[all …]
/frameworks/native/cmds/installd/tests/fuzzers/
DInstalldServiceFuzzer.cpp28 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char* oat_dir, const char* apk_path, in calculate_oat_file_path() argument
30 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()