Home
last modified time | relevance | path

Searched refs:xmlSensor (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_srv_config_parser.cpp290 xmlChar* xmlSensor = xmlGetProp(cur, BAD_CAST"sensor"); in ParseSensorInfo() local
291 if (xmlSensor != nullptr) { in ParseSensorInfo()
292 StringOperation::SplitString(reinterpret_cast<char*>(xmlSensor), sensors, ","); in ParseSensorInfo()
311 xmlFree(xmlSensor); in ParseSensorInfo()
627 xmlChar* xmlSensor = xmlGetProp(cur, BAD_CAST"sensor"); in ParseFanNode() local
628 if (xmlSensor == nullptr) { in ParseFanNode()
632 std::string sensorStr = reinterpret_cast<char*>(xmlSensor); in ParseFanNode()
634 xmlFree(xmlSensor); in ParseFanNode()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_config_file_parser.cpp343 xmlChar* xmlSensor = xmlGetProp(cur, BAD_CAST"sensor"); in ParseSensorInfo() local
344 if (xmlSensor != nullptr) { in ParseSensorInfo()
345 StringOperation::SplitString(reinterpret_cast<char*>(xmlSensor), sensors, ","); in ParseSensorInfo()
354 xmlFree(xmlSensor); in ParseSensorInfo()