Home
last modified time | relevance | path

Searched defs:policy (Results 1 – 21 of 21) sorted by relevance

/base/security/permission/services/permission_lite/ipc_auth/src/
Dipc_auth_impl.c70 static void SetPolicy(const IpcPolicy *policy, PolicyTrans *policyTrans) in SetPolicy()
139 IpcPolicy policy = featurePolicy->policies[k]; in SetPolicies() local
206 static int CheckPolicy(const IpcPolicy *policy, unsigned int consumerUid) in CheckPolicy()
241 IpcPolicy policy = featurePolicy->policies[k]; in CheckFeaturePolicies() local
/base/powermgr/thermal_manager/application/protector/src/action/
Dthermal_device_control.cpp30 auto policy = service.GetPolicy(); in Init() local
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_auth.c55 static int32_t AuthPolicy(const struct HksAuthPolicy *policy, const struct HksKeyNode *keyNode, in AuthPolicy()
91 static int32_t AuthThreeStagePolicy(const struct HksAuthPolicy *policy, const struct HuksKeyNode *k… in AuthThreeStagePolicy()
/base/update/updateservice/test/fuzztest/UpdaterOnRemoteRequest_fuzzer/
DUpdaterOnRemoteRequest_fuzzer.cpp71 virtual int32_t SetUpdatePolicy(const UpdatePolicy &policy) in SetUpdatePolicy()
76 virtual int32_t GetUpdatePolicy(UpdatePolicy &policy) in GetUpdatePolicy()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dhap_token_info_inner.cpp42 const HapInfoParams &info, const HapPolicyParams &policy) : isRemote_(false) in HapTokenInfoInner()
70 void HapTokenInfoInner::Update(const std::string& appIDDesc, const HapPolicyParams& policy) in Update()
Daccesstoken_info_manager.cpp358 const HapInfoParams& info, const HapPolicyParams& policy, AccessTokenIDEx& tokenIdEx) in CreateHapTokenInfo()
493 const std::string& appIDDesc, const HapPolicyParams& policy) in UpdateHapToken()
/base/powermgr/power_manager/services/native/src/
Dpower_mode_module.cpp42 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in PowerModeModule() local
221 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in RunAction() local
/base/update/updateservice/interfaces/innerkits/engine/
Dupdate_service_kits_impl.cpp192 int32_t UpdateServiceKitsImpl::SetUpdatePolicy(const UpdatePolicy &policy) in SetUpdatePolicy()
200 int32_t UpdateServiceKitsImpl::GetUpdatePolicy(UpdatePolicy &policy) in GetUpdatePolicy()
Dupdate_service_proxy.cpp164 int32_t UpdateServiceProxy::SetUpdatePolicy(const UpdatePolicy &policy) in SetUpdatePolicy()
188 int32_t UpdateServiceProxy::GetUpdatePolicy(UpdatePolicy &policy) in GetUpdatePolicy()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp227 HapPolicyParams policy = g_infoManagerTestPolicyPrams; variable
/base/update/updateservice/engine/src/
Dupdate_helper.cpp109 int32_t UpdateHelper::WriteUpdatePolicy(MessageParcel &data, const UpdatePolicy &policy) in WriteUpdatePolicy()
122 int32_t UpdateHelper::ReadUpdatePolicy(MessageParcel &data, UpdatePolicy &policy) in ReadUpdatePolicy()
Dupdate_service_stub.cpp80 UpdatePolicy policy = {}; in SetUpdatePolicyStub() local
91 UpdatePolicy policy = {}; in GetUpdatePolicyStub() local
Dupdate_service.cpp117 int32_t UpdateService::SetUpdatePolicy(const UpdatePolicy &policy) in SetUpdatePolicy()
122 int32_t UpdateService::GetUpdatePolicy(UpdatePolicy &policy) in GetUpdatePolicy()
/base/update/updateservice/test/unittest/update_engine/
Dserver_unittest.cpp129 int TestGetUpdatePolicy(UpdatePolicy &policy) in TestGetUpdatePolicy()
142 UpdatePolicy policy; in TestUpdatePolicy() local
402 virtual int32_t SetUpdatePolicy(const UpdatePolicy &policy) override in SetUpdatePolicy()
408 virtual int32_t GetUpdatePolicy(UpdatePolicy &policy) override in GetUpdatePolicy()
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_kit.cpp32 …ssTokenIDEx AccessTokenKit::AllocHapToken(const HapInfoParams& info, const HapPolicyParams& policy) in AllocHapToken()
60 …:UpdateHapToken(AccessTokenID tokenID, const std::string& appIDDesc, const HapPolicyParams& policy) in UpdateHapToken()
Daccesstoken_manager_client.cpp198 …x AccessTokenManagerClient::AllocHapToken(const HapInfoParams& info, const HapPolicyParams& policy) in AllocHapToken()
272 AccessTokenID tokenID, const std::string& appIDDesc, const HapPolicyParams& policy) in UpdateHapToken()
/base/powermgr/thermal_manager/application/protector/src/policy/
Dthermal_kernel_policy.cpp55 for (auto policy = levelAction_.begin(); policy != levelAction_.end(); policy++) { in PolicyDecision() local
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp267 for (auto policy : clusterPolicyMap_) { in DumpConfigInfo() local
/base/update/updater/services/
Dupdater.cpp283 int policy = syscall(SYS_sched_getscheduler, getpid()); in StartUpdaterProc() local
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_test.cpp139 HapPolicyParams policy = { in SetUp() local
489 HapPolicyParams policy = { variable
719 HapPolicyParams policy = { variable
2692 HapPolicyParams policy; variable
/base/security/access_token/services/accesstokenmanager/main/cpp/src/service/
Daccesstoken_manager_service.cpp203 … AccessTokenManagerService::AllocHapToken(const HapInfoParcel& info, const HapPolicyParcel& policy) in AllocHapToken()