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/
H A 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/
H A Dthermal_srv_config_parser.cpp431 xmlChar* xmlThreshold = xmlGetProp(subNode, BAD_CAST("threshold")); in ParseLevelThreshold() local
432 if (xmlThreshold != nullptr) { in ParseLevelThreshold()
433 StringOperation::SplitString(reinterpret_cast<char*>(xmlThreshold), thresholds, ","); in ParseLevelThreshold()
434 xmlFree(xmlThreshold); in ParseLevelThreshold()
746 xmlChar* xmlThreshold = xmlGetProp(cur, BAD_CAST"threshold"); in ParseFanFaultInfo() local
747 if (xmlThreshold == nullptr) { in ParseFanFaultInfo()
750 std::string thresholdStr = reinterpret_cast<char*>(xmlThreshold); in ParseFanFaultInfo()
753 xmlFree(xmlThreshold); in ParseFanFaultInfo()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_file_parser.cpp436 xmlChar* xmlThreshold = xmlGetProp(subNode, BAD_CAST("threshold")); in ParseSensorSubnodeInfo() local
437 if (xmlThreshold != nullptr) { in ParseSensorSubnodeInfo()
438 StringOperation::SplitString(reinterpret_cast<char*>(xmlThreshold), thresholds, ","); in ParseSensorSubnodeInfo()
439 xmlFree(xmlThreshold); in ParseSensorSubnodeInfo()

Completed in 3 milliseconds