Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_file_parser.cpp262 std::string clusterName; in ParsePolicyNode() local
265 clusterName = reinterpret_cast<char*>(xmlName); in ParsePolicyNode()
275 clusterName.c_str(), level); in ParsePolicyNode()
281 const auto& clusterIter = policyConfigMap_.find(clusterName); in ParsePolicyNode()
282 THERMAL_HILOGD(LABEL_TEST, "clusterName: %{public}s", clusterName.c_str()); in ParsePolicyNode()
286 policyConfigMap_.emplace(clusterName, policyList); in ParsePolicyNode()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_policy.cpp130 const std::string& clusterName = clusterPolicy->first; in PolicyDecision() local
132 if (clusterName.empty() || policyConfig.empty()) { in PolicyDecision()
135 auto clusterIter = clusterLevelMap_.find(clusterName); in PolicyDecision()
H A Dthermal_srv_config_parser.cpp574 std::string clusterName; in ParsePolicyNode() local
577 clusterName = reinterpret_cast<char*>(xmlName); in ParsePolicyNode()
588 clusterName.c_str(), policyConfig.level); in ParsePolicyNode()
591 THERMAL_HILOGE(COMP_SVC, "policy [%{public}s] level is null", clusterName.c_str()); in ParsePolicyNode()
597 const auto& clusterIter = clusterPolicyMap.find(clusterName); in ParsePolicyNode()
601 clusterPolicyMap.emplace(clusterName, policyList); in ParsePolicyNode()

Completed in 3 milliseconds