Lines Matching refs:config_
44 : config_{config}, in MetricsReporter()
54 config_ = config; in ReloadConfig()
58 return session_data.session_id % config_.reporting_num_mods < config_.reporting_mods; in IsMetricsReportingEnabled()
129 if (config_.dump_to_logcat) { in BackgroundThreadRun()
132 if (config_.dump_to_file.has_value()) { in BackgroundThreadRun()
134 if (config_.metrics_format == "xml") { in BackgroundThreadRun()
140 backends_.emplace_back(new FileBackend(std::move(formatter), config_.dump_to_file.value())); in BackgroundThreadRun()
142 if (config_.dump_to_statsd) { in BackgroundThreadRun()
225 config_.period_spec.has_value() && in ShouldReportAtStartup()
226 config_.period_spec->report_startup_first; in ShouldReportAtStartup()
234 config_.period_spec.has_value() && in ShouldContinueReporting()
236 !config_.period_spec->periods_seconds.empty() && in ShouldContinueReporting()
238 (startup_reported_ || !config_.period_spec->report_startup_first) && in ShouldContinueReporting()
240 (config_.period_spec->continuous_reporting || in ShouldContinueReporting()
241 (report_interval_index_ < config_.period_spec->periods_seconds.size())); in ShouldContinueReporting()
252 static_cast<uint32_t>(config_.period_spec->periods_seconds.size() - 1)); in GetNextPeriodSeconds()
254 uint32_t result = config_.period_spec->periods_seconds[index]; in GetNextPeriodSeconds()
257 if (report_interval_index_ < config_.period_spec->periods_seconds.size()) { in GetNextPeriodSeconds()