Home
last modified time | relevance | path

Searched refs:policyStr (Results 1 - 2 of 2) sorted by relevance

/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/test/unittest/
H A Dprocess_group_test.cpp25 static bool CovertSchedPolicyStringToEnumType(char* policyStr, SchedPolicy* policy) in CovertSchedPolicyStringToEnumType() argument
33 if (!strcmp(policyStr, stringItem)) { in CovertSchedPolicyStringToEnumType()
45 char* policyStr = argv[2]; in SetThreadSchedPolicyTest() local
47 if (!CovertSchedPolicyStringToEnumType(policyStr, &policy)) { in SetThreadSchedPolicyTest()
60 char* policyStr = argv[2]; in SetThreadGroupSchedPolicyTest() local
62 if (!CovertSchedPolicyStringToEnumType(policyStr, &policy)) { in SetThreadGroupSchedPolicyTest()
90 const char* policyStr = GetSchedPolicyShortenedName(policy); in GetSchedPolicyShortenedNameTest() local
91 std::cout << "Get SchedPolicy shortened name of policy num = " << policyNum << " is:" << policyStr << std::endl; in GetSchedPolicyShortenedNameTest()
103 const char* policyStr = GetSchedPolicyShortenedName(policy); in GetSchedPolicyFullNameTest() local
104 std::cout << "Get SchedPolicy full name of policy num = " << policyNum << " is:" << policyStr << st in GetSchedPolicyFullNameTest()
[all...]
/foundation/distributedhardware/device_manager/services/service/src/ipc/standard/
H A Dipc_cmd_parser.cpp1452 std::string policyStr = data.ReadString(); in ON_IPC_CMD() local
1454 ParseMapFromJsonString(policyStr, policy); in ON_IPC_CMD()

Completed in 4 milliseconds