/aosp12/frameworks/native/cmds/installd/ |
H A D | dexopt.cpp | 870 static bool IsOutputDalvikCache(const char* oat_dir) { in IsOutputDalvikCache() argument 875 return oat_dir == nullptr || oat_dir[0] == '!'; in IsOutputDalvikCache() 897 if (!IsOutputDalvikCache(oat_dir)) { in create_oat_out_path() 1150 oat_dir.c_str(), in maybe_open_oat_and_vdex_file() 1277 char oat_dir[PKG_PATH_MAX]; in prepare_secondary_dex_oat_dir() local 1548 char oat_dir[PKG_PATH_MAX]; in process_secondary_dex_dexopt() local 1555 oat_dir_out->assign(oat_dir); in process_secondary_dex_dexopt() 1719 oat_dir = oat_dir_str.c_str(); in dexopt() 1979 char oat_dir[PKG_PATH_MAX]; in reconcile_secondary_dex_file() local 2216 if (validate_apk_path(oat_dir) != 0) { in move_ab() [all …]
|
H A D | dexopt.h | 125 int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter, 130 bool calculate_oat_file_path_default(char path[PKG_PATH_MAX], const char *oat_dir,
|
H A D | installd.cpp | 54 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()
|
H A D | otapreopt_parameters.cpp | 191 oat_dir = param; in ReadArgumentsV1() 312 oat_dir = param; in ReadArgumentsPostV1()
|
H A D | installd_deps.h | 41 const char *oat_dir,
|
H A D | otapreopt_parameters.h | 40 const char* oat_dir; variable
|
H A D | otapreopt.cpp | 487 parameters_.oat_dir, in Dexopt() 616 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, in calculate_oat_file_path() argument 642 oat_dir, in calculate_oat_file_path()
|
H A D | InstalldNativeService.cpp | 2428 const char* oat_dir = getCStr(outputPath); in dexopt() local 2430 if (oat_dir != nullptr && !createOatDir(oat_dir, instruction_set).isOk()) { in dexopt() 2432 oat_dir = nullptr; in dexopt() 2592 const char* oat_dir = oatDir.c_str(); in createOatDir() local 2596 if (validate_apk_path(oat_dir)) { in createOatDir() 2602 if (selinux_android_restorecon(oat_dir, 0)) { in createOatDir() 2605 snprintf(oat_instr_dir, PKG_PATH_MAX, "%s/%s", oat_dir, instruction_set); in createOatDir() 2665 const char* oat_dir = outputPath.c_str(); in moveAb() local 2667 bool success = move_ab(apk_path, instruction_set, oat_dir); in moveAb() 2681 const char* oat_dir = outputPath ? outputPath->c_str() : nullptr; in deleteOdex() local [all …]
|
/aosp12/frameworks/native/cmds/installd/tests/ |
H A D | installd_dexopt_test.cpp | 436 const char* oat_dir, in CompilePrimaryDexOk() argument 444 oat_dir, in CompilePrimaryDexOk() 455 const char* oat_dir, in CompilePrimaryDexFail() argument 463 oat_dir, in CompilePrimaryDexFail() 474 const char* oat_dir, in CompilePrimaryDex() argument 481 …std::optional<std::string> out_path = oat_dir ? std::make_optional<std::string>(oat_dir) : std::nu… in CompilePrimaryDex() 522 oat_dir == nullptr ? "dex" : "odex"); in CompilePrimaryDex() 539 std::string GetPrimaryDexArtifact(const char* oat_dir, in GetPrimaryDexArtifact() argument 542 if (oat_dir == nullptr) { in GetPrimaryDexArtifact() 554 return std::string(oat_dir) + "/" + kRuntimeIsa + "/" + in GetPrimaryDexArtifact() [all …]
|
H A D | installd_otapreopt_test.cpp | 64 ASSERT_STREQ(params.oat_dir, args[i++]); in verifyPackageParameters()
|
H A D | installd_cache_test.cpp | 51 const char *oat_dir ATTRIBUTE_UNUSED, in calculate_oat_file_path()
|
H A D | installd_service_test.cpp | 85 bool calculate_oat_file_path(char path[PKG_PATH_MAX], const char *oat_dir, const char *apk_path, in calculate_oat_file_path() argument 87 return calculate_oat_file_path_default(path, oat_dir, apk_path, instruction_set); in calculate_oat_file_path()
|