Home
last modified time | relevance | path

Searched refs:createEventMetric (Results 1 – 10 of 10) sorted by relevance

/packages/modules/StatsD/statsd/benchmark/
Don_log_event_benchmark.cpp31 createEventMetric("Event", wakelockAcquireMatcher.id(), /* condition */ nullopt); in BM_OnLogEvent()
36 *config.add_event_metric() = createEventMetric("Event" + to_string(atomId), matcher.id(), in BM_OnLogEvent()
/packages/modules/StatsD/statsd/tests/e2e/
DEventMetric_e2e_test.cpp49 createEventMetric("EventWakelockStateChanged", wakelockAcquireMatcher.id(), nullopt); in TEST_F()
113 createEventMetric("EventTestAtomReported", testAtomReportedAtomMatcher.id(), nullopt); in TEST_F()
203 EventMetric testAtomReportedEventMetric = createEventMetric( in TEST_F()
266 EventMetric testAtomReportedEventMetric = createEventMetric( in TEST_F()
304 createEventMetric("EventBatterySaverOn", batterySaverOnMatcher.id(), nullopt); in TEST_F()
DRestrictedConfig_e2e_test.cpp40 EventMetric eventMetric = createEventMetric("EventMetric", atomMatcher.id(), nullopt); in CreateConfigWithOneMetric()
50 EventMetric eventMetric = createEventMetric("EventMetric", atomMatcher.id(), nullopt); in CreateConfigWithTwoMetrics()
54 createEventMetric("AnotherEventMetric", atomMatcher.id(), nullopt); in CreateConfigWithTwoMetrics()
DRestrictedEventMetric_e2e_test.cpp100 createEventMetric("RestrictedMetricLogged", restrictedAtomMatcher.id(), nullopt); in SetUp()
746 EventMetric metricWithoutMatcher = createEventMetric("metricWithoutMatcher", 999999, nullopt); in TEST_F()
DConfigUpdate_e2e_test.cpp110 createEventMetric("SyncOrWlWhileScreenOnOrUnplugged", combinationMatcher->id(), in TEST_F()
112 EventMetric eventChange = createEventMetric( in TEST_F()
114 EventMetric eventRemove = createEventMetric("Syncs", syncStartMatcher.id(), nullopt); in TEST_F()
178 EventMetric eventNew = createEventMetric("ScreenOn", screenOnMatcher.id(), nullopt); in TEST_F()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp1864 EventMetric event1 = createEventMetric("EVENT1", matcher1Id, predicate2Id); in TEST_F()
1869 EventMetric event2 = createEventMetric("EVENT2", matcher2Id, nullopt); in TEST_F()
1874 EventMetric event3 = createEventMetric("EVENT3", matcher3Id, nullopt); in TEST_F()
1886 EventMetric event4 = createEventMetric("EVENT4", matcher4Id, predicate1Id); in TEST_F()
1891 EventMetric event5 = createEventMetric("EVENT5", matcher5Id, nullopt); in TEST_F()
1918 EventMetric event6 = createEventMetric("EVENT6", matcher3Id, predicate2Id); in TEST_F()
3349 EventMetric event1 = createEventMetric("EVENT1", matcher1Id, nullopt); in TEST_F()
3487 EventMetric eventMetric = createEventMetric("EVENT1", matcher2Id, nullopt); in TEST_F()
Dmetrics_manager_util_test.cpp607 *metric = createEventMetric(/*name=*/"Event", /*what=*/StringToId("ScreenTurnedOn"), in TEST_F()
622 *metric = createEventMetric(/*name=*/"Event", /*what=*/StringToId("ScreenTurnedOn"), in TEST_F()
635 *metric = createEventMetric(/*name=*/"Event", /*what=*/StringToId("ScreenTurnedOn"), in TEST_F()
648 *metric = createEventMetric(/*name=*/"Event", /*what=*/StringToId("ScreenTurnedOn"), in TEST_F()
/packages/modules/StatsD/statsd/tests/
DUidMap_test.cpp759 createEventMetric("TestAtomReported", config.atom_matcher(0).id(), nullopt); in SetUp()
Dstatsd_test_util.h339 EventMetric createEventMetric(const string& name, int64_t what, const optional<int64_t>& condition);
Dstatsd_test_util.cpp538 EventMetric createEventMetric(const string& name, const int64_t what, in createEventMetric() function