Home
last modified time | relevance | path

Searched refs:GetAllowType (Results 1 - 4 of 4) sorted by relevance

/foundation/resourceschedule/device_standby/interfaces/innerkits/include/
H A Dallow_info.h52 inline uint32_t GetAllowType() const in GetAllowType() function in OHOS::DevStandbyMgr::AllowInfo
H A Dresourcce_request.h59 inline uint32_t GetAllowType() const in GetAllowType() function in OHOS::ResourceRequest
/foundation/resourceschedule/device_standby/services/core/src/
H A Dstandby_service_impl.cpp562 resourceRequest->SetAllowType(GetExemptedResourceType(resourceRequest->GetAllowType())); in ApplyAllowResource()
565 if (!CheckAllowTypeInfo(resourceRequest->GetAllowType()) || resourceRequest->GetUid() < 0) { in ApplyAllowResource()
582 resourceRequest->GetName().c_str(), resourceRequest->GetAllowType(), in ApplyAllowResInner()
622 uint32_t allowType = resourceRequest->GetAllowType(); in UpdateRecord()
675 resourceRequest->SetAllowType(GetExemptedResourceType(resourceRequest->GetAllowType())); in UnapplyAllowResource()
678 if (!CheckAllowTypeInfo(resourceRequest->GetAllowType()) || resourceRequest->GetUid() < 0) { in UnapplyAllowResource()
682 UnapplyAllowResInner(resourceRequest->GetUid(), resourceRequest->GetName(), resourceRequest->GetAllowType(), true); in UnapplyAllowResource()
1382 result += "allowType: " + std::to_string(allowInfo.GetAllowType()) + "\n" + in DumpModifyAllowList()
1389 result += "restrictType: " + std::to_string(allowInfo.GetAllowType()) + "\n" + in DumpModifyAllowList()
/foundation/resourceschedule/device_standby/interfaces/kits/napi/src/
H A Dstandby_napi_module.cpp161 Common::SetUint32Value(env, "resourceTypes", static_cast<uint32_t>(allowInfo.GetAllowType()), allowInfoObj); in AddGetAllowListCallbackCompleteCB()

Completed in 5 milliseconds