Home
last modified time | relevance | path

Searched refs:thresholds (Results 1 - 2 of 2) sorted by relevance

/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_srv_config_parser.cpp429 std::vector<std::string> thresholds; in ParseLevelThreshold() local
433 StringOperation::SplitString(reinterpret_cast<char*>(xmlThreshold), thresholds, ","); in ParseLevelThreshold() local
447 if (sensors.size() != thresholds.size() || sensors.size() != thresholdClrs.size()) { in ParseLevelThreshold()
450 sensors.size(), thresholds.size(), thresholdClrs.size()); in ParseLevelThreshold()
462 StrToInt(thresholds.at(sensorIdx), levelItem.threshold); in ParseLevelThreshold()
751 std::vector<std::string> thresholds; in ParseFanFaultInfo() local
752 StringOperation::SplitString(thresholdStr, thresholds, ","); in ParseFanFaultInfo()
754 if (thresholds.size() != sensorNum) { in ParseFanFaultInfo()
759 StrToInt(thresholds[i], value); in ParseFanFaultInfo()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_config_file_parser.cpp434 std::vector<std::string> thresholds; in ParseSensorSubnodeInfo() local
438 StringOperation::SplitString(reinterpret_cast<char*>(xmlThreshold), thresholds, ","); in ParseSensorSubnodeInfo() local
446 if (sensors.size() > thresholds.size() || sensors.size() > thresholdClrs.size()) { in ParseSensorSubnodeInfo()
456 StrToInt(thresholds.at(i), levelItem.threshold); in ParseSensorSubnodeInfo()

Completed in 3 milliseconds