Home
last modified time | relevance | path

Searched refs:alert_stats (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp178 bool alert1first = configReport.alert_stats(0).id() == StringToId("alert1"); in TEST()
179 EXPECT_EQ(StringToId("alert1"), configReport.alert_stats(alert1first ? 0 : 1).id()); in TEST()
180 EXPECT_EQ(2, configReport.alert_stats(alert1first ? 0 : 1).alerted_times()); in TEST()
181 EXPECT_EQ(StringToId("alert2"), configReport.alert_stats(alert1first ? 1 : 0).id()); in TEST()
182 EXPECT_EQ(1, configReport.alert_stats(alert1first ? 1 : 0).alerted_times()); in TEST()
217 EXPECT_EQ(StringToId("alert99"), configReport2.alert_stats(0).id()); in TEST()
218 EXPECT_EQ(1, configReport2.alert_stats(0).alerted_times()); in TEST()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.cpp385 statsIt->second->alert_stats[id]++; in noteAnomalyDeclared()
591 config.second->alert_stats.clear(); in resetInternalLocked()
714 for (const auto& stats : pair.second->alert_stats) { in dumpStats()
889 for (const auto& pair : configStats.alert_stats) { in addConfigStatsToProto()
DStatsdStats.h79 std::map<const int64_t, int> alert_stats; member
/frameworks/base/cmds/statsd/src/
Dstats_log.proto365 repeated AlertStats alert_stats = 16; field