Home
last modified time | relevance | path

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

/base/powermgr/thermal_manager/application/protector/src/policy/
Dthermal_kernel_config_file.cpp148 xmlChar* xmlThreshold = xmlGetProp(subNode, BAD_CAST"threshold"); in ParseSubNode() local
149 if (xmlThreshold != nullptr) { in ParseSubNode()
150 StrToInt(reinterpret_cast<char*>(xmlThreshold), tziItem.threshold); in ParseSubNode()
151 xmlFree(xmlThreshold); in ParseSubNode()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_srv_config_parser.cpp356 xmlChar* xmlThreshold = xmlGetProp(subNode, BAD_CAST("threshold")); in ParseLevelThreshold() local
357 if (xmlThreshold != nullptr) { in ParseLevelThreshold()
358 StringOperation::SplitString(reinterpret_cast<char*>(xmlThreshold), thresholds, ","); in ParseLevelThreshold()
359 xmlFree(xmlThreshold); in ParseLevelThreshold()
666 xmlChar* xmlThreshold = xmlGetProp(cur, BAD_CAST"threshold"); in ParseFanFaultInfo() local
667 if (xmlThreshold == nullptr) { in ParseFanFaultInfo()
670 std::string thresholdStr = reinterpret_cast<char*>(xmlThreshold); in ParseFanFaultInfo()
673 xmlFree(xmlThreshold); in ParseFanFaultInfo()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp420 xmlChar* xmlThreshold = xmlGetProp(subNode, BAD_CAST("threshold")); in ParseSensorSubnodeInfo() local
421 if (xmlThreshold != nullptr) { in ParseSensorSubnodeInfo()
422 StringOperation::SplitString(reinterpret_cast<char*>(xmlThreshold), thresholds, ","); in ParseSensorSubnodeInfo()
423 xmlFree(xmlThreshold); in ParseSensorSubnodeInfo()