/packages/modules/StatsD/statsd/tests/metrics/ |
D | KllMetricProducer_test.cpp | 317 int64_t dumpReportTimeNs = bucketStartTimeNs + 10000; in TEST() local 318 kllProducer->onDumpReport(dumpReportTimeNs, true /* include recent buckets */, true, in TEST() 328 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), in TEST() 334 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), dropEvent.drop_time_millis()); in TEST() 355 int64_t dumpReportTimeNs = bucketStartTimeNs + 9000000; in TEST() local 356 kllProducer->onDumpReport(dumpReportTimeNs, true /* include recent buckets */, true, in TEST() 366 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), in TEST() 372 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), dropEvent.drop_time_millis()); in TEST() 387 int64_t dumpReportTimeNs = bucketStartTimeNs + 10000000000; // 10 seconds in TEST() local 388 kllProducer->onDumpReport(dumpReportTimeNs, true /* include current bucket */, true, in TEST() [all …]
|
D | NumericValueMetricProducer_test.cpp | 3415 int64_t dumpReportTimeNs = bucketStartTimeNs + 10000; in TEST() local 3416 valueProducer->onDumpReport(dumpReportTimeNs, true /* include recent buckets */, true, in TEST() 3426 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), in TEST() 3432 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), dropEvent.drop_time_millis()); in TEST() 3465 int64_t dumpReportTimeNs = bucketStartTimeNs + 10000; in TEST() local 3466 valueProducer->onDumpReport(dumpReportTimeNs, true /* include recent buckets */, true, in TEST() 3476 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), in TEST() 3482 EXPECT_EQ(NanoToMillis(dumpReportTimeNs), dropEvent.drop_time_millis()); in TEST() 3599 int64_t dumpReportTimeNs = bucketStartTimeNs + 9000000; in TEST() local 3600 valueProducer->onDumpReport(dumpReportTimeNs, true /* include recent buckets */, true, in TEST() [all …]
|
D | GaugeMetricProducer_test.cpp | 998 int64_t dumpReportTimeNs = bucketStartTimeNs + 10000000000; in TEST() local 999 gaugeProducer.onDumpReport(dumpReportTimeNs, true /* include current buckets */, true, in TEST() 1016 ValidateGaugeBucketTimes(data.bucket_info(0), bucketStartTimeNs, dumpReportTimeNs, in TEST() 1021 ValidateGaugeBucketTimes(data.bucket_info(0), bucketStartTimeNs, dumpReportTimeNs, in TEST()
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | ValueMetric_pull_e2e_test.cpp | 503 int64_t dumpReportTimeNs = metricInitTimeNs + 1; // 10 mins + 2 ns. in TEST() local 505 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST() 517 const int64_t appUpgradeTimeNs = dumpReportTimeNs + 1; // 10 mins + 3 ns. in TEST() 526 dumpReportTimeNs = appUpgradeTimeNs + 1; // 10 mins + 4 ns. in TEST() 528 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST() 538 dumpReportTimeNs = dumpReportTimeNs + 1; // 10 mins + 6 ns. in TEST() 540 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST() 591 dumpReportTimeNs = configAddedTimeNs + 6 * bucketSizeNs + 10; in TEST() 594 processor->onDumpReport(cfgKey, dumpReportTimeNs, false /* include_current_partial_bucket */, in TEST() 633 dumpReportTimeNs = configAddedTimeNs + 7 * bucketSizeNs + 10; in TEST() [all …]
|
D | GaugeMetric_e2e_pull_test.cpp | 587 int64_t dumpReportTimeNs = appUpgradeTimeNs + 1; // 10 mins + 3 ns. in TEST() local 589 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST() 696 dumpReportTimeNs = configAddedTimeNs + 8 * bucketSizeNs + 10; in TEST() 698 processor->onDumpReport(cfgKey, dumpReportTimeNs, true /* include_current_partial_bucket */, in TEST()
|
D | DurationMetric_e2e_test.cpp | 442 int64_t dumpReportTimeNs = bucket2StartTimeNs + 40 * NS_PER_SEC; in TEST() local 443 processor->onDumpReport(cfgKey, dumpReportTimeNs, true, true, ADB_DUMP, FAST, &buffer); // 5:40 in TEST() 464 dumpReportTimeNs, 30 * NS_PER_SEC, in TEST() 465 dumpReportTimeNs - bucket2StartTimeNs); in TEST()
|
D | CountMetric_e2e_test.cpp | 244 int64_t dumpReportTimeNs = bucket3StartTimeNs + 290 * NS_PER_SEC; // 15:00 in TEST() local 245 processor->onDumpReport(cfgKey, dumpReportTimeNs, true, true, ADB_DUMP, FAST, &buffer); in TEST()
|