Home
last modified time | relevance | path

Searched refs:dexopt_flags (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/cmds/installd/
Dotapreopt.cpp430 int dexopt_flags = parameters_.dexopt_flags; in IsAotCompilation() local
431 bool profile_guided = (dexopt_flags & DEXOPT_PROFILE_GUIDED) != 0; in IsAotCompilation()
432 bool is_secondary_dex = (dexopt_flags & DEXOPT_SECONDARY_DEX) != 0; in IsAotCompilation()
433 bool is_public = (dexopt_flags & DEXOPT_PUBLIC) != 0; in IsAotCompilation()
513 int dexopt_flags = parameters_.dexopt_flags; in Dexopt() local
515 dexopt_flags |= DEXOPT_BOOTCOMPLETE | DEXOPT_IDLE_BACKGROUND_JOB; in Dexopt()
525 dexopt_flags, in Dexopt()
560 if ((parameters_.dexopt_flags & DEXOPT_PROFILE_GUIDED) == 0) { in RunPreopt()
565 parameters_.dexopt_flags &= ~DEXOPT_PROFILE_GUIDED; in RunPreopt()
Dotapreopt_parameters.cpp140 dexopt_flags = DEXOPT_GENERATE_COMPACT_DEX; in SetDefaultsForPostV1Arguments()
205 dexopt_flags |= in ReadArgumentsV1()
316 dexopt_flags = atoi(param); in ReadArgumentsPostV1()
320 dexopt_flags |= (version < 8) ? DEXOPT_GENERATE_COMPACT_DEX : 0u; in ReadArgumentsPostV1()
Ddexopt.cpp1502 static bool validate_dexopt_storage_flags(int dexopt_flags, in validate_dexopt_storage_flags() argument
1505 if ((dexopt_flags & DEXOPT_STORAGE_CE) != 0) { in validate_dexopt_storage_flags()
1507 if ((dexopt_flags & DEXOPT_STORAGE_DE) != 0) { in validate_dexopt_storage_flags()
1511 } else if ((dexopt_flags & DEXOPT_STORAGE_DE) != 0) { in validate_dexopt_storage_flags()
1634 const char* pkgname, int dexopt_flags, const char* volume_uuid, int uid, in process_secondary_dex_dexopt() argument
1646 if (!validate_dexopt_storage_flags(dexopt_flags, &storage_flag, error_msg)) { in process_secondary_dex_dexopt()
1763 ((dexopt_flags & DEXOPT_FORCE) != 0)) { in process_secondary_dex_dexopt()
1770 *is_public_out = ((dexopt_flags & DEXOPT_PUBLIC) != 0) && is_file_public(dex_path); in process_secondary_dex_dexopt()
1788 int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter, in dexopt() argument
1796 CHECK_EQ(dexopt_flags & ~DEXOPT_MASK, 0) in dexopt()
[all …]
Dotapreopt_parameters.h41 int dexopt_flags; variable
Ddexopt.h125 int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter,
/frameworks/native/cmds/installd/tests/
Dinstalld_otapreopt_test.cpp65 const int dexopt_flags = atoi(args[i++]); in verifyPackageParameters() local
100 ASSERT_EQ(params.dexopt_flags, dexopt_flags); in verifyPackageParameters()
102 ASSERT_EQ(params.dexopt_flags, dexopt_flags | DEXOPT_GENERATE_COMPACT_DEX); in verifyPackageParameters()