Home
last modified time | relevance | path

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

/frameworks/native/cmds/installd/
Ddexopt.cpp1175 static bool IsOutputDalvikCache(const char* oat_dir) { in IsOutputDalvikCache() argument
1180 return oat_dir == nullptr || oat_dir[0] == '!'; in IsOutputDalvikCache()
1197 const char* oat_dir, bool is_secondary_dex, /*out*/ char* out_oat_path) { in create_oat_out_path() argument
1202 if (!IsOutputDalvikCache(oat_dir)) { in create_oat_out_path()
1204 if (!is_secondary_dex && validate_apk_path(oat_dir)) { in create_oat_out_path()
1205 ALOGE("cannot validate apk path with oat_dir '%s'\n", oat_dir); in create_oat_out_path()
1208 if (!calculate_oat_file_path(out_oat_path, oat_dir, apk_path, instruction_set)) { in create_oat_out_path()
1528 Dex2oatFileWrapper open_oat_out_file(const char* apk_path, const char* oat_dir, in open_oat_out_file() argument
1531 if (!create_oat_out_path(apk_path, instruction_set, oat_dir, is_secondary_dex, out_oat_path)) { in open_oat_out_file()
1552 const std::string& oat_dir, in maybe_open_oat_and_vdex_file() argument
[all …]
Ddexopt.h117 int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter,
122 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], 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.cpp484 parameters_.oat_dir, in Dexopt()
607 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument
633 oat_dir, in calculate_oat_file_path()
DInstalldNativeService.cpp2402 const char* oat_dir = getCStr(outputPath); in dexopt() local
2404 if (oat_dir != nullptr && !createOatDir(oat_dir, instruction_set).isOk()) { in dexopt()
2406 oat_dir = nullptr; in dexopt()
2420 oat_dir, dexFlags, compiler_filter, volume_uuid, class_loader_context, se_info, in dexopt()
2566 const char* oat_dir = oatDir.c_str(); in createOatDir() local
2570 if (validate_apk_path(oat_dir)) { in createOatDir()
2573 if (fs_prepare_dir(oat_dir, S_IRWXU | S_IRWXG | S_IXOTH, AID_SYSTEM, AID_INSTALL)) { in createOatDir()
2576 if (selinux_android_restorecon(oat_dir, 0)) { in createOatDir()
2579 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir()
2639 const char* oat_dir = outputPath.c_str(); in moveAb() local
[all …]
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp73 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument
75 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
439 const char* oat_dir, in CompilePrimaryDexOk() argument
447 oat_dir, in CompilePrimaryDexOk()
458 const char* oat_dir, in CompilePrimaryDexFail() argument
466 oat_dir, in CompilePrimaryDexFail()
477 const char* oat_dir, in CompilePrimaryDex() argument
486 oat_dir == nullptr ? nullptr : new std::string(oat_dir)); in CompilePrimaryDex()
530 std::string odex = GetPrimaryDexArtifact(oat_dir, apk_path_, "odex"); in CompilePrimaryDex()
531 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()