Home
last modified time | relevance | path

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

123

/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Dpermission_policy_test.cpp51 void InitNormalPolicy(std::shared_ptr<PermissionPolicy>& policy) in InitNormalPolicy()
84 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
99 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
116 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
140 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
163 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
187 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
211 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
265 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
290 std::shared_ptr<PermissionPolicy> policy = std::make_shared<PermissionPolicy>(); variable
[all …]
Ddlp_credential_test.cpp86 PermissionPolicy policy; variable
100 void OnParseDlpCertificate(int32_t result, const PermissionPolicy& policy, in OnParseDlpCertificate()
113 std::string policy; variable
/base/security/dlp_permission_service/frameworks/test/mock/
Ddlp_permission_kit.cpp32 int32_t DlpPermissionKit::GenerateDlpCertificate(const PermissionPolicy& policy, std::vector<uint8_… in GenerateDlpCertificate()
46 uint32_t& offlineFlag, PermissionPolicy& policy) in ParseDlpCertificate()
/base/security/permission_lite/services/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/services/native/src/
Dthermal_mgr_dumper.cpp63 std::shared_ptr<ThermalPolicy> policy = tms->GetPolicy(); in Dump() local
69 std::shared_ptr<ThermalPolicy> policy = tms->GetPolicy(); in Dump() local
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_service_test.cpp558 ThermalPolicy policy; variable
572 ThermalPolicy policy; variable
601 ThermalPolicy policy; variable
626 ThermalPolicy policy; variable
660 ThermalPolicy policy; variable
/base/customization/enterprise_device_management/interfaces/kits/usb_manager/include/
Dusb_manager_addon.h30 int32_t policy; member
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
Ddlp_file_manager.cpp74 int32_t DlpFileManager::GenerateCertData(const PermissionPolicy& policy, struct DlpBlob& certData) … in GenerateCertData() argument
113PermissionPolicy& policy, struct DlpBlob& key, struct DlpUsageSpec& usage, struct DlpBlob& certDat… in PrepareDlpEncryptParms()
180 PermissionPolicy policy; in ParseDlpFileFormat() local
243 PermissionPolicy policy(property); in SetDlpFileParams() local
/base/powermgr/thermal_manager/application/protector/src/action/
Dthermal_device_control.cpp30 auto policy = service.GetPolicy(); in Init() local
/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/src/
Ddlp_permission_kit.cpp45 …tParseDlpCertificateCallback::OnParseDlpCertificate(int32_t result, const PermissionPolicy& policy, in OnParseDlpCertificate()
59 int32_t DlpPermissionKit::GenerateDlpCertificate(const PermissionPolicy& policy, std::vector<uint8_… in GenerateDlpCertificate()
89 uint32_t& offlineFlag, PermissionPolicy& policy) in ParseDlpCertificate()
Ddlp_permission_async_stub.cpp126 void DlpPermissionAsyncStub::OnParseDlpCertificate(int32_t result, const PermissionPolicy& policy, in OnParseDlpCertificate()
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/parsecert_fuzzer/
Dparsecert_fuzzer.cpp34 PermissionPolicy policy; in FuzzTest() local
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp356 HapPolicyParams policy; variable
374 HapPolicyParams policy; variable
393 HapPolicyParams policy; variable
412 HapPolicyParams policy = { variable
434 HapPolicyParams policy = { variable
467 HapPolicyParams policy = { variable
634 HapPolicyParams policy = g_infoManagerTestPolicyPrams1; variable
662 HapPolicyParams policy = g_infoManagerTestPolicyPrams1; variable
689 HapPolicyParams policy; variable
2098 HapPolicyParams policy; variable
/base/security/access_token/test/fuzztest/access_token_stub/updatehaptokenstub_fuzzer/
Dupdatehaptokenstub_fuzzer.cpp50 HapPolicyParams policy = {.apl = APL_NORMAL, in UpdateHapTokenStubFuzzTest() local
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dhap_token_info_inner.cpp48 …const HapInfoParams &info, const HapPolicyParams &policy) : permUpdateTimestamp_(0), isRemote_(fal… in HapTokenInfoInner()
82 … const std::string& appIDDesc, int32_t apiVersion, const HapPolicyParams& policy, bool isSystemApp) in Update()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dset_browser_policies_plugin.cpp66 std::string policy; in OnGetPolicy() local
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/
Ddlp_permission_serializer.cpp217 static void SerializeEveryoneInfo(const PermissionPolicy& policy, unordered_json& permInfoJson) in SerializeEveryoneInfo()
254 int32_t DlpPermissionSerializer::SerializeDlpPermission(const PermissionPolicy& policy, unordered_j… in SerializeDlpPermission()
328 static void DeserializeEveryoneInfo(const unordered_json& policyJson, PermissionPolicy& policy) in DeserializeEveryoneInfo()
365 …ssionSerializer::DeserializeDlpPermission(const unordered_json& permJson, PermissionPolicy& policy) in DeserializeDlpPermission()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/
Ddlp_permission_async_proxy.cpp63 void DlpPermissionAsyncProxy::OnParseDlpCertificate(int32_t result, const PermissionPolicy& policy, in OnParseDlpCertificate()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/test/
Ddlp_file_manager_test.cpp111 PermissionPolicy policy; variable
147 PermissionPolicy policy; variable
/base/security/dlp_permission_service/frameworks/dlp_permission/src/
Ddlp_policy_parcel.cpp79 static bool ReadAesParam(PermissionPolicy& policy, Parcel& in) in ReadAesParam()
/base/powermgr/power_manager/services/native/src/
Dpower_mode_module.cpp37 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in PowerModeModule() local
226 auto policy = DelayedSingleton<PowerModePolicy>::GetInstance(); in RunAction() local
/base/update/updateservice/services/engine/src/
Dupdate_service_impl_firmware.cpp235 …t UpdateServiceImplFirmware::SetUpgradePolicy(const UpgradeInfo &info, const UpgradePolicy &policy, in SetUpgradePolicy()
252 int32_t UpdateServiceImplFirmware::GetUpgradePolicy(const UpgradeInfo &info, UpgradePolicy &policy, in GetUpgradePolicy()
/base/security/access_token/interfaces/innerkits/analysis_model/src/
Dcode_signature_info.h106 RiskPolicyType policy; member
121 RiskPolicyType policy; member
/base/security/device_auth/services/session_manager/src/session/v2/
Ddev_session_v2.c232 static int32_t RestartSession(SessionImpl *impl, JumpPolicy *policy) in RestartSession()
1754 …t ProcFailEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcFailEvent()
1763 … ProcStartEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcStartEvent()
1775 …ndshakeReqEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcHandshakeReqEvent()
1787 …ndshakeRspEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcHandshakeRspEvent()
1799 …cFirstAuthEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcFirstAuthEvent()
1812 …t ProcAuthEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcAuthEvent()
1831 …ProcExpandEvent(SessionImpl *impl, SessionEvent *inputEvent, CJson *sessionMsg, JumpPolicy *policy) in ProcExpandEvent()
1864 JumpPolicy policy; in SessionSwitchState() local
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_test.cpp212 void TestPreparePermStateList(HapPolicyParams &policy) in TestPreparePermStateList()
268 void TestPreparePermDefList(HapPolicyParams &policy) in TestPreparePermDefList()
339 HapPolicyParams policy = { in SetUp() local
586 HapPolicyParams policy = { variable
863 HapPolicyParams policy = { variable
2108 void AccessTokenKitTest::GetDlpFlagTest(HapInfoParams info, HapPolicyParams policy, int flag) in GetDlpFlagTest()
2624 HapPolicyParams policy; variable

123