Home
last modified time | relevance | path

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

/frameworks/base/cmds/statsd/src/metrics/
DMetricProducer.h395 Activation(const ActivationType& activationType, const int64_t ttlNs) in Activation()
396 : ttl_ns(ttlNs), in Activation()
/frameworks/base/cmds/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp279 const int64_t ttlNs = 2 * bucketSizeNs; // Two buckets. in TEST() local
285 event_activation->set_ttl_seconds(ttlNs / 1000000000); in TEST()
326 auto deactivationEvent = CreateScreenBrightnessChangedEvent(50, activationNs + ttlNs + 1); in TEST()
DGaugeMetric_e2e_pull_test.cpp418 const int64_t ttlNs = 2 * bucketSizeNs; // Two buckets. in TEST() local
424 event_activation->set_ttl_seconds(ttlNs / 1000000000); in TEST()
469 auto deactivationEvent = CreateScreenBrightnessChangedEvent(50, activationNs + ttlNs + 1); in TEST()
530 EXPECT_EQ(MillisToNano(NanoToMillis(activationNs + ttlNs + 1)), in TEST()