Home
last modified time | relevance | path

Searched refs:valueMetrics (Results 1 – 4 of 4) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp276 StatsLogReport::ValueMetricDataWrapper valueMetrics; in TEST() local
278 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).value_metrics(), &valueMetrics); in TEST()
279 ASSERT_GT((int)valueMetrics.data_size(), 1); in TEST()
281 auto data = valueMetrics.data(0); in TEST()
306 valueMetrics = reports.reports(0).metrics(0).value_metrics(); in TEST()
307 ASSERT_EQ(2, valueMetrics.skipped_size()); in TEST()
309 StatsLogReport::SkippedBuckets skipped = valueMetrics.skipped(0); in TEST()
316 skipped = valueMetrics.skipped(1); in TEST()
402 StatsLogReport::ValueMetricDataWrapper valueMetrics; in TEST() local
403 sortMetricDataByDimensionsValue(reports.reports(0).metrics(0).value_metrics(), &valueMetrics); in TEST()
[all …]
DStringReplace_e2e_test.cpp669 StatsLogReport::ValueMetricDataWrapper valueMetrics; in TEST() local
671 &valueMetrics); in TEST()
672 ASSERT_EQ(valueMetrics.data_size(), 1); in TEST()
674 ValueMetricData data = valueMetrics.data(0); in TEST()
679 StatsLogReport::ValueMetricDataWrapper valueMetrics; in TEST() local
681 &valueMetrics); in TEST()
682 ASSERT_EQ(valueMetrics.data_size(), 1); in TEST()
684 ValueMetricData data = valueMetrics.data(0); in TEST()
DConfigUpdate_e2e_test.cpp1491 StatsLogReport::ValueMetricDataWrapper valueMetrics; in TEST_F() local
1492 sortMetricDataByDimensionsValue(valueRemoveBefore.value_metrics(), &valueMetrics); in TEST_F()
1493 ASSERT_EQ(valueMetrics.data_size(), 1); in TEST_F()
1494 ValueMetricData data = valueMetrics.data(0); in TEST_F()
1517 valueMetrics.Clear(); in TEST_F()
1518 sortMetricDataByDimensionsValue(valueChangeBefore.value_metrics(), &valueMetrics); in TEST_F()
1519 ASSERT_EQ(valueMetrics.data_size(), 2); in TEST_F()
1520 data = valueMetrics.data(0); in TEST_F()
1525 data = valueMetrics.data(1); in TEST_F()
1539 valueMetrics.Clear(); in TEST_F()
[all …]
/packages/modules/StatsD/statsd/tests/metrics/
DNumericValueMetricProducer_test.cpp4736 StatsLogReport::ValueMetricDataWrapper valueMetrics; in TEST() local
4737 sortMetricDataByDimensionsValue(report.value_metrics(), &valueMetrics); in TEST()
4738 ASSERT_EQ(5, valueMetrics.data_size()); in TEST()
4742 ValueMetricData data = valueMetrics.data(0); in TEST()
4751 data = valueMetrics.data(1); in TEST()
4762 data = valueMetrics.data(2); in TEST()
4771 data = valueMetrics.data(3); in TEST()
4780 data = valueMetrics.data(4); in TEST()
5754 StatsLogReport::ValueMetricDataWrapper valueMetrics; in TEST() local
5755 sortMetricDataByDimensionsValue(report.value_metrics(), &valueMetrics); in TEST()
[all …]