Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp238 LogEvent event4(0, 4, 1004); in TEST() local
239 event4.init(); in TEST()
270 p.OnLogEvent(&event4, false); in TEST()
289 p.OnLogEvent(&event4, false); in TEST()
307 p.OnLogEvent(&event4, true); in TEST()
DLogEntryMatcher_test.cpp623 LogEvent event4(TAG_ID, 0); in TEST() local
624 event4.write(9.9f); in TEST()
625 event4.init(); in TEST()
626 EXPECT_FALSE(matchesSimple(uidMap, *simpleMatcher, event4)); in TEST()
/frameworks/base/cmds/statsd/tests/metrics/
DGaugeMetricProducer_test.cpp193 shared_ptr<LogEvent> event4 = in TEST() local
195 event4->write(1); in TEST()
196 event4->write(10); in TEST()
197 event4->init(); in TEST()
198 gaugeProducer.onMatchedLogEvent(1 /*log matcher index*/, *event4); in TEST()
493 std::shared_ptr<LogEvent> event4 = in TEST() local
495 event4->write("some value"); in TEST()
496 event4->init(); in TEST()
497 gaugeProducer.onDataPulled({event4}); in TEST()
DValueMetricProducer_test.cpp600 shared_ptr<LogEvent> event4 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 40); in TEST() local
601 event4->write(1); in TEST()
602 event4->write(40); in TEST()
603 event4->init(); in TEST()
604 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event4); in TEST()
656 shared_ptr<LogEvent> event4 in TEST() local
658 event4->write(35); in TEST()
659 event4->write(1); // value of interest in TEST()
660 event4->init(); in TEST()
684 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event4); in TEST()
[all …]
DCountMetricProducer_test.cpp352 LogEvent event4(tagId, bucketStartTimeNs + 3 * bucketSizeNs + 1); in TEST() local
353 event4.init(); in TEST()
376 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event4); in TEST()
DDurationMetricProducer_test.cpp97 LogEvent event4(tagId, bucketStartTimeNs + bucketSizeNs + 3); in TEST() local
98 event4.init(); in TEST()
116 durationProducer.onMatchedLogEvent(2 /* stop 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()