/frameworks/native/cmds/installd/ |
D | dexopt.cpp | 1175 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 …]
|
D | dexopt.h | 117 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,
|
D | installd_deps.h | 41 const char *oat_dir,
|
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()
|
D | otapreopt_parameters.h | 40 const char* oat_dir; variable
|
D | otapreopt_parameters.cpp | 191 oat_dir = param; in ReadArgumentsV1() 312 oat_dir = param; in ReadArgumentsPostV1()
|
D | otapreopt.cpp | 484 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()
|
D | InstalldNativeService.cpp | 2402 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/ |
D | installd_dexopt_test.cpp | 73 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 …]
|
D | installd_otapreopt_test.cpp | 64 ASSERT_STREQ(params.oat_dir, args[i++]); in verifyPackageParameters()
|
D | installd_service_test.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()
|
D | installd_cache_test.cpp | 51 const char *oat_dir ATTRIBUTE_UNUSED, in calculate_oat_file_path()
|