Home
last modified time | relevance | path

Searched refs:startBucketNum (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp71 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
73 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
83 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + bucketSizeNs, expectedPullTimeNs); in TEST()
99 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 2 * bucketSizeNs, expectedPullTimeNs); in TEST()
178 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
180 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
190 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + bucketSizeNs, expectedPullTimeNs); in TEST()
207 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 4 * bucketSizeNs, expectedPullTimeNs); in TEST()
215 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 6 * bucketSizeNs, expectedPullTimeNs); in TEST()
222 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 8 * bucketSizeNs, expectedPullTimeNs); in TEST()
[all …]
DGaugeMetric_e2e_pull_test.cpp71 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
73 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
83 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + bucketSizeNs, nextPullTimeNs); in TEST()
91 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 2 * bucketSizeNs, nextPullTimeNs); in TEST()
102 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 3 * bucketSizeNs, in TEST()
106 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 4 * bucketSizeNs, nextPullTimeNs); in TEST()
113 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 5 * bucketSizeNs, nextPullTimeNs); in TEST()
120 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 6 * bucketSizeNs, nextPullTimeNs); in TEST()
217 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
219 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
[all …]