/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | mock_standby_service_unit_test.cpp | 90 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 D | mock_efficiency_resources_mgr_test.cpp | 98 info.resourcesApply = { TIMER_INDEX }; 113 info.resourcesApply = { 0 }; 128 info.resourcesApply = { CPU_INDEX };
|
/ohos5.0/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);
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 788 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 D | standby_service_impl.cpp | 496 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 D | mock_bundle_manager_helper.cpp | 53 appInfo.resourcesApply = { 0 }; in GetApplicationInfo()
|
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/mock/ |
H A D | mock_helper.cpp | 58 appInfo.resourcesApply = { EXEMPT_ALL_RESOURCES }; in GetApplicationInfo()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/common/include/ |
H A D | application_info.h | 120 std::vector<int32_t> resourcesApply; member
|
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/ |
H A D | application_info.cpp | 556 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 D | application_info.h | 228 std::vector<int32_t> resourcesApply; member
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/bundle_parser/ |
H A D | application_info.cpp | 235 {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 D | pre_bundle_profile.cpp | 349 preBundleConfigInfo.resourcesApply, in TransformTo()
|
H A D | inner_bundle_info.cpp | 1981 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 D | bundle_mgr_service_event_handler.cpp | 2697 appInfo.resourcesApply = preBundleConfigInfo.resourcesApply; in UpdateTrustedPrivilegeCapability()
|
H A D | bundle_install_checker.cpp | 744 newInfo.SetResourcesApply(preBundleConfigInfo.resourcesApply); in GetPrivilegeCapability()
|
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_data_storage_test/ |
H A D | bms_bundle_data_storage_database_test.cpp | 402 "resourcesApply":[], 522 "resourcesApply":[], 1148 "resourcesApply":[],
|