Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.cpp302 if (it->second->dump_report_stats.size() == kMaxTimestampCount) { in noteMetricsReportSent()
303 it->second->dump_report_stats.pop_front(); in noteMetricsReportSent()
305 it->second->dump_report_stats.push_back(std::make_pair(timeSec, num_bytes)); in noteMetricsReportSent()
585 config.second->dump_report_stats.clear(); in resetInternalLocked()
694 for (const auto& dump : configStats->dump_report_stats) { in dumpStats()
837 for (const auto& dump : configStats.dump_report_stats) { in addConfigStatsToProto()
843 for (const auto& dump : configStats.dump_report_stats) { in addConfigStatsToProto()
DStatsdStats.h56 std::list<std::pair<int32_t, int64_t>> dump_report_stats; member
/frameworks/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp406 EXPECT_EQ(maxCount, configStats->dump_report_stats.size()); in TEST()
413 EXPECT_EQ(1, configStats->dump_report_stats.front().first); in TEST()
421 EXPECT_EQ(newTimestamp, configStats->dump_report_stats.back().first); in TEST()