Lines Matching refs:AnomalyTracker
34 AnomalyTracker::AnomalyTracker(const Alert& alert, const ConfigKey& configKey) in AnomalyTracker() function in android::os::statsd::AnomalyTracker
48 AnomalyTracker::~AnomalyTracker() { in ~AnomalyTracker()
52 void AnomalyTracker::resetStorage() { in resetStorage()
60 size_t AnomalyTracker::index(int64_t bucketNum) const { in index()
67 void AnomalyTracker::advanceMostRecentBucketTo(const int64_t& bucketNum) { in advanceMostRecentBucketTo()
93 void AnomalyTracker::addPastBucket(const MetricDimensionKey& key, in addPastBucket()
123 void AnomalyTracker::addPastBucket(std::shared_ptr<DimToValMap> bucket, in addPastBucket()
142 void AnomalyTracker::subtractBucketFromSum(const shared_ptr<DimToValMap>& bucket) { in subtractBucketFromSum()
152 void AnomalyTracker::subtractValueFromSum(const MetricDimensionKey& key, in subtractValueFromSum()
164 void AnomalyTracker::addBucketToSum(const shared_ptr<DimToValMap>& bucket) { in addBucketToSum()
174 int64_t AnomalyTracker::getPastBucketValue(const MetricDimensionKey& key, in getPastBucketValue()
190 int64_t AnomalyTracker::getSumOverPastBuckets(const MetricDimensionKey& key) const { in getSumOverPastBuckets()
198 bool AnomalyTracker::detectAnomaly(const int64_t& currentBucketNum, in detectAnomaly()
210 void AnomalyTracker::declareAnomaly(const int64_t& timestampNs, int64_t metricId, in declareAnomaly()
241 void AnomalyTracker::detectAndDeclareAnomaly(const int64_t& timestampNs, in detectAndDeclareAnomaly()
250 bool AnomalyTracker::isInRefractoryPeriod(const int64_t& timestampNs, in isInRefractoryPeriod()
259 void AnomalyTracker::informSubscribers(const MetricDimensionKey& key, int64_t metric_id, in informSubscribers()