Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp534 const auto& pulledAtomStats = report.pulled_atom_stats(0); in TEST() local
535 EXPECT_EQ(pullAtomTag, pulledAtomStats.atom_id()); in TEST()
536 EXPECT_EQ(numErrors, pulledAtomStats.atom_error_count()); in TEST()
/frameworks/base/cmds/statsd/src/guardrail/
DStatsdStats.cpp444 PulledAtomStats& pulledAtomStats = mPulledAtomStats[pullAtomId]; in notePullTimeout() local
445 pulledAtomStats.pullTimeout++; in notePullTimeout()
447 if (pulledAtomStats.pullTimeoutMetadata.size() == kMaxTimestampCount) { in notePullTimeout()
448 pulledAtomStats.pullTimeoutMetadata.pop_front(); in notePullTimeout()
451 pulledAtomStats.pullTimeoutMetadata.emplace_back(pullUptimeMillis, pullElapsedMillis); in notePullTimeout()