Home
last modified time | relevance | path

Searched refs:ttl_seconds (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DDurationMetric_e2e_test.cpp267 EXPECT_EQ(eventActivationMap[2]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
284 activationStartNs + event_activation1->ttl_seconds() * NS_PER_SEC; // 0:40 in TEST()
294 EXPECT_EQ(eventActivationMap[2]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
308 EXPECT_EQ(eventActivationMap[2]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
328 activation2StartNs + event_activation1->ttl_seconds() * NS_PER_SEC; // 1:40 in TEST()
338 EXPECT_EQ(eventActivationMap[2]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
613 EXPECT_EQ(eventActivationMap[4]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
625 EXPECT_EQ(eventActivationMap[4]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
633 EXPECT_EQ(eventActivationMap[4]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
642 EXPECT_EQ(eventActivationMap[4]->ttl_ns, event_activation1->ttl_seconds() * NS_PER_SEC); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.cpp114 int64_t ttl_seconds, int deactivationTrackerIndex) { in addActivation() argument
123 std::make_shared<Activation>(activationType, ttl_seconds * NS_PER_SEC); in addActivation()
DMetricProducer.h236 int64_t ttl_seconds, int deactivationTrackerIndex = -1);
Dmetrics_manager_util.cpp757 metric->addActivation(atomMatcherIndex, activationType, activation.ttl_seconds(), in initMetricActivations()
760 metric->addActivation(atomMatcherIndex, activationType, activation.ttl_seconds()); in initMetricActivations()
/frameworks/base/cmds/statsd/tests/
DStatsLogProcessor_test.cpp518 metric3ActivationTrigger->ttl_seconds() * NS_PER_SEC - shutDownTime; in TEST()
520 metric5ActivationTrigger->ttl_seconds() * NS_PER_SEC - shutDownTime; in TEST()
522 metric6ActivationTrigger->ttl_seconds() * NS_PER_SEC - shutDownTime; in TEST()
715 const int64_t ttl1 = metric1ActivationTrigger->ttl_seconds() * NS_PER_SEC; in TEST()
876 int64_t ttl1 = metric1ActivationTrigger1->ttl_seconds() * NS_PER_SEC; in TEST()
978 ttl1 = timeBase2 + metric1ActivationTrigger1->ttl_seconds() * NS_PER_SEC - shutDownTime; in TEST()
979 int64_t ttl2 = metric1ActivationTrigger2->ttl_seconds() * NS_PER_SEC; in TEST()
1083 ttl2 = timeBase3 + metric1ActivationTrigger2->ttl_seconds() * NS_PER_SEC - shutDownTime; in TEST()
1282 int64_t ttl1 = metric1ActivationTrigger1->ttl_seconds() * NS_PER_SEC; in TEST()
1386 ttl1 = timeBase2 + metric1ActivationTrigger1->ttl_seconds() * NS_PER_SEC - shutDownTime; in TEST()
[all …]
/frameworks/base/cmds/statsd/src/
Dstatsd_config.proto383 optional int64 ttl_seconds = 2; field