Searched refs:oldAlertTrackerMap (Results 1 – 3 of 3) sorted by relevance
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | config_update_utils.h | 202 const Alert& alert, const std::unordered_map<int64_t, int>& oldAlertTrackerMap, 227 const std::unordered_map<int64_t, int>& oldAlertTrackerMap, 248 const std::unordered_map<int64_t, int>& oldAlertTrackerMap,
|
D | config_update_utils.cpp | 1082 const Alert& alert, const unordered_map<int64_t, int>& oldAlertTrackerMap, in determineAlertUpdateStatus() argument 1086 const auto& oldAnomalyTrackerIt = oldAlertTrackerMap.find(alert.id()); in determineAlertUpdateStatus() 1087 if (oldAnomalyTrackerIt == oldAlertTrackerMap.end()) { in determineAlertUpdateStatus() 1123 const unordered_map<int64_t, int>& oldAlertTrackerMap, in updateAlerts() argument 1134 determineAlertUpdateStatus(config.alert(i), oldAlertTrackerMap, oldAnomalyTrackers, in updateAlerts() 1147 const auto& oldAnomalyTrackerIt = oldAlertTrackerMap.find(alert.id()); in updateAlerts() 1148 if (oldAnomalyTrackerIt == oldAlertTrackerMap.end()) { in updateAlerts() 1209 const unordered_map<int64_t, int>& oldAlertTrackerMap, in updateStatsdConfig() argument 1283 oldAlertTrackerMap, oldAnomalyTrackers, anomalyAlarmMonitor, in updateStatsdConfig()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 76 unordered_map<int64_t, int> oldAlertTrackerMap; variable 97 oldAlertTrackerMap, metricsWithActivation, oldStateHashes, noReportMetricIds) in initConfig() 133 oldAlertTrackerMap.clear(); in SetUp() 3671 EXPECT_EQ(determineAlertUpdateStatus(alert, oldAlertTrackerMap, oldAnomalyTrackers, in TEST_F() 3690 EXPECT_EQ(determineAlertUpdateStatus(alert, oldAlertTrackerMap, oldAnomalyTrackers, in TEST_F() 3710 EXPECT_EQ(determineAlertUpdateStatus(alert, oldAlertTrackerMap, oldAnomalyTrackers, in TEST_F() 3825 oldAlertTrackerMap, oldAnomalyTrackers, anomalyAlarmMonitor, in TEST_F() 3839 EXPECT_EQ(oldAnomalyTrackers[oldAlertTrackerMap.at(alert1Id)], in TEST_F() 3843 EXPECT_NE(oldAnomalyTrackers[oldAlertTrackerMap.at(alert2Id)], in TEST_F() 3845 EXPECT_NE(oldAnomalyTrackers[oldAlertTrackerMap.at(alert3Id)], in TEST_F()
|