Searched refs:downgrade (Results 1 - 14 of 14) sorted by relevance

/frameworks/native/cmds/installd/
H A Dotapreopt_parameters.h46 bool downgrade; member in class:android::installd::OTAPreoptParameters
H A Dotapreopt_parameters.cpp120 // Set downgrade to false. It is only relevant when downgrading compiler
122 downgrade = false;
336 downgrade = ParseBool(param);
H A Ddexopt.h108 bool downgrade, int target_sdk_version, const char* profile_name,
H A Ddexopt.cpp1574 bool profile_was_updated, bool downgrade,
1596 const char* downgrade_flag = "--downgrade";
1607 (downgrade ? 1 : 0) +
1625 if (downgrade) {
1827 std::string* oat_dir_out, bool downgrade, const char* class_loader_context,
1896 downgrade,
1954 bool downgrade, int target_sdk_version, const char* profile_name,
1989 downgrade, class_loader_context, error_msg)) {
1572 exec_dexoptanalyzer(const std::string& dex_file, int vdex_fd, int oat_fd, int zip_fd, const std::string& instruction_set, const std::string& compiler_filter, bool profile_was_updated, bool downgrade, const char* class_loader_context) argument
1824 process_secondary_dex_dexopt(const std::string& dex_path, const char* pkgname, int dexopt_flags, const char* volume_uuid, int uid, const char* instruction_set, const char* compiler_filter, bool* is_public_out, int* dexopt_needed_out, std::string* oat_dir_out, bool downgrade, const char* class_loader_context, std::string* error_msg) argument
1951 dexopt(const char* dex_path, uid_t uid, const char* pkgname, const char* instruction_set, int dexopt_needed, const char* oat_dir, int dexopt_flags, const char* compiler_filter, const char* volume_uuid, const char* class_loader_context, const char* se_info, bool downgrade, int target_sdk_version, const char* profile_name, const char* dex_metadata_path, const char* compilation_reason, std::string* error_msg) argument
H A DInstalldNativeService.h87 const std::unique_ptr<std::string>& seInfo, bool downgrade,
H A Dotapreopt.cpp586 parameters_.downgrade,
620 // If this was a profile-guided run, we may have profile version issues. Try to downgrade,
H A DInstalldNativeService.cpp1950 const std::unique_ptr<std::string>& seInfo, bool downgrade, int32_t targetSdkVersion,
1978 downgrade, targetSdkVersion, profile_name, dm_path, compilation_reason, &error_msg);
1945 dexopt(const std::string& apkPath, int32_t uid, const std::unique_ptr<std::string>& packageName, const std::string& instructionSet, int32_t dexoptNeeded, const std::unique_ptr<std::string>& outputPath, int32_t dexFlags, const std::string& compilerFilter, const std::unique_ptr<std::string>& uuid, const std::unique_ptr<std::string>& classLoaderContext, const std::unique_ptr<std::string>& seInfo, bool downgrade, int32_t targetSdkVersion, const std::unique_ptr<std::string>& profileName, const std::unique_ptr<std::string>& dexMetadataPath, const std::unique_ptr<std::string>& compilationReason) argument
/frameworks/base/services/core/java/com/android/server/pm/
H A DBackgroundDexOptService.java297 // Only downgrade apps when space is low on device.
317 boolean downgrade;
329 downgrade = true;
333 downgrade = false;
351 (downgrade ? DexoptOptions.DEXOPT_DOWNGRADE : 0) |
H A DPackageDexOptimizer.java264 int dexoptFlags, int uid, CompilerStats.PackageStats packageStats, boolean downgrade,
267 profileUpdated, downgrade);
287 // installd only uses downgrade flag for secondary dex files and ignores it for
291 false /* downgrade*/, pkg.applicationInfo.targetSdkVersion,
580 String classLoaderContext, boolean newProfile, boolean downgrade) {
584 newProfile, downgrade);
262 dexOptPath(PackageParser.Package pkg, String path, String isa, String compilerFilter, boolean profileUpdated, String classLoaderContext, int dexoptFlags, int uid, CompilerStats.PackageStats packageStats, boolean downgrade, String profileName, String dexMetadataPath, int compilationReason) argument
579 getDexoptNeeded(String path, String isa, String compilerFilter, String classLoaderContext, boolean newProfile, boolean downgrade) argument
H A DOtaDexoptService.java263 @Nullable String sharedLibraries, @Nullable String seInfo, boolean downgrade,
285 encodeParameter(builder, downgrade);
H A DInstaller.java295 @Nullable String seInfo, boolean downgrade, int targetSdkVersion,
302 dexFlags, compilerFilter, volumeUuid, sharedLibraries, seInfo, downgrade,
292 dexopt(String apkPath, int uid, @Nullable String pkgName, String instructionSet, int dexoptNeeded, @Nullable String outputPath, int dexFlags, String compilerFilter, @Nullable String volumeUuid, @Nullable String sharedLibraries, @Nullable String seInfo, boolean downgrade, int targetSdkVersion, @Nullable String profileName, @Nullable String dexMetadataPath, @Nullable String compilationReason) argument
/frameworks/native/cmds/installd/tests/
H A Dinstalld_dexopt_test.cpp263 bool downgrade = false; local
280 downgrade,
343 bool downgrade = false) {
350 downgrade,
362 bool downgrade = false) {
369 downgrade,
380 bool downgrade,
415 downgrade,
374 CompilePrimaryDex(std::string compiler_filter, int32_t dex_flags, const char* oat_dir, int32_t uid, int32_t dexopt_needed, const char* dm_path, bool downgrade, bool should_binder_call_succeed, binder::Status* binder_result) argument
H A Dinstalld_otapreopt_test.cpp75 ASSERT_EQ(params.downgrade, ParseBool(args[i++]));
77 ASSERT_FALSE(params.downgrade);
144 args.push_back("true"); // downgrade
/frameworks/native/cmds/installd/binder/android/os/
H A DIInstalld.aidl54 @nullable @utf8InCpp String seInfo, boolean downgrade, int targetSdkVersion,

Completed in 375 milliseconds