Home
last modified time | relevance | path

Searched refs:alertId (Results 1 – 8 of 8) sorted by relevance

/packages/modules/StatsD/statsd/src/external/
DPerfetto.cpp49 char alertId[25]; in CollectPerfettoTraceAndUploadToDropbox() local
53 snprintf(alertId, sizeof(alertId), "%" PRId64, alert_id); in CollectPerfettoTraceAndUploadToDropbox()
95 kDropboxTag, "--alert-id", alertId, "--config-id", configId, "--config-uid", in CollectPerfettoTraceAndUploadToDropbox()
/packages/modules/StatsD/statsd/src/guardrail/
DStatsdStats.h39 std::optional<int64_t> alertId; member
50 (this->stateId == other.stateId) && (this->alertId == other.alertId) &&
1131 const int64_t alertId);
1135 const int64_t alertId);
1147 const InvalidConfigReasonEnum reason, int64_t subscriptionId, int64_t alertId);
DStatsdStats.cpp1666 if (configStats.reason->alertId.has_value()) { in addConfigStatsToProto()
1668 configStats.reason->alertId.value()); in addConfigStatsToProto()
2165 const int64_t alertId) { in createInvalidConfigReasonWithAlert() argument
2167 invalidConfigReason.alertId = alertId; in createInvalidConfigReasonWithAlert()
2173 const int64_t alertId) { in createInvalidConfigReasonWithAlert() argument
2175 invalidConfigReason.alertId = alertId; in createInvalidConfigReasonWithAlert()
2202 const InvalidConfigReasonEnum reason, const int64_t subscriptionId, const int64_t alertId) { in createInvalidConfigReasonWithSubscriptionAndAlert() argument
2205 invalidConfigReason.alertId = alertId; in createInvalidConfigReasonWithSubscriptionAndAlert()
/packages/modules/StatsD/statsd/src/metrics/
DMetricsManager.cpp888 int64_t alertId = alertMetadata.alert_id(); in loadMetadata() local
889 const auto& it = mAlertTrackerMap.find(alertId); in loadMetadata()
891 ALOGE("No anomalyTracker found for alertId %lld", (long long)alertId); in loadMetadata()
/packages/modules/StatsD/statsd/tests/guardrail/
DStatsdStats_test.cpp116 invalidConfigReason->alertId = 3; in TEST()
158 invalidConfigReason->alertId = 2; in TEST()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp1331 int64_t alertId = 1; in TEST_F() local
1332 *config.add_subscription() = createSubscription("Subscription", Subscription::ALERT, alertId); in TEST_F()
1336 StringToId("Subscription"), alertId)); in TEST_F()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h854 StatsdConfig buildGoodConfig(int configId, int alertId);
Dstatsd_test_util.cpp2374 StatsdConfig buildGoodConfig(int configId, int alertId) { in buildGoodConfig() argument
2377 alert->set_id(alertId); in buildGoodConfig()