Lines Matching refs:stats_config
1586 bool ParseStatsInfo(const Json::Value &stats_config, in ParseStatsInfo() argument
1589 if (stats_config.empty()) { in ParseStatsInfo()
1595 if (stats_config["DefaultThresholdEnableAll"].empty() || in ParseStatsInfo()
1596 !stats_config["DefaultThresholdEnableAll"].isBool()) { in ParseStatsInfo()
1598 } else if (stats_config["DefaultThresholdEnableAll"].asBool()) { in ParseStatsInfo()
1604 Json::Value values = stats_config["RecordWithDefaultThreshold"]; in ParseStatsInfo()
1626 values = stats_config["RecordWithThreshold"]; in ParseStatsInfo()
1806 Json::Value stats_config = config["Stats"]; in ParseSensorStatsConfig() local
1807 if (stats_config.empty()) { in ParseSensorStatsConfig()
1812 Json::Value sensor_config = stats_config["Sensors"]; in ParseSensorStatsConfig()
1819 if (!ParseStatsInfo(stats_config["Sensors"], sensor_info_map_, sensor_stats_info_parsed, in ParseSensorStatsConfig()
1837 Json::Value stats_config = config["Stats"]; in ParseCoolingDeviceStatsConfig() local
1838 if (stats_config.empty()) { in ParseCoolingDeviceStatsConfig()
1843 if (stats_config["CoolingDevices"].empty()) { in ParseCoolingDeviceStatsConfig()
1848 if (!ParseStatsInfo(stats_config["CoolingDevices"]["RecordVotePerSensor"], in ParseCoolingDeviceStatsConfig()