Home
last modified time | relevance | path

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

/packages/modules/StatsD/lib/libstatssocket/tests/
Dlogging_rate_limiter_test.cpp46 constexpr int32_t kLogFrequencyThreshold = 1; in TEST() local
49 LoggingRateLimiter<ManualClock> rateLimiter(kLogFrequencyThreshold, kLoggingFrequencyWindowMs); in TEST()
66 constexpr int32_t kLogFrequencyThreshold = 100; in TEST() local
70 LoggingRateLimiter<ManualClock> rateLimiter(kLogFrequencyThreshold, kLoggingFrequencyWindowMs); in TEST()
79 EXPECT_EQ(eventsCount, kLogFrequencyThreshold); in TEST()
86 constexpr int32_t kLogFrequencyThreshold = 100; in TEST() local
90 LoggingRateLimiter<ManualClock> rateLimiter(kLogFrequencyThreshold, kLoggingFrequencyWindowMs); in TEST()
112 constexpr int32_t kLogFrequencyThreshold = 100; in TEST() local
116 LoggingRateLimiter<ManualClock> rateLimiter(kLogFrequencyThreshold, kLoggingFrequencyWindowMs); in TEST()
125 EXPECT_EQ(eventsCount, kLogFrequencyThreshold); in TEST()
[all …]
Dstats_writer_test.cpp69 constexpr int32_t kLogFrequencyThreshold = 240; in TEST_WITH_FLAGS() local
72 EXPECT_LE(eventsCount, kLogFrequencyThreshold); in TEST_WITH_FLAGS()
/packages/modules/StatsD/lib/libstatssocket/
Dstats_buffer_writer.cpp66 constexpr int32_t kLogFrequencyThreshold = 240; in can_log_atom() local
69 static LoggingRateLimiter<RealTimeClock> rateLimiter(kLogFrequencyThreshold, in can_log_atom()