/foundation/resourceschedule/resource_schedule_service/cgroup_sched/framework/process_group/src/ |
D | sched_policy.cpp | 22 int SetThreadSchedPolicy(int tid, int policy) in SetThreadSchedPolicy() 34 int SetThreadGroupSchedPolicy(int pid, int policy) in SetThreadGroupSchedPolicy() 46 int GetThreadSchedPolicy(int tid, SchedPolicy* policy) in GetThreadSchedPolicy() 57 int GetSchedPolicyByName(const std::string& name, SchedPolicy* policy) in GetSchedPolicyByName() 62 const char* GetSchedPolicyShortenedName(SchedPolicy policy) in GetSchedPolicyShortenedName() 67 const char* GetSchedPolicyFullName(SchedPolicy policy) in GetSchedPolicyFullName() 72 void AddSchedPolicyDeclaration(SchedPolicy policy, const std::string& fullName, const std::string& … in AddSchedPolicyDeclaration()
|
D | cgroup_action.cpp | 65 void CgroupAction::AddSchedPolicyDeclaration(const SchedPolicy policy, in AddSchedPolicyDeclaration() 104 bool CgroupAction::IsSchedPolicyValid(SchedPolicy policy) in IsSchedPolicyValid() 110 const char* CgroupAction::GetSchedPolicyFullName(SchedPolicy policy) in GetSchedPolicyFullName() 119 const char* CgroupAction::GetSchedPolicyAbbrName(SchedPolicy policy) in GetSchedPolicyAbbrName() 128 bool CgroupAction::SetThreadSchedPolicy(int tid, SchedPolicy policy) in SetThreadSchedPolicy() 139 bool CgroupAction::SetThreadGroupSchedPolicy(int tid, SchedPolicy policy) in SetThreadGroupSchedPolicy() 170 int CgroupAction::GetSchedPolicy(int tid, SchedPolicy* policy) in GetSchedPolicy() 195 int CgroupAction::GetSchedPolicyByName(const std::string& name, SchedPolicy* policy) in GetSchedPolicyByName()
|
D | cgroup_controller.cpp | 38 for (SchedPolicy policy : policyList) { in CgroupController() local 82 bool CgroupController::SetThreadSchedPolicy(int tid, SchedPolicy policy, bool isSetThreadGroup) in SetThreadSchedPolicy() 111 bool CgroupController::AddSchedPolicy(SchedPolicy policy, const std::string& subgroup) in AddSchedPolicy() 139 bool CgroupController::AddThreadSchedPolicy(SchedPolicy policy, const std::string& subgroup) in AddThreadSchedPolicy() 161 bool CgroupController::AddThreadGroupSchedPolicy(SchedPolicy policy, const std::string& subgroup) in AddThreadGroupSchedPolicy()
|
D | cgroup_map.cpp | 41 bool CgroupMap::SetThreadSchedPolicy(int tid, SchedPolicy policy, bool isThreadGroup) in SetThreadSchedPolicy() 131 for (SchedPolicy policy : policyList) { in LoadSchedPolicyConfig() local
|
/foundation/resourceschedule/resource_schedule_service/cgroup_sched/test/unittest/ |
D | process_group_test.cpp | 25 static bool CovertSchedPolicyStringToEnumType(char* policyStr, SchedPolicy* policy) in CovertSchedPolicyStringToEnumType() 46 SchedPolicy policy; in SetThreadSchedPolicyTest() local 61 SchedPolicy policy; in SetThreadGroupSchedPolicyTest() local 75 SchedPolicy policy; in GetThreadSchedPolicyTest() local 89 SchedPolicy policy = static_cast<SchedPolicy>(policyNum); in GetSchedPolicyShortenedNameTest() local 102 SchedPolicy policy = static_cast<SchedPolicy>(policyNum); in GetSchedPolicyFullNameTest() local
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
D | net_policy_rule.cpp | 32 auto policy = CommonUtils::StrToUint(i.policy.c_str()); in Init() local 48 uint32_t policy = 0; in TransPolicyToRule() local 60 int32_t NetPolicyRule::TransPolicyToRule(uint32_t uid, uint32_t policy) in TransPolicyToRule() 85 uint32_t NetPolicyRule::BuildTransCondition(uint32_t uid, uint32_t policy) in BuildTransCondition() 115 …tPolicyRule::TransConditionToRuleAndNetsys(uint32_t policyCondition, uint32_t uid, uint32_t policy) in TransConditionToRuleAndNetsys() 190 uint32_t NetPolicyRule::ChangePolicyToPolicyTransitionCondition(uint32_t policy) in ChangePolicyToPolicyTransitionCondition() 198 int32_t NetPolicyRule::GetPolicyByUid(uint32_t uid, uint32_t &policy) in GetPolicyByUid() 210 int32_t NetPolicyRule::GetUidsByPolicy(uint32_t policy, std::vector<uint32_t> &uids) in GetUidsByPolicy() 285 uint32_t policy = 0; in GetBackgroundPolicyByUid() local 418 bool NetPolicyRule::IsValidNetPolicy(uint32_t policy) in IsValidNetPolicy()
|
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
D | ut_net_policy_service.cpp | 65 uint32_t policy = 50; variable 78 uint32_t policy = 50; variable 91 uint32_t policy = 50; variable
|
D | ut_net_policy_callback_stub.cpp | 34 int32_t NetUidPolicyChange(uint32_t uid, uint32_t policy) override in NetUidPolicyChange() 87 uint32_t policy = TEST_POLICY; variable 146 NetQuotaPolicy policy; variable
|
/foundation/filemanagement/storage_service/services/storage_daemon/libfscrypt/src/ |
D | fscrypt_utils.c | 34 int SetFscryptSysparam(const char *policy) in SetFscryptSysparam()
|
D | sysparam_static.c | 29 int SetFscryptParameter(const char *policy, const char *value) in SetFscryptParameter()
|
D | sysparam_dynamic.c | 33 int SetFscryptParameter(const char *policy, const char *value) in SetFscryptParameter()
|
D | key_control.c | 107 bool KeyCtrlGetPolicyEx(const char *path, struct fscrypt_get_policy_ex_arg *policy) in KeyCtrlGetPolicyEx() 114 bool KeyCtrlSetPolicy(const char *path, union FscryptPolicy *policy) in KeyCtrlSetPolicy() 120 bool KeyCtrlGetPolicy(const char *path, struct fscrypt_policy *policy) in KeyCtrlGetPolicy()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/metadata/ |
D | store_meta_data_local.cpp | 43 for (const auto &policy : policies) { in HasPolicy() local 53 for (const auto &policy : policies) { in GetPolicy() local
|
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/ |
D | dk_database_unnormal_mock.cpp | 26 DKSavePolicy policy, in SaveRecords() 33 DKSavePolicy policy, in SaveRecord() 59 DKSavePolicy policy, in DeleteRecords() 68 DKSavePolicy policy, in ModifyRecords()
|
D | dk_database_mock.cpp | 26 DKSavePolicy policy, in SaveRecords() 33 DKSavePolicy policy, in SaveRecord() 59 DKSavePolicy policy, in DeleteRecords() 68 DKSavePolicy policy, in ModifyRecords()
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/ |
D | net_policy_service.cpp | 109 int32_t NetPolicyService::SetPolicyByUid(uint32_t uid, uint32_t policy) in SetPolicyByUid() 115 int32_t NetPolicyService::GetPolicyByUid(uint32_t uid, uint32_t &policy) in GetPolicyByUid() 121 int32_t NetPolicyService::GetUidsByPolicy(uint32_t policy, std::vector<uint32_t> &uids) in GetUidsByPolicy()
|
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/ |
D | dk_database.cpp | 26 DKSavePolicy policy, in SaveRecords() 46 DKSavePolicy policy, in SaveRecord() 77 DKSavePolicy policy, in DeleteRecords() 97 DKSavePolicy policy, in ModifyRecords()
|
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
D | endpoint.c | 63 PolicyTrans *policy; member 291 PolicyTrans *policy = NULL; in SAMGR_ProcPolicy() local 320 const PolicyTrans *policy, uint32 policyNum) in AddPolicyToRouter() 492 PolicyTrans **policy, uint32 *policyNum) in RegisterIdentity() 619 static void GetRemotePolicy(IpcIo *reply, PolicyTrans **policy, uint32 *policyNum) in GetRemotePolicy() 660 static boolean JudgePolicy(uid_t callingUid, const PolicyTrans *policy, uint32 policyNum) in JudgePolicy() 679 static boolean SearchFixedPolicy(uid_t callingUid, PolicyTrans policy) in SearchFixedPolicy()
|
D | samgr_small_ipc_adapter.c | 164 int RegisterIdentity(const SaName *saName, SvcIdentity *saInfo, PolicyTrans **policy, uint32 *polic… in RegisterIdentity() 249 static boolean JudgePolicy(uid_t callingUid, const PolicyTrans *policy, uint32 policyNum) in JudgePolicy() 266 static boolean SearchFixedPolicy(uid_t callingUid, PolicyTrans policy) in SearchFixedPolicy() 322 static void GetRemotePolicy(IpcIo *reply, PolicyTrans **policy, uint32 *policyNum) in GetRemotePolicy()
|
D | samgr_mini_ipc_adapter.c | 89 int RegisterIdentity(const SaName *saName, SvcIdentity *saInfo, PolicyTrans **policy, uint32 *polic… in RegisterIdentity() 137 static void GetRemotePolicy(IpcIo *reply, PolicyTrans **policy, uint32 *policyNum) in GetRemotePolicy()
|
/foundation/communication/ipc/ipc/native/c/manager/src/ |
D | ipc_thread_pool.c | 89 int32_t policy = threadContext->policy; in ThreadHandler() local 140 int32_t SpawnNewThread(ThreadPool *threadPool, int32_t policy, int32_t proto) in SpawnNewThread()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/get_self_permissions/src/ |
D | get_self_permissions.cpp | 75 HapPolicyParams policy = { in SetHapPermission() local
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/dnsresolv/ |
D | dns_lookup_name.cpp | 52 static const struct policy { struct 53 uint8_t addr[ADDR_A6_LEN]; 54 uint8_t len; 55 uint8_t mask; 56 uint8_t prec; 57 uint8_t label;
|
/foundation/communication/ipc/ipc/native/src/core/source/ |
D | ipc_workthread.cpp | 96 void IPCWorkThread::Start(int policy, int proto, std::string threadName) in Start()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/test/ |
D | checker_manager_test.cpp | 69 HapPolicyParams policy = { in SetUp() local
|