Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/metrics/
DDurationMetricProducer_test.cpp113 LogEvent event4(tagId, bucketStartTimeNs + bucketSizeNs + 3); in TEST() local
114 event4.init(); in TEST()
132 durationProducer.onMatchedLogEvent(2 /* stop index*/, event4); in TEST()
161 LogEvent event4(tagId, bucketStartTimeNs + bucketSizeNs + 3); in TEST() local
162 event4.init(); in TEST()
179 durationProducer.onMatchedLogEvent(2 /* stop index*/, event4); in TEST()
DGaugeMetricProducer_test.cpp259 shared_ptr<LogEvent> event4 = in TEST() local
261 event4->write(1); in TEST()
262 event4->write(10); in TEST()
263 event4->init(); in TEST()
264 gaugeProducer.onMatchedLogEvent(1 /*log matcher index*/, *event4); in TEST()
642 std::shared_ptr<LogEvent> event4 = in TEST() local
644 event4->write("some value"); in TEST()
645 event4->init(); in TEST()
646 gaugeProducer.onDataPulled({event4}, /** succeed */ true, bucketStartTimeNs + 3 * bucketSizeNs); in TEST()
DValueMetricProducer_test.cpp937 shared_ptr<LogEvent> event4 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 40); in TEST() local
938 event4->write(1); in TEST()
939 event4->write(40); in TEST()
940 event4->init(); in TEST()
941 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event4); in TEST()
995 shared_ptr<LogEvent> event4 in TEST() local
997 event4->write(35); in TEST()
998 event4->write(1); // value of interest in TEST()
999 event4->init(); in TEST()
1023 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event4); in TEST()
[all …]
DCountMetricProducer_test.cpp359 LogEvent event4(tagId, bucketStartTimeNs + 3 * bucketSizeNs + 1); in TEST() local
360 event4.init(); in TEST()
383 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event4); in TEST()
/frameworks/base/cmds/statsd/tests/condition/
DSimpleConditionTracker_test.cpp371 LogEvent event4(1 /*tagId*/, 0 /*timestamp*/); in TEST() local
372 makeWakeLockEvent(&event4, uids, "wl2", 0); // now release it. in TEST()
378 conditionTracker.evaluateCondition(event4, matcherState, allPredicates, conditionCache, in TEST()
478 LogEvent event4(1 /*tagId*/, 0 /*timestamp*/); in TEST() local
479 makeWakeLockEvent(&event4, uid_list2, uid2_wl1, 0); // now release it. in TEST()
485 conditionTracker.evaluateCondition(event4, matcherState, allPredicates, conditionCache, in TEST()
/frameworks/base/cmds/statsd/tests/
DLogEntryMatcher_test.cpp632 LogEvent event4(TAG_ID, 0); in TEST() local
633 event4.write(9.9f); in TEST()
634 event4.init(); in TEST()
635 EXPECT_FALSE(matchesSimple(uidMap, *simpleMatcher, event4)); in TEST()