Home
last modified time | relevance | path

Searched refs:policyName (Results 1 - 3 of 3) sorted by relevance

/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/test/unittest/
H A Dprocess_group_sub_test.cpp90 const char* policyName = GetSchedPolicyFullName(SP_DEFAULT); in HWTEST_F() local
91 EXPECT_TRUE(!strcmp(policyName, "sp_default")); in HWTEST_F()
103 const char* policyName = GetSchedPolicyFullName(SP_BACKGROUND); in HWTEST_F() local
104 EXPECT_TRUE(!strcmp(policyName, "sp_background")); in HWTEST_F()
116 const char* policyName = GetSchedPolicyFullName(SP_FOREGROUND); in HWTEST_F() local
117 EXPECT_TRUE(!strcmp(policyName, "sp_foreground")); in HWTEST_F()
129 const char* policyName = GetSchedPolicyFullName(SP_SYSTEM_BACKGROUND); in HWTEST_F() local
130 EXPECT_TRUE(!strcmp(policyName, "sp_system_background")); in HWTEST_F()
142 const char* policyName = GetSchedPolicyFullName(SP_TOP_APP); in HWTEST_F() local
143 EXPECT_TRUE(!strcmp(policyName, "sp_top_ap in HWTEST_F()
155 const char* policyName = GetSchedPolicyShortenedName(SP_DEFAULT); HWTEST_F() local
168 const char* policyName = GetSchedPolicyShortenedName(SP_FOREGROUND); HWTEST_F() local
181 const char* policyName = GetSchedPolicyShortenedName(SP_BACKGROUND); HWTEST_F() local
[all...]
/foundation/resourceschedule/work_scheduler/services/native/src/
H A Dwork_policy_manager.cpp286 int32_t WorkPolicyManager::GetMaxRunningCount(std::string& policyName) in GetMaxRunningCount() argument
297 policyName = policyFilter->GetPolicyName(); in GetMaxRunningCount()
368 std::string policyName; in CheckWorkToRun() local
370 if (runningCount < GetMaxRunningCount(policyName) || IsSpecialScene(topWork)) { in CheckWorkToRun()
380 if (!policyName.empty()) { in CheckWorkToRun()
381 topWork->delayReason_= policyName; in CheckWorkToRun()
580 std::string policyName; in Dump() local
582 std::string reason = policyName.empty() ? "" : " reason:" + policyName; in Dump()
583 result.append(to_string(GetMaxRunningCount(policyName)) in Dump()
[all...]
/foundation/resourceschedule/work_scheduler/services/native/include/
H A Dwork_policy_manager.h275 int32_t GetMaxRunningCount(std::string& policyName);

Completed in 3 milliseconds