Searched refs:mSumOverPastBuckets (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 150 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 0u); in TEST() 161 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3u); in TEST() 175 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3u); in TEST() 188 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3UL); in TEST() 202 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3UL); in TEST() 215 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 228 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 241 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 254 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 295 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 0UL); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/anomaly/ |
D | AnomalyTracker.cpp | 57 mSumOverPastBuckets.clear(); in resetStorage() 114 mSumOverPastBuckets[key] += bucketValue; in addPastBucket() 154 auto itr = mSumOverPastBuckets.find(key); in subtractValueFromSum() 155 if (itr == mSumOverPastBuckets.end()) { in subtractValueFromSum() 160 mSumOverPastBuckets.erase(itr); in subtractValueFromSum() 170 mSumOverPastBuckets[keyValuePair.first] += keyValuePair.second; in addBucketToSum() 191 const auto& itr = mSumOverPastBuckets.find(key); in getSumOverPastBuckets() 192 if (itr != mSumOverPastBuckets.end()) { in getSumOverPastBuckets()
|
D | AnomalyTracker.h | 144 DimToValMap mSumOverPastBuckets; variable
|