Searched refs:ttl_seconds (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/cmds/statsd/tests/e2e/ |
D | DurationMetric_e2e_test.cpp | 267 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/ |
D | MetricProducer.cpp | 115 int64_t ttl_seconds, int deactivationTrackerIndex) { in addActivation() argument 124 std::make_shared<Activation>(activationType, ttl_seconds * NS_PER_SEC); in addActivation()
|
D | MetricProducer.h | 243 int64_t ttl_seconds, int deactivationTrackerIndex = -1);
|
D | metrics_manager_util.cpp | 759 metric->addActivation(atomMatcherIndex, activationType, activation.ttl_seconds(), in initMetricActivations() 762 metric->addActivation(atomMatcherIndex, activationType, activation.ttl_seconds()); in initMetricActivations()
|
/frameworks/base/cmds/statsd/tests/ |
D | StatsLogProcessor_test.cpp | 518 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/ |
D | statsd_config.proto | 390 optional int64 ttl_seconds = 2; field
|