/packages/modules/StatsD/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 141 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 142 makeLogEvent(&event4, bucketStartTimeNs + bucketSizeNs + 3, tagId); in TEST() 163 durationProducer.onMatchedLogEvent(2 /* stop index*/, event4); in TEST() 192 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 193 makeLogEvent(&event4, bucketStartTimeNs + bucketSizeNs + 3, tagId); in TEST() 213 durationProducer.onMatchedLogEvent(2 /* stop index*/, event4); in TEST()
|
D | CountMetricProducer_test.cpp | 414 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 415 makeLogEvent(&event4, bucketStartTimeNs + 3 * bucketSizeNs + 1, tagId); in TEST() 438 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event4); in TEST()
|
D | GaugeMetricProducer_test.cpp | 277 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST_P() local 278 CreateTwoValueLogEvent(&event4, tagId, bucketStartTimeNs + 125 * NS_PER_SEC, 1, 10); in TEST_P() 279 gaugeProducer.onMatchedLogEvent(1 /*log matcher index*/, event4); in TEST_P()
|
D | ValueMetricProducer_test.cpp | 959 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 960 CreateRepeatedValueLogEvent(&event4, tagId, bucketStartTimeNs + 40, 40); in TEST() 961 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, event4); in TEST() 1009 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 1010 CreateRepeatedValueLogEvent(&event4, tagId, in TEST() 1033 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, event4); in TEST() 1036 std::ceil(1.0 * event4.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 1040 std::ceil(1.0 * event4.GetElapsedTimestampNs() / NS_PER_SEC + refPeriodSec)); in TEST() 1541 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 1542 CreateRepeatedValueLogEvent(&event4, tagId, bucket2StartTimeNs + 15, 15); in TEST() [all …]
|
/packages/modules/StatsD/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 479 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 480 makeWakeLockEvent(&event4, /*atomId=*/1, /*timestamp=*/0, uids, "wl2", /*acquire=*/0); in TEST() 486 conditionTracker.evaluateCondition(event4, matcherState, allPredicates, conditionCache, in TEST() 583 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 584 makeWakeLockEvent(&event4, /*atomId=*/1, /*timestamp=*/0, uids2, uid2_wl1, in TEST() 591 conditionTracker.evaluateCondition(event4, matcherState, allPredicates, conditionCache, in TEST()
|
/packages/modules/StatsD/statsd/tests/state/ |
D | StateTracker_test.cpp | 274 std::unique_ptr<LogEvent> event4 = CreateReleaseWakelockEvent( in TEST() local 276 mgr.onLogEvent(*event4); in TEST() 496 std::unique_ptr<LogEvent> event4 = CreateUidProcessStateChangedEvent( in TEST() local 539 mgr.onLogEvent(*event4); in TEST()
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEntryMatcher_test.cpp | 680 LogEvent event4(/*uid=*/0, /*pid=*/0); in TEST() local 681 makeFloatLogEvent(&event4, TAG_ID, 0, 9.9f); in TEST() 682 EXPECT_FALSE(matchesSimple(uidMap, *simpleMatcher, event4)); in TEST()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | config_update_utils_test.cpp | 1704 EventMetric event4 = createEventMetric("EVENT4", matcher4Id, predicate1Id); in TEST_F() local 1705 int64_t event4Id = event4.id(); in TEST_F() 1706 *config.add_event_metric() = event4; in TEST_F() 1780 *newConfig.add_event_metric() = event4; in TEST_F()
|