Home
last modified time | relevance | path

Searched refs:bucket2StartTimeNs (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp49 const int64_t bucket2StartTimeNs = bucketStartTimeNs + bucketSizeNs; variable
231 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1); in TEST()
237 valueProducer->onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST()
313 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 10); in TEST()
327 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 10); in TEST()
332 valueProducer->onDataPulled(allData, /** success */ true, bucket2StartTimeNs); in TEST()
335 valueProducer->notifyAppUpgrade(bucket2StartTimeNs + 2, "com.foo", 10000, 1); in TEST()
388 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1); in TEST()
394 valueProducer->onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST()
460 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1); in TEST()
[all …]
DGaugeMetricProducer_test.cpp48 const int64_t bucket2StartTimeNs = bucketStartTimeNs + bucketSizeNs; variable
133 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1); in TEST()
140 gaugeProducer.onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST()
446 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1); in TEST()
451 gaugeProducer.onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST()
465 gaugeProducer.onConditionChanged(false, bucket2StartTimeNs + 10); in TEST()
548 shared_ptr<LogEvent> event = make_shared<LogEvent>(tagId, bucket2StartTimeNs + 1); in TEST()
553 gaugeProducer.onDataPulled(allData, /** succeed */ true, bucket2StartTimeNs); in TEST()
632 … gaugeProducer.onDataPulled({event3}, /** succeed */ true, bucket2StartTimeNs + 2 * bucketSizeNs); in TEST()
707 trigger.setElapsedTimestampNs(bucket2StartTimeNs + 1); in TEST()
[all …]
DCountMetricProducer_test.cpp56 int64_t bucket2StartTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local
104 EXPECT_EQ(bucket2StartTimeNs, bucketInfo2.mBucketStartNs); in TEST()
105 EXPECT_EQ(bucket2StartTimeNs + bucketSizeNs, bucketInfo2.mBucketEndNs); in TEST()
339 int64_t bucket2StartTimeNs = bucketStartTimeNs + bucketSizeNs; in TEST() local