Home
last modified time | relevance | path

Searched refs:resourcesApply (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dmock_standby_service_unit_test.cpp90 info.resourcesApply = { TIMER_INDEX };
105 info.resourcesApply = { EXEMPT_ALL_RESOURCES };
120 info.resourcesApply = { NETWORK_INDEX };
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/
H A Dmock_efficiency_resources_mgr_test.cpp98 info.resourcesApply = { TIMER_INDEX };
113 info.resourcesApply = { 0 };
128 info.resourcesApply = { CPU_INDEX };
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dpre_scan_info.h49 std::vector<int32_t> resourcesApply; member
77 resourcesApply.clear(); in Reset()
H A Dinner_bundle_info.h2182 void SetResourcesApply(const std::vector<int32_t> &resourcesApply);
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp788 const std::vector<int32_t>& resourcesApply = QueryRunningResourcesApply(uid, bundleName); in GetExemptedResourceType() local
791 if (resourcesApply.empty()) { in GetExemptedResourceType()
796 …if (std::find(resourcesApply.begin(), resourcesApply.end(), FREEZE_ALL_RESOURCES) != resourcesAppl… in GetExemptedResourceType()
801 for (const auto resourceType : resourcesApply) { in GetExemptedResourceType()
827 static_cast<int32_t>(applicationInfo.resourcesApply.size())); in QueryRunningResourcesApply()
828 return applicationInfo.resourcesApply; in QueryRunningResourcesApply()
/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp496 const std::vector<int32_t>& resourcesApply = QueryRunningResourcesApply(uid, bundleName); in GetExemptedResourceType() local
499 if (resourcesApply.empty()) { in GetExemptedResourceType()
503 …if (std::find(resourcesApply.begin(), resourcesApply.end(), EXEMPT_ALL_RESOURCES) != resourcesAppl… in GetExemptedResourceType()
508 for (const uint32_t resourceType : resourcesApply) { in GetExemptedResourceType()
531 static_cast<int32_t>(applicationInfo.resourcesApply.size())); in QueryRunningResourcesApply()
532 return applicationInfo.resourcesApply; in QueryRunningResourcesApply()
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/mock/
H A Dmock_bundle_manager_helper.cpp53 appInfo.resourcesApply = { 0 }; in GetApplicationInfo()
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/mock/
H A Dmock_helper.cpp58 appInfo.resourcesApply = { EXEMPT_ALL_RESOURCES }; in GetApplicationInfo()
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/
H A Dapplication_info.h120 std::vector<int32_t> resourcesApply; member
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dapplication_info.cpp556 CONTAINER_SECURITY_VERIFY(parcel, resourceApplySize, &resourcesApply); in ReadFromParcel()
558 resourcesApply.emplace_back(parcel.ReadInt32()); in ReadFromParcel()
745 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, resourcesApply.size()); in Marshalling()
746 for (auto &item : resourcesApply) { in Marshalling()
1006 {APPLICATION_RESOURCES_APPLY, applicationInfo.resourcesApply}, in to_json()
1193 applicationInfo.resourcesApply, JsonType::ARRAY, false, parseResult, ArrayType::NUMBER); in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/
H A Dapplication_info.h228 std::vector<int32_t> resourcesApply; member
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/
H A Dapplication_info.cpp235 {APPLICATION_RESOURCES_APPLY, applicationInfo.resourcesApply}, in to_json()
862 applicationInfo.resourcesApply, in from_json()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dpre_bundle_profile.cpp349 preBundleConfigInfo.resourcesApply, in TransformTo()
H A Dinner_bundle_info.cpp1981 baseApplicationInfo_->resourcesApply = applicationInfo.resourcesApply; in UpdatePrivilegeCapability()
4125 void InnerBundleInfo::SetResourcesApply(const std::vector<int32_t> &resourcesApply) in SetResourcesApply() argument
4127 baseApplicationInfo_->resourcesApply = resourcesApply; in SetResourcesApply()
H A Dbundle_mgr_service_event_handler.cpp2697 appInfo.resourcesApply = preBundleConfigInfo.resourcesApply; in UpdateTrustedPrivilegeCapability()
H A Dbundle_install_checker.cpp744 newInfo.SetResourcesApply(preBundleConfigInfo.resourcesApply); in GetPrivilegeCapability()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/
H A Dbms_bundle_data_storage_database_test.cpp402 "resourcesApply":[],
522 "resourcesApply":[],
1148 "resourcesApply":[],