/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/ |
H A D | bundle_priority_info.cpp | 102 void BundlePriorityInfo::SetPriority(int targetPriority) in SetPriority() argument 104 priority_ = targetPriority; in SetPriority() 109 int targetPriority = GetMinProcPriority(); in UpdatePriority() local 110 if (targetPriority >= RECLAIM_PRIORITY_MAX) { in UpdatePriority() 111 targetPriority = RECLAIM_PRIORITY_MAX; in UpdatePriority() 112 } else if (targetPriority <= RECLAIM_PRIORITY_MIN) { in UpdatePriority() 113 targetPriority = RECLAIM_PRIORITY_MIN; in UpdatePriority() 115 SetPriority(targetPriority); in UpdatePriority()
|
H A D | process_priority_info.cpp | 82 void ProcessPriorityInfo::SetPriority(int targetPriority) in SetPriority() argument 84 priority_ = targetPriority; in SetPriority()
|
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/ |
H A D | process_priority_info.h | 57 void SetPriority(int targetPriority);
|
H A D | bundle_priority_info.h | 54 void SetPriority(int targetPriority);
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/include/bundle_parser/ |
H A D | inner_bundle_info.h | 85 int32_t targetPriority; member 226 baseApplicationInfo_->targetPriority = priority; in SetTargetPriority()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_overlay_test/ |
H A D | bms_bundle_overlay_checker_test.cpp | 155 innerModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in AddInnerBundleInfo() 170 targetModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in AddInnerBundleInfo() 293 innerModuleInfo.targetPriority = INVALID_TARGET_PRIORITY_FIRST;
in HWTEST_F() 320 innerModuleInfo.targetPriority = INVALID_TARGET_PRIORITY_SECOND;
in HWTEST_F() 345 innerModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in HWTEST_F() 373 innerModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in HWTEST_F() 391 targetModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in HWTEST_F() 428 innerModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in HWTEST_F() 467 innerModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in HWTEST_F() 520 innerModuleInfo.targetPriority in HWTEST_F() [all...] |
H A D | bms_bundle_set_overlay_enabled_test.cpp | 98 innerModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in AddOverlayInnerBundleInfo()
|
H A D | bms_bundle_get_overlay_module_info_test.cpp | 106 innerModuleInfo.targetPriority = DEFAULT_TARGET_PRIORITY_SECOND;
in AddOverlayInnerBundleInfo()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
H A D | bundle_overlay_data_manager.cpp | 87 overlayModuleInfo.priority = (innerModuleInfos.begin()->second).targetPriority;
in UpdateInternalOverlayInfo() 114 overlayModuleInfo.priority = (innerModuleInfos.begin()->second).targetPriority;
in UpdateExternalOverlayInfo() 168 overlayModuleInfo.priority = moduleInfo.second.targetPriority;
in BuildInternalOverlayConnection() 439 overlayModuleInfo.priority = moduleInfo.second.targetPriority;
in GetAllOverlayModuleInfo() 499 overlayModuleInfo.priority = moduleInfo.targetPriority;
in GetOverlayModuleInfo()
|
H A D | bundle_overlay_install_checker.cpp | 91 if ((result = CheckTargetPriority(innerModuleInfos.at(moduleName).targetPriority)) != ERR_OK) {
in CheckInternalBundle() 144 priority = innerModuleInfos.at(moduleName).targetPriority;
in CheckExternalBundle()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | module_profile.cpp | 247 int32_t targetPriority = 0; member 274 int32_t targetPriority = 0; member 1124 app.targetPriority, in from_json() 1318 module.targetPriority, in from_json() 1502 applicationInfo.targetPriority = app.targetPriority; in ToApplicationInfo() 1701 innerModuleInfo.targetPriority = moduleJson.module.targetPriority; in ToInnerModuleInfo() 1793 innerBundleInfo.SetTargetPriority(moduleJson.app.targetPriority); in ToInnerBundleInfo()
|
H A D | application_info.cpp | 104 const std::string APPLICATION_APP_TARGET_PRIORITY = "targetPriority"; 228 {APPLICATION_APP_TARGET_PRIORITY, applicationInfo.targetPriority}, in to_json() 806 applicationInfo.targetPriority, in from_json()
|
H A D | inner_bundle_info.cpp | 99 const std::string MODULE_TARGET_PRIORITY = "targetPriority"; 236 {MODULE_TARGET_PRIORITY, info.targetPriority}, in to_json() 611 info.targetPriority, in from_json()
|
/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | application_info.h | 187 int32_t targetPriority; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | module_profile.cpp | 251 int32_t targetPriority = 0; member 278 int32_t targetPriority = 0; member 1165 app.targetPriority, in from_json() 1411 module.targetPriority, in from_json() 1951 applicationInfo.targetPriority = app.targetPriority; in ToApplicationInfo() 2283 innerModuleInfo.targetPriority = ServiceConstants::OVERLAY_MINIMUM_PRIORITY; in ToInnerModuleInfo() 2285 innerModuleInfo.targetPriority = moduleJson.module.targetPriority; in ToInnerModuleInfo() 2498 innerBundleInfo.SetTargetPriority(moduleJson.app.targetPriority); in ToInnerBundleInfo() [all...] |
H A D | bundle_install_checker.cpp | 911 int32_t targetPriority = (infos.begin()->second).GetTargetPriority(); in CheckAppLabelInfo() local 959 if (targetPriority != info.second.GetTargetPriority()) { in CheckAppLabelInfo() 960 LOG_E(BMS_TAG_INSTALLER, "targetPriority not same"); in CheckAppLabelInfo()
|
H A D | inner_bundle_info.cpp | 105 constexpr const char* MODULE_TARGET_PRIORITY = "targetPriority"; 423 {MODULE_TARGET_PRIORITY, info.targetPriority}, in to_json() 829 info.targetPriority, in from_json() 1764 baseApplicationInfo_->targetPriority = applicationInfo.targetPriority; in UpdateBaseApplicationInfo()
|
H A D | bundle_data_mgr.cpp | 7533 overlayModuleInfo.priority = moduleInfo.second.targetPriority; in BuildExternalOverlayConnection()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | application_info.h | 297 int32_t targetPriority = 0; member
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | application_info.cpp | 114 const char* APPLICATION_APP_TARGET_PRIORITY = "targetPriority"; 545 targetPriority = parcel.ReadInt32(); in ReadFromParcel() 737 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, targetPriority); in Marshalling() 990 {APPLICATION_APP_TARGET_PRIORITY, applicationInfo.targetPriority}, in to_json() 1171 applicationInfo.targetPriority, JsonType::NUMBER, false, parseResult, ArrayType::NOT_ARRAY); in from_json()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | inner_bundle_info.h | 85 int32_t targetPriority; member 1733 return baseApplicationInfo_->targetPriority; in GetTargetPriority() 1738 baseApplicationInfo_->targetPriority = priority; in SetTargetPriority()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 1147 "targetPriority": 0,
|