Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp444 for (int i = 0; i < StatsdStats::kMaxSystemServerRestarts; i++) { in TEST()
452 const int maxCount = StatsdStats::kMaxSystemServerRestarts; in TEST()
455 stats.noteSystemServerRestart(StatsdStats::kMaxSystemServerRestarts + 1); in TEST()
460 EXPECT_EQ(StatsdStats::kMaxSystemServerRestarts + 1, report.system_restart_sec(maxCount - 1)); in TEST()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h115 const static int kMaxSystemServerRestarts = 20; variable
DStatsdStats.cpp477 if (mSystemServerRestartSec.size() == kMaxSystemServerRestarts) { in noteSystemServerRestart()