Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp241 for (const auto& atomStats : report.atom_stats()) { in TEST() local
242 if (atomStats.tag() == android::util::SENSOR_STATE_CHANGED && atomStats.count() == 3) { in TEST()
245 if (atomStats.tag() == android::util::APP_CRASH_OCCURRED && atomStats.count() == 1) { in TEST()
274 for (const auto& atomStats : report.atom_stats()) { in TEST() local
275 if (atomStats.tag() == newAtom1 && atomStats.count() == 2) { in TEST()
278 if (atomStats.tag() == newAtom2 && atomStats.count() == 1) { in TEST()
347 auto atomStats = report.atom_metric_stats(0); in TEST() local
348 EXPECT_EQ(1000L, atomStats.metric_id()); in TEST()
349 EXPECT_EQ(1L, atomStats.bucket_dropped()); in TEST()
350 EXPECT_EQ(-10L, atomStats.min_bucket_boundary_delay_ns()); in TEST()
[all …]