Searched refs:GetExemptedResourceType (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | mock_standby_service_unit_test.cpp | 78 …auto exemptedType = StandbyServiceImpl::GetInstance()->GetExemptedResourceType(MAX_ALLOW_TYPE_NUMB… 93 …auto exemptedType = StandbyServiceImpl::GetInstance()->GetExemptedResourceType(AllowType::NETWORK); 108 …auto exemptedType = StandbyServiceImpl::GetInstance()->GetExemptedResourceType(MAX_ALLOW_TYPE_NUMB… 123 …auto exemptedType = StandbyServiceImpl::GetInstance()->GetExemptedResourceType(MAX_ALLOW_TYPE_NUMB…
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/test/unittest/ |
H A D | mock_efficiency_resources_mgr_test.cpp | 86 …auto exemptedType = bgEfficiencyResourcesMgr_->GetExemptedResourceType(MAX_RESOURCES_MASK, -1, ""); 101 … auto exemptedType = bgEfficiencyResourcesMgr_->GetExemptedResourceType(ResourceType::CPU, -1, ""); 116 …auto exemptedType = bgEfficiencyResourcesMgr_->GetExemptedResourceType(MAX_RESOURCES_MASK, -1, ""); 131 …auto exemptedType = bgEfficiencyResourcesMgr_->GetExemptedResourceType(MAX_RESOURCES_MASK, -1, "");
|
H A D | bg_efficiency_resources_mgr_test.cpp | 610 auto ret = bgEfficiencyResourcesMgr_->GetExemptedResourceType(resourceNumber, 0, "bundleName");
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/include/ |
H A D | bg_efficiency_resources_mgr.h | 94 …uint32_t GetExemptedResourceType(uint32_t resourceNumber, const int32_t uid, const std::string &bu…
|
/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/ |
H A D | bg_efficiency_resources_mgr.cpp | 334 …auto exemptedResourceType = GetExemptedResourceType(resourceInfo->GetResourceNumber(), uid, bundle… in ApplyEfficiencyResources() 535 auto exemptedResourceType = GetExemptedResourceType(MAX_RESOURCE_MASK, uid, bundleName); in ResetAllEfficiencyResources() 785 uint32_t BgEfficiencyResourcesMgr::GetExemptedResourceType(uint32_t resourceNumber, const int32_t u… in GetExemptedResourceType() function in OHOS::BackgroundTaskMgr::BgEfficiencyResourcesMgr
|
/ohos5.0/foundation/resourceschedule/device_standby/services/core/include/ |
H A D | standby_service_impl.h | 158 uint32_t GetExemptedResourceType(uint32_t resourceType);
|
/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/ |
H A D | standby_service_impl.cpp | 492 uint32_t StandbyServiceImpl::GetExemptedResourceType(uint32_t resourceType) in GetExemptedResourceType() function in OHOS::DevStandbyMgr::StandbyServiceImpl 573 resourceRequest->SetAllowType(GetExemptedResourceType(resourceRequest->GetAllowType())); in ApplyAllowResource() 686 resourceRequest->SetAllowType(GetExemptedResourceType(resourceRequest->GetAllowType())); in UnapplyAllowResource()
|