Home
last modified time | relevance | path

Searched refs:EXEMPT_ALL_RESOURCES (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dmock_standby_service_unit_test.cpp40 static constexpr int32_t EXEMPT_ALL_RESOURCES = 100; variable
105 info.resourcesApply = { EXEMPT_ALL_RESOURCES };
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/mock/
H A Dmock_helper.cpp28 static constexpr int32_t EXEMPT_ALL_RESOURCES = 100; variable
58 appInfo.resourcesApply = { EXEMPT_ALL_RESOURCES }; in GetApplicationInfo()
/ohos5.0/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp58 const uint32_t EXEMPT_ALL_RESOURCES = 100; variable
503 …if (std::find(resourcesApply.begin(), resourcesApply.end(), EXEMPT_ALL_RESOURCES) != resourcesAppl… in GetExemptedResourceType()
509 …if (resourceType <= EXEMPT_ALL_RESOURCES || resourceType > EXEMPT_ALL_RESOURCES + MAX_ALLOW_TYPE_N… in GetExemptedResourceType()
513 exemptedResourceType |= (1 << (resourceType - EXEMPT_ALL_RESOURCES - 1)); in GetExemptedResourceType()