Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/tests/e2e/
DGaugeMetric_e2e_pull_test.cpp59 int64_t baseTimeNs = 10 * NS_PER_SEC; in TEST() local
60 int64_t configAddedTimeNs = 10 * 60 * NS_PER_SEC + baseTimeNs; in TEST()
66 baseTimeNs, configAddedTimeNs, config, cfgKey); 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()
152 EXPECT_EQ(baseTimeNs + 2 * bucketSizeNs, data.bucket_info(0).start_bucket_elapsed_nanos()); in TEST()
[all …]
DValueMetric_pull_e2e_test.cpp59 int64_t baseTimeNs = 10 * NS_PER_SEC; in TEST() local
60 int64_t configAddedTimeNs = 10 * 60 * NS_PER_SEC + baseTimeNs; in TEST()
66 baseTimeNs, configAddedTimeNs, config, cfgKey); in TEST()
83 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + bucketSizeNs, expectedPullTimeNs); in TEST()
99 EXPECT_EQ(baseTimeNs + startBucketNum * bucketSizeNs + 2 * bucketSizeNs, expectedPullTimeNs); in TEST()
143 EXPECT_EQ(baseTimeNs + 2 * bucketSizeNs, data.bucket_info(0).start_bucket_elapsed_nanos()); in TEST()
144 EXPECT_EQ(baseTimeNs + 3 * bucketSizeNs, data.bucket_info(0).end_bucket_elapsed_nanos()); in TEST()
147 EXPECT_EQ(baseTimeNs + 3 * bucketSizeNs, data.bucket_info(1).start_bucket_elapsed_nanos()); in TEST()
148 EXPECT_EQ(baseTimeNs + 4 * bucketSizeNs, data.bucket_info(1).end_bucket_elapsed_nanos()); in TEST()
151 EXPECT_EQ(baseTimeNs + 4 * bucketSizeNs, data.bucket_info(2).start_bucket_elapsed_nanos()); in TEST()
[all …]