Searched refs:partialBucketSplitTimeNs (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/cmds/statsd/tests/metrics/ |
D | DurationMetricProducer_test.cpp | 253 int64_t partialBucketSplitTimeNs = bucketStartTimeNs + 15 * NS_PER_SEC; in TEST_P() local 256 durationProducer.notifyAppUpgrade(partialBucketSplitTimeNs); in TEST_P() 259 durationProducer.onStatsdInitCompleted(partialBucketSplitTimeNs); in TEST_P() 266 EXPECT_EQ(partialBucketSplitTimeNs, buckets[0].mBucketEndNs); in TEST_P() 267 EXPECT_EQ(partialBucketSplitTimeNs - startTimeNs, buckets[0].mDuration); in TEST_P() 268 EXPECT_EQ(partialBucketSplitTimeNs, durationProducer.mCurrentBucketStartTimeNs); in TEST_P() 278 EXPECT_EQ(partialBucketSplitTimeNs, buckets[1].mBucketStartNs); in TEST_P() 280 EXPECT_EQ(bucketStartTimeNs + bucketSizeNs - partialBucketSplitTimeNs, buckets[1].mDuration); in TEST_P() 316 int64_t partialBucketSplitTimeNs = bucketStartTimeNs + 65 * NS_PER_SEC; in TEST_P() local 319 durationProducer.notifyAppUpgrade(partialBucketSplitTimeNs); in TEST_P() [all …]
|
D | GaugeMetricProducer_test.cpp | 57 const int64_t partialBucketSplitTimeNs = bucketStartTimeNs + 15 * NS_PER_SEC; variable 243 gaugeProducer.notifyAppUpgrade(partialBucketSplitTimeNs); in TEST_P() 246 gaugeProducer.onStatsdInitCompleted(partialBucketSplitTimeNs); in TEST_P() 253 EXPECT_EQ(partialBucketSplitTimeNs, in TEST_P() 256 EXPECT_EQ(partialBucketSplitTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST_P() 268 EXPECT_EQ(partialBucketSplitTimeNs, in TEST_P() 270 EXPECT_EQ((int64_t)partialBucketSplitTimeNs, gaugeProducer.mCurrentBucketStartTimeNs); in TEST_P() 317 EXPECT_EQ(eventTimeNs, partialBucketSplitTimeNs); in TEST_P() 339 gaugeProducer.notifyAppUpgrade(partialBucketSplitTimeNs); in TEST_P() 342 gaugeProducer.onStatsdInitCompleted(partialBucketSplitTimeNs); in TEST_P() [all …]
|
D | ValueMetricProducer_test.cpp | 370 int64_t partialBucketSplitTimeNs = bucket2StartTimeNs + 2; in TEST_P() local 381 .WillOnce(Invoke([partialBucketSplitTimeNs]( in TEST_P() 384 EXPECT_EQ(eventTimeNs, partialBucketSplitTimeNs); in TEST_P() 387 CreateRepeatedValueLogEvent(tagId, partialBucketSplitTimeNs + 8, 5)); in TEST_P() 403 valueProducer->notifyAppUpgrade(partialBucketSplitTimeNs); in TEST_P() 406 valueProducer->onStatsdInitCompleted(partialBucketSplitTimeNs); in TEST_P() 409 EXPECT_EQ(partialBucketSplitTimeNs, valueProducer->mCurrentBucketStartTimeNs); in TEST_P() 413 {bucketSizeNs, partialBucketSplitTimeNs - bucket2StartTimeNs}, in TEST_P() 415 {bucket2StartTimeNs, partialBucketSplitTimeNs}); in TEST_P() 720 int64_t partialBucketSplitTimeNs = bucketStartTimeNs + 150; in TEST_P() local [all …]
|