/packages/modules/StatsD/statsd/tests/e2e/ |
D | EventMetric_e2e_test.cpp | 77 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local 80 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 148 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local 151 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 232 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local 235 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
|
D | ConfigUpdate_e2e_test.cpp | 190 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local 193 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 431 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local 434 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 503 ValidateCountBucket(data.bucket_info(1), bucketStartTimeNs + bucketSizeNs, dumpTimeNs, 1); in TEST_F() 718 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local 722 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 812 ValidateDurationBucket(data.bucket_info(1), bucketEndTimeNs, dumpTimeNs, in TEST_F() 813 dumpTimeNs - bucketEndTimeNs); in TEST_F() 827 ValidateDurationBucket(data.bucket_info(0), bucketEndTimeNs, dumpTimeNs, 48 * NS_PER_SEC); in TEST_F() [all …]
|
D | KllMetric_e2e_test.cpp | 67 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST_F() local 70 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
|
D | ConfigUpdate_e2e_ab_test.cpp | 334 uint64_t dumpTimeNs = bucketStartTimeNs + 90 * NS_PER_SEC; in TEST_P() local 337 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, NO_TIME_CONSTRAINTS, &buffer); in TEST_P() 369 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | MetricProducer.h | 245 void onDumpReport(const int64_t dumpTimeNs, in onDumpReport() argument 252 return onDumpReportLocked(dumpTimeNs, include_current_partial_bucket, erase_data, in onDumpReport() 272 void clearPastBuckets(const int64_t dumpTimeNs) { in clearPastBuckets() argument 274 return clearPastBucketsLocked(dumpTimeNs); in clearPastBuckets() 431 virtual void onDumpReportLocked(const int64_t dumpTimeNs, 437 virtual void clearPastBucketsLocked(const int64_t dumpTimeNs) = 0;
|
D | EventMetricProducer.h | 59 void onDumpReportLocked(const int64_t dumpTimeNs, 65 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | CountMetricProducer.cpp | 202 void CountMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 206 void CountMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument 213 flushLocked(dumpTimeNs); in onDumpReportLocked() 215 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
|
D | ValueMetricProducer.cpp | 288 const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 295 const int64_t dumpTimeNs, const bool includeCurrentPartialBucket, const bool eraseData, in onDumpReportLocked() argument 309 invalidateCurrentBucket(dumpTimeNs, BucketDropReason::DUMP_REPORT_REQUESTED); in onDumpReportLocked() 312 pullAndMatchEventsLocked(dumpTimeNs); in onDumpReportLocked() 316 flushCurrentBucketLocked(dumpTimeNs, dumpTimeNs); in onDumpReportLocked()
|
D | GaugeMetricProducer.cpp | 230 void GaugeMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 231 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked() 236 void GaugeMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument 244 flushLocked(dumpTimeNs); in onDumpReportLocked() 246 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
|
D | CountMetricProducer.h | 72 void onDumpReportLocked(const int64_t dumpTimeNs, 79 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | DurationMetricProducer.cpp | 483 void DurationMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 484 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked() 488 void DurationMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument 495 flushLocked(dumpTimeNs); in onDumpReportLocked() 497 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
|
D | DurationMetricProducer.h | 89 void onDumpReportLocked(const int64_t dumpTimeNs, 96 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | GaugeMetricProducer.h | 111 void onDumpReportLocked(const int64_t dumpTimeNs, 117 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | EventMetricProducer.cpp | 157 void EventMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 162 void EventMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
|
D | ValueMetricProducer.h | 151 void onDumpReportLocked(const int64_t dumpTimeNs, const bool includeCurrentPartialBucket, 167 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | MetricsManager.h | 135 virtual void onDumpReport(const int64_t dumpTimeNs, const int64_t wallClockNs,
|
/packages/modules/StatsD/statsd/src/ |
D | StatsLogProcessor.h | 61 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs, const int64_t wallClockNs, 65 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs, const int64_t wallClockNs, 70 void onDumpReport(const ConfigKey& key, const int64_t dumpTimeNs,
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 3523 int64_t dumpTimeNs = bucket4StartTimeNs + 1000; in TEST() local 3528 valueProducer->onDumpReport(dumpTimeNs, true /* include current buckets */, true, in TEST() 3551 EXPECT_EQ(NanoToMillis(dumpTimeNs), in TEST() 3557 EXPECT_EQ(NanoToMillis(dumpTimeNs), dropEvent.drop_time_millis()); in TEST()
|