Searched refs:mSumOverPastBuckets (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 149 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 0u); in TEST() 160 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3u); in TEST() 174 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3u); in TEST() 187 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3UL); in TEST() 201 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 3UL); in TEST() 214 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 227 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 240 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 253 EXPECT_EQ(anomalyTracker.mSumOverPastBuckets.size(), 2UL); in TEST() 294 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 | 142 DimToValMap mSumOverPastBuckets; variable
|