/packages/modules/StatsD/statsd/tests/e2e/ |
D | EventMetric_e2e_test.cpp | 76 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local 79 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() 231 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local 234 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 275 uint64_t dumpTimeNs = configUpdateTime + 100 * NS_PER_SEC; in TEST_F() local 278 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 286 processor->onDumpReport(key, dumpTimeNs + 100, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 325 uint64_t dumpTimeNs = bucketStartTimeNs + 2000 * NS_PER_SEC; in TEST_F() local [all …]
|
D | KllMetric_e2e_test.cpp | 80 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST_F() local 83 processor->onDumpReport(key, dumpTimeNs, /*include_current_bucket*/ false, true, ADB_DUMP, FAST, in TEST_F() 133 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST_F() local 136 processor->onDumpReport(key, dumpTimeNs, /*include_current_bucket*/ false, true, ADB_DUMP, FAST, in TEST_F()
|
D | ConfigUpdate_e2e_test.cpp | 211 uint64_t dumpTimeNs = bucketStartTimeNs + 100 * NS_PER_SEC; in TEST_F() local 214 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 452 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local 455 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 526 ValidateCountBucket(data.bucket_info(1), bucketStartTimeNs + bucketSizeNs, dumpTimeNs, 1, in TEST_F() 742 uint64_t dumpTimeNs = bucketStartTimeNs + bucketSizeNs + 10 * NS_PER_SEC; in TEST_F() local 746 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F() 838 ValidateDurationBucket(data.bucket_info(1), bucketEndTimeNs, dumpTimeNs, in TEST_F() 839 dumpTimeNs - bucketEndTimeNs); in TEST_F() 853 ValidateDurationBucket(data.bucket_info(0), bucketEndTimeNs, dumpTimeNs, 48 * NS_PER_SEC); in TEST_F() [all …]
|
D | ConfigUpdate_e2e_ab_test.cpp | 329 uint64_t dumpTimeNs = bucketStartTimeNs + 90 * NS_PER_SEC; in TEST_P() local 332 processor->onDumpReport(key, dumpTimeNs, true, true, ADB_DUMP, NO_TIME_CONSTRAINTS, &buffer); in TEST_P() 364 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
|
D | RestrictedEventMetric_e2e_test.cpp | 674 uint64_t dumpTimeNs = configAddedTimeNs + 100 * NS_PER_SEC; in TEST_F() local 677 processor->onDumpReport(configKey, dumpTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST_F()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | RestrictedEventMetricProducer.h | 47 void onDumpReportLocked(const int64_t dumpTimeNs, const bool include_current_partial_bucket, 52 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | MetricProducer.h | 244 void onDumpReport(const int64_t dumpTimeNs, const bool include_current_partial_bucket, in onDumpReport() argument 248 onDumpReportLocked(dumpTimeNs, include_current_partial_bucket, erase_data, dumpLatency, in onDumpReport() 268 void clearPastBuckets(const int64_t dumpTimeNs) { in clearPastBuckets() argument 270 clearPastBucketsLocked(dumpTimeNs); in clearPastBuckets() 444 virtual void onDumpReportLocked(const int64_t dumpTimeNs, 449 virtual void clearPastBucketsLocked(const int64_t dumpTimeNs) = 0;
|
D | EventMetricProducer.h | 60 void onDumpReportLocked(const int64_t dumpTimeNs, 66 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | ValueMetricProducer.cpp | 316 const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 324 const int64_t dumpTimeNs, const bool includeCurrentPartialBucket, const bool eraseData, in onDumpReportLocked() argument 331 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked() 341 invalidateCurrentBucket(dumpTimeNs, BucketDropReason::DUMP_REPORT_REQUESTED); in onDumpReportLocked() 344 pullAndMatchEventsLocked(dumpTimeNs); in onDumpReportLocked() 348 flushCurrentBucketLocked(dumpTimeNs, dumpTimeNs); in onDumpReportLocked()
|
D | RestrictedEventMetricProducer.cpp | 69 const int64_t dumpTimeNs, const bool include_current_partial_bucket, const bool erase_data, in onDumpReportLocked() argument 91 void RestrictedEventMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument
|
D | CountMetricProducer.h | 75 void onDumpReportLocked(const int64_t dumpTimeNs, 82 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | CountMetricProducer.cpp | 217 void CountMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 222 void CountMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument 228 flushLocked(dumpTimeNs); in onDumpReportLocked() 230 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
|
D | GaugeMetricProducer.cpp | 243 void GaugeMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 244 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked() 250 void GaugeMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument 258 flushLocked(dumpTimeNs); in onDumpReportLocked() 260 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
|
D | DurationMetricProducer.h | 89 void onDumpReportLocked(const int64_t dumpTimeNs, 96 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | DurationMetricProducer.cpp | 506 void DurationMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 507 flushIfNeededLocked(dumpTimeNs); in clearPastBucketsLocked() 512 const int64_t dumpTimeNs, const bool include_current_partial_bucket, const bool erase_data, in onDumpReportLocked() argument 515 flushLocked(dumpTimeNs); in onDumpReportLocked() 517 flushIfNeededLocked(dumpTimeNs); in onDumpReportLocked()
|
D | GaugeMetricProducer.h | 118 void onDumpReportLocked(const int64_t dumpTimeNs, 124 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | EventMetricProducer.cpp | 167 void EventMetricProducer::clearPastBucketsLocked(const int64_t dumpTimeNs) { in clearPastBucketsLocked() argument 173 void EventMetricProducer::onDumpReportLocked(const int64_t dumpTimeNs, in onDumpReportLocked() argument
|
D | ValueMetricProducer.h | 157 void onDumpReportLocked(const int64_t dumpTimeNs, const bool includeCurrentPartialBucket, 173 void clearPastBucketsLocked(const int64_t dumpTimeNs) override;
|
D | MetricsManager.h | 136 virtual void onDumpReport(const int64_t dumpTimeNs, int64_t wallClockNs,
|
/packages/modules/StatsD/statsd/src/ |
D | StatsLogProcessor.h | 65 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs, int64_t wallClockNs, 69 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs, int64_t wallClockNs, 74 void onDumpReport(const ConfigKey& key, int64_t dumpTimeNs,
|
/packages/modules/StatsD/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 75 (const int64_t dumpTimeNs, const int64_t wallClockNs, 215 (const int64_t dumpTimeNs, const int64_t wallClockNs,
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 3524 int64_t dumpTimeNs = bucket4StartTimeNs + 1000; in TEST() local 3529 valueProducer->onDumpReport(dumpTimeNs, true /* include current buckets */, true, in TEST() 3552 EXPECT_EQ(NanoToMillis(dumpTimeNs), in TEST() 3558 EXPECT_EQ(NanoToMillis(dumpTimeNs), dropEvent.drop_time_millis()); in TEST()
|