Home
last modified time | relevance | path

Searched refs:event_activation (Results 1 – 6 of 6) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DGaugeMetric_e2e_pull_test.cpp542 auto event_activation = metric_activation->add_event_activation(); in TEST() local
543 event_activation->set_atom_matcher_id(batterySaverStartMatcher.id()); in TEST()
544 event_activation->set_ttl_seconds(ttlNs / 1000000000); in TEST()
722 auto event_activation = metric_activation->add_event_activation(); in TEST() local
723 event_activation->set_atom_matcher_id(batterySaverStartMatcher.id()); in TEST()
724 event_activation->set_ttl_seconds(ttlNs / NS_PER_SEC); in TEST()
DValueMetric_pull_e2e_test.cpp463 auto event_activation = metric_activation->add_event_activation(); in TEST() local
464 event_activation->set_atom_matcher_id(batterySaverStartMatcher.id()); in TEST()
465 event_activation->set_ttl_seconds(ttlNs / 1000000000); in TEST()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp992 auto event_activation = metric_activation->add_event_activation(); in TEST_F() local
994 event_activation->set_atom_matcher_id(StringToId("SOME_MATCHER")); in TEST_F()
1010 auto event_activation = metric_activation->add_event_activation(); in TEST_F() local
1011 event_activation->set_atom_matcher_id(StringToId("ScreenTurnedOn")); in TEST_F()
1013 event_activation->set_deactivation_atom_matcher_id(StringToId("SOME_MATCHER")); in TEST_F()
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp384 const EventActivation& activation = metricActivation.event_activation(i); in handleMetricActivation()
446 const int64_t activationMatcherId = metricActivation.event_activation(i).atom_matcher_id(); in handleMetricActivationOnConfigUpdate()
476 if (metricActivation.event_activation(i).has_deactivation_atom_matcher_id()) { in handleMetricActivationOnConfigUpdate()
478 metricActivation.event_activation(i).deactivation_atom_matcher_id(); in handleMetricActivationOnConfigUpdate()
Dconfig_update_utils.cpp484 const EventActivation& activation = metricActivation.event_activation(i); in metricActivationDepsChange()
/packages/modules/StatsD/statsd/src/
Dstatsd_config.proto604 repeated EventActivation event_activation = 2; field