Home
last modified time | relevance | path

Searched refs:activationNs (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/cmds/statsd/tests/e2e/
DValueMetric_pull_e2e_test.cpp314 const int64_t activationNs = configAddedTimeNs + bucketSizeNs + (2 * 1000 * 1000); // 2 millis. in TEST() local
315 auto batterySaverOnEvent = CreateBatterySaverOnEvent(activationNs); in TEST()
326 auto deactivationEvent = CreateScreenBrightnessChangedEvent(50, activationNs + ttlNs + 1); in TEST()
DGaugeMetric_e2e_pull_test.cpp454 const int64_t activationNs = configAddedTimeNs + bucketSizeNs + (2 * 1000 * 1000); // 2 millis. in TEST() local
455 auto batterySaverOnEvent = CreateBatterySaverOnEvent(activationNs); in TEST()
469 auto deactivationEvent = CreateScreenBrightnessChangedEvent(50, activationNs + ttlNs + 1); in TEST()
506 EXPECT_EQ(activationNs, bucketInfo.elapsed_timestamp_nanos(0)); in TEST()
530 EXPECT_EQ(MillisToNano(NanoToMillis(activationNs + ttlNs + 1)), in TEST()