Home
last modified time | relevance | path

Searched refs:clusterName (Results 1 – 3 of 3) sorted by relevance

/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp248 std::string clusterName; in ParsePolicyNode() local
251 clusterName = reinterpret_cast<char*>(xmlName); in ParsePolicyNode()
261 clusterName.c_str(), level); in ParsePolicyNode()
267 const auto& clusterIter = policyConfigMap_.find(clusterName); in ParsePolicyNode()
268 THERMAL_HILOGD(LABEL_TEST, "clusterName: %{public}s", clusterName.c_str()); in ParsePolicyNode()
272 policyConfigMap_.emplace(clusterName, policyList); in ParsePolicyNode()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp120 const std::string& clusterName = clusterPolicy->first; in PolicyDecision() local
122 if (clusterName.empty() || policyConfig.empty()) { in PolicyDecision()
125 auto clusterIter = clusterLevelMap_.find(clusterName); in PolicyDecision()
Dthermal_srv_config_parser.cpp497 std::string clusterName; in ParsePolicyNode() local
500 clusterName = reinterpret_cast<char*>(xmlName); in ParsePolicyNode()
511 clusterName.c_str(), policyConfig.level); in ParsePolicyNode()
514 THERMAL_HILOGE(COMP_SVC, "policy [%{public}s] level is null", clusterName.c_str()); in ParsePolicyNode()
520 const auto& clusterIter = clusterPolicyMap.find(clusterName); in ParsePolicyNode()
524 clusterPolicyMap.emplace(clusterName, policyList); in ParsePolicyNode()