Searched refs:eventProducer (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | EventMetricProducer_test.cpp | 68 EventMetricProducer eventProducer(kConfigKey, metric, -1 /*-1 meaning no condition*/, {}, in TEST() local 71 eventProducer.onMatchedLogEvent(1 /*matcher index*/, event1); in TEST() 72 eventProducer.onMatchedLogEvent(1 /*matcher index*/, event2); in TEST() 77 eventProducer.onDumpReport(bucketStartTimeNs + 20, true /*include current partial bucket*/, in TEST() 104 EventMetricProducer eventProducer(kConfigKey, metric, 0 /*condition index*/, in TEST() local 107 eventProducer.onConditionChanged(true /*condition*/, bucketStartTimeNs); in TEST() 108 eventProducer.onMatchedLogEvent(1 /*matcher index*/, event1); in TEST() 110 eventProducer.onConditionChanged(false /*condition*/, bucketStartTimeNs + 2); in TEST() 112 eventProducer.onMatchedLogEvent(1 /*matcher index*/, event2); in TEST() 117 eventProducer.onDumpReport(bucketStartTimeNs + 20, true /*include current partial bucket*/, in TEST() [all …]
|