/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | mock_standby_service_unit_test.cpp | 90 info.resourcesApply = { TIMER_INDEX }; in HWTEST_F() 105 info.resourcesApply = { EXEMPT_ALL_RESOURCES }; in HWTEST_F() 120 info.resourcesApply = { NETWORK_INDEX }; in HWTEST_F()
|
/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | mock_efficiency_resources_mgr_test.cpp | 98 info.resourcesApply = { TIMER_INDEX }; in HWTEST_F() 113 info.resourcesApply = { 0 }; in HWTEST_F() 128 info.resourcesApply = { CPU_INDEX }; in HWTEST_F()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | pre_scan_info.h | 49 std::vector<int32_t> resourcesApply; member 77 resourcesApply.clear(); in Reset()
|
H A D | inner_bundle_info.h | 2182 void SetResourcesApply(const std::vector<int32_t> &resourcesApply);
|
/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 772 const std::vector<int32_t>& resourcesApply = QueryRunningResourcesApply(uid, bundleName);
in GetExemptedResourceType() local 775 if (resourcesApply.empty()) {
in GetExemptedResourceType() 780 if (std::find(resourcesApply.begin(), resourcesApply.end(), FREEZE_ALL_RESOURCES) != resourcesApply.end()) {
in GetExemptedResourceType() 784 // traverse resourcesApply and get exempted resource type
in GetExemptedResourceType() 785 for (const auto resourceType : resourcesApply) {
in GetExemptedResourceType() 799 // meaning of number in resourcesApply list: 0 - all type of resources, 1 - cpu, 2 - COMMON_EVENT, 3 - TIMER,
810 BGTASK_LOGD("size of applicationInfo.resourcesApply is %{public}d",
in QueryRunningResourcesApply() 811 static_cast<int32_t>(applicationInfo.resourcesApply in QueryRunningResourcesApply() [all...] |
/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/ |
H A D | mock_bundle_manager_helper.cpp | 53 appInfo.resourcesApply = { 0 };
in GetApplicationInfo()
|
/foundation/resourceschedule/device_standby/services/test/unittest/mock/ |
H A D | mock_helper.cpp | 58 appInfo.resourcesApply = { EXEMPT_ALL_RESOURCES }; in GetApplicationInfo()
|
/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | application_info.h | 120 std::vector<int32_t> resourcesApply; member
|
/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service_impl.cpp | 485 const std::vector<int32_t>& resourcesApply = QueryRunningResourcesApply(uid, bundleName); in GetExemptedResourceType() local 488 if (resourcesApply.empty()) { in GetExemptedResourceType() 492 if (std::find(resourcesApply.begin(), resourcesApply.end(), EXEMPT_ALL_RESOURCES) != resourcesApply.end()) { in GetExemptedResourceType() 496 // traverse resourcesApply and get exempted resource type in GetExemptedResourceType() 497 for (const uint32_t resourceType : resourcesApply) { in GetExemptedResourceType() 509 // meaning of number in resourcesApply list: 100 - all type of resources, 101 - NETWORK, 519 STANDBYSERVICE_LOGD("size of applicationInfo.resourcesApply is %{public}d", in QueryRunningResourcesApply() 520 static_cast<int32_t>(applicationInfo.resourcesApply in QueryRunningResourcesApply() [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | application_info.cpp | 121 const char* APPLICATION_RESOURCES_APPLY = "resourcesApply"; 554 CONTAINER_SECURITY_VERIFY(parcel, resourceApplySize, &resourcesApply); in ReadFromParcel() 556 resourcesApply.emplace_back(parcel.ReadInt32()); in ReadFromParcel() 744 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, resourcesApply.size()); in Marshalling() 745 for (auto &item : resourcesApply) { in Marshalling() 997 {APPLICATION_RESOURCES_APPLY, applicationInfo.resourcesApply}, in to_json() 1185 applicationInfo.resourcesApply, JsonType::ARRAY, false, parseResult, ArrayType::NUMBER); in from_json()
|
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/ |
H A D | application_info.h | 234 std::vector<int32_t> resourcesApply; member
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | pre_bundle_profile.cpp | 50 constexpr const char* RESOURCES_APPLY = "resourcesApply"; 313 preBundleConfigInfo.resourcesApply, in TransformTo()
|
H A D | inner_bundle_info.cpp | 1858 baseApplicationInfo_->resourcesApply = applicationInfo.resourcesApply; in UpdatePrivilegeCapability() 4052 void InnerBundleInfo::SetResourcesApply(const std::vector<int32_t> &resourcesApply) in SetResourcesApply() argument 4054 baseApplicationInfo_->resourcesApply = resourcesApply; in SetResourcesApply()
|
H A D | bundle_install_checker.cpp | 739 newInfo.SetResourcesApply(preBundleConfigInfo.resourcesApply); in GetPrivilegeCapability()
|
H A D | bundle_mgr_service_event_handler.cpp | 3305 appInfo.resourcesApply = preBundleConfigInfo.resourcesApply; in UpdateTrustedPrivilegeCapability()
|
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | application_info.cpp | 111 const std::string APPLICATION_RESOURCES_APPLY = "resourcesApply"; 235 {APPLICATION_RESOURCES_APPLY, applicationInfo.resourcesApply}, in to_json() 862 applicationInfo.resourcesApply, in from_json()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 404 "resourcesApply":[], 524 "resourcesApply":[], 1149 "resourcesApply":[],
|