Home
last modified time | relevance | path

Searched refs:policyConfig (Results 1 – 5 of 5) sorted by relevance

/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp247 PolicyConfig policyConfig; in ParsePolicyNode() local
259 policyConfig.level = level; in ParsePolicyNode()
265 ParsePolicySubnode(curNode, policyConfig); in ParsePolicyNode()
271 policyList.push_back(policyConfig); in ParsePolicyNode()
274 clusterIter->second.push_back(policyConfig); in ParsePolicyNode()
457 void ThermalConfigFileParser::ParsePolicySubnode(const xmlNode* cur, PolicyConfig& policyConfig) in ParsePolicySubnode() argument
474 policyConfig.policyActionList.push_back(policyAction); in ParsePolicySubnode()
489 policyConfig.policyActionList.push_back(policyAction); in ParsePolicySubnode()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp121 const std::vector<PolicyConfig>& policyConfig = clusterPolicy->second; in PolicyDecision() local
122 if (clusterName.empty() || policyConfig.empty()) { in PolicyDecision()
130 …for (auto levelAction = policyConfig.rbegin(); levelAction != policyConfig.rend(); levelAction++) { in PolicyDecision()
Dthermal_srv_config_parser.cpp496 PolicyConfig policyConfig; in ParsePolicyNode() local
509 StringOperation::StrToUint(reinterpret_cast<char*>(xmlLevel), policyConfig.level); in ParsePolicyNode()
511 clusterName.c_str(), policyConfig.level); in ParsePolicyNode()
518 ParsePolicyActionInfo(cur, policyConfig); in ParsePolicyNode()
523 policyList.push_back(policyConfig); in ParsePolicyNode()
526 clusterIter->second.push_back(policyConfig); in ParsePolicyNode()
534 …ol ThermalSrvConfigParser::ParsePolicyActionInfo(const xmlNodePtr& cur, PolicyConfig& policyConfig) in ParsePolicyActionInfo() argument
556 policyConfig.policyActionList.push_back(policyAction); in ParsePolicyActionInfo()
574 policyConfig.policyActionList.push_back(policyAction); in ParsePolicyActionInfo()
/base/powermgr/thermal_manager/services/native/include/thermal_policy/
Dthermal_srv_config_parser.h58 bool ParsePolicyActionInfo(const xmlNodePtr& cur, PolicyConfig& policyConfig);
/base/powermgr/thermal_manager/test/unittest/include/
Dthermal_config_file_parser.h65 void ParsePolicySubnode(const xmlNode* cur, PolicyConfig& policyConfig);