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.cpp78 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
80 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
89 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + bucketSizeNs, expectedPullTimeNs); in TEST()
105 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 2 * bucketSizeNs, expectedPullTimeNs); in TEST()
182 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
184 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
193 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + bucketSizeNs, expectedPullTimeNs); in TEST()
211 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 4 * bucketSizeNs, expectedPullTimeNs); in TEST()
221 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 6 * bucketSizeNs, expectedPullTimeNs); in TEST()
228 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 8 * bucketSizeNs, expectedPullTimeNs); in TEST()
[all …]
DGaugeMetric_e2e_pull_test.cpp78 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
80 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
89 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + bucketSizeNs, nextPullTimeNs); in TEST()
97 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 2 * bucketSizeNs, nextPullTimeNs); in TEST()
108 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 3 * bucketSizeNs, in TEST()
112 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 4 * bucketSizeNs, nextPullTimeNs); in TEST()
119 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 5 * bucketSizeNs, nextPullTimeNs); in TEST()
126 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 6 * bucketSizeNs, nextPullTimeNs); in TEST()
223 int startBucketNum = processor->mMetricsManagers.begin()->second-> in TEST() local
225 EXPECT_GT(startBucketNum, (int64_t)0); in TEST()
[all …]