Home
last modified time | relevance | path

Searched refs:exemptedResourceType (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/resourceschedule/background_task_mgr/services/efficiency_resources/src/
H A Dbg_efficiency_resources_mgr.cpp334 …auto exemptedResourceType = GetExemptedResourceType(resourceInfo->GetResourceNumber(), uid, bundle… in ApplyEfficiencyResources() local
335 resourceInfo->SetResourceNumber(exemptedResourceType); in ApplyEfficiencyResources()
336 if (exemptedResourceType == 0) { in ApplyEfficiencyResources()
535 auto exemptedResourceType = GetExemptedResourceType(MAX_RESOURCE_MASK, uid, bundleName); in ResetAllEfficiencyResources() local
536 if (exemptedResourceType == 0) { in ResetAllEfficiencyResources()
541 handler_->PostTask([this, exemptedResourceType, uid, pid, bundleName]() { in ResetAllEfficiencyResources()
543 pid, exemptedResourceType, bundleName); in ResetAllEfficiencyResources()
/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp498 uint32_t exemptedResourceType = 0; in GetExemptedResourceType() local
500 return exemptedResourceType; in GetExemptedResourceType()
513 exemptedResourceType |= (1 << (resourceType - EXEMPT_ALL_RESOURCES - 1)); in GetExemptedResourceType()
515 exemptedResourceType &= resourceType; in GetExemptedResourceType()
517 return exemptedResourceType; in GetExemptedResourceType()