Home
last modified time | relevance | path

Searched refs:event3 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DCountMetricProducer_test.cpp82 LogEvent event3(tagId, bucketStartTimeNs + bucketSizeNs + 2); in TEST() local
83 event3.init(); in TEST()
85 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST()
258 LogEvent event3(tagId, bucketStartTimeNs + 62 * NS_PER_SEC + 10); in TEST() local
259 event3.write("333"); // uid in TEST()
260 event3.init(); in TEST()
261 countProducer.onMatchedLogEvent(1 /*log matcher index*/, event3); in TEST()
308 LogEvent event3(tagId, bucketStartTimeNs + 121 * NS_PER_SEC + 10); in TEST() local
309 event3.write("333"); // uid in TEST()
310 event3.init(); in TEST()
[all …]
DGaugeMetricProducer_test.cpp182 shared_ptr<LogEvent> event3 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 65 * NS_PER_SEC); in TEST() local
183 event3->write(1); in TEST()
184 event3->write(10); in TEST()
185 event3->init(); in TEST()
186 gaugeProducer.onMatchedLogEvent(1 /*log matcher index*/, *event3); in TEST()
477 std::shared_ptr<LogEvent> event3 = in TEST() local
479 event3->write("some value"); in TEST()
480 event3->write(26); in TEST()
481 event3->init(); in TEST()
483 gaugeProducer.onDataPulled({event3}); in TEST()
DValueMetricProducer_test.cpp394 shared_ptr<LogEvent> event3 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 65 * NS_PER_SEC); in TEST() local
395 event3->write(1); in TEST()
396 event3->write(10); in TEST()
397 event3->init(); in TEST()
398 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event3); in TEST()
588 shared_ptr<LogEvent> event3 = make_shared<LogEvent>(tagId, bucketStartTimeNs + 30); in TEST() local
589 event3->write(1); in TEST()
590 event3->write(30); in TEST()
591 event3->init(); in TEST()
592 valueProducer.onMatchedLogEvent(1 /*log matcher index*/, *event3); in TEST()
[all …]
DDurationMetricProducer_test.cpp95 LogEvent event3(tagId, bucketStartTimeNs + bucketSizeNs + 1); in TEST() local
96 event3.init(); in TEST()
114 durationProducer.onMatchedLogEvent(1 /* start index*/, event3); in TEST()
/frameworks/base/cmds/statsd/tests/condition/
DStateTracker_test.cpp97 LogEvent event3(kUidProcTag, 0 /*timestamp*/); in TEST() local
98 makeUidProcStateEvent(uid2, state1, &event3); in TEST()
101 tracker.evaluateCondition(event3, matcherState, allPredicates, conditionCache, changedCache); in TEST()
DSimpleConditionTracker_test.cpp351 LogEvent event3(1 /*tagId*/, 0 /*timestamp*/); in TEST() local
352 makeWakeLockEvent(&event3, uids, "wl1", 0); // now release it. in TEST()
358 conditionTracker.evaluateCondition(event3, matcherState, allPredicates, conditionCache, in TEST()
466 LogEvent event3(1 /*tagId*/, 0 /*timestamp*/); in TEST() local
467 makeWakeLockEvent(&event3, uid_list1, uid1_wl1, 0); // now release it. in TEST()
473 conditionTracker.evaluateCondition(event3, matcherState, allPredicates, conditionCache, in TEST()
605 LogEvent event3(2 /*tagId*/, 0 /*timestamp*/); in TEST() local
613 conditionTracker.evaluateCondition(event3, matcherState, allPredicates, conditionCache, in TEST()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp235 LogEvent event3(0, 3, 1005); in TEST() local
236 event3.init(); in TEST()
265 p.OnLogEvent(&event3, false); in TEST()
283 p.OnLogEvent(&event3, false); in TEST()
DLogEntryMatcher_test.cpp617 LogEvent event3(TAG_ID, 0); in TEST() local
618 event3.write(10.1f); in TEST()
619 event3.init(); in TEST()
621 EXPECT_TRUE(matchesSimple(uidMap, *simpleMatcher, event3)); in TEST()