Searched refs:createEventMetric (Results 1 – 10 of 10) sorted by relevance
/packages/modules/StatsD/statsd/benchmark/ |
D | on_log_event_benchmark.cpp | 31 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/ |
D | EventMetric_e2e_test.cpp | 49 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()
|
D | RestrictedConfig_e2e_test.cpp | 40 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()
|
D | RestrictedEventMetric_e2e_test.cpp | 100 createEventMetric("RestrictedMetricLogged", restrictedAtomMatcher.id(), nullopt); in SetUp() 746 EventMetric metricWithoutMatcher = createEventMetric("metricWithoutMatcher", 999999, nullopt); in TEST_F()
|
D | ConfigUpdate_e2e_test.cpp | 110 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/ |
D | config_update_utils_test.cpp | 1864 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()
|
D | metrics_manager_util_test.cpp | 607 *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/ |
D | UidMap_test.cpp | 759 createEventMetric("TestAtomReported", config.atom_matcher(0).id(), nullopt); in SetUp()
|
D | statsd_test_util.h | 339 EventMetric createEventMetric(const string& name, int64_t what, const optional<int64_t>& condition);
|
D | statsd_test_util.cpp | 538 EventMetric createEventMetric(const string& name, const int64_t what, in createEventMetric() function
|