Home
last modified time | relevance | path

Searched refs:statsReport (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/telemetry/publisher/statsconverters/
DConfigMetricsReportListConverter.java90 for (StatsLogProto.StatsLogReport statsReport : report.getMetricsList()) { in convert()
91 if (statsReport.getDataCase() in convert()
95 Long metricId = statsReport.getMetricId(); in convert()
100 metricsStatsReportMap.get(metricId).add(statsReport); in convert()
113 for (StatsLogProto.StatsLogReport statsReport : statsReportList) { in convert()
114 eventDataList.addAll(statsReport.getEventMetrics().getDataList()); in convert()
121 for (StatsLogProto.StatsLogReport statsReport : statsReportList) { in convert()
122 gaugeDataList.addAll(statsReport.getGaugeMetrics().getDataList()); in convert()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DStatsPublisher.java332 private void processStatsMetadata(@NonNull StatsLogProto.StatsdStatsReport statsReport) { in processStatsMetadata() argument
337 for (int i = 0; i < statsReport.getConfigStatsCount(); i++) { in processStatsMetadata()
338 StatsLogProto.StatsdStatsReport.ConfigStats stats = statsReport.getConfigStats(i); in processStatsMetadata()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.cpp2269 StatsdStatsReport statsReport = getStatsdStatsReport(); in getPulledAtomStats() local
2271 for (size_t i = 0; i < statsReport.pulled_atom_stats_size(); i++) { in getPulledAtomStats()
2272 if (statsReport.pulled_atom_stats(i).atom_id() == atom_id) { in getPulledAtomStats()
2273 return statsReport.pulled_atom_stats(i); in getPulledAtomStats()
2327 StatsdStatsReport statsReport; in getStatsdStatsReport() local
2328 EXPECT_TRUE(statsReport.ParseFromArray(statsBuffer.data(), statsBuffer.size())); in getStatsdStatsReport()
2329 return statsReport; in getStatsdStatsReport()