Home
last modified time | relevance | path

Searched refs:MillisToNano (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/statsd/tests/external/
DStatsPuller_test.cpp51 : StatsPuller(pullTagId, /*coolDownNs=*/MillisToNano(10), /*timeoutNs=*/MillisToNano(5)){}; in FakePuller()
152 pullDelayNs = MillisToNano(6); in TEST_F()
182 pullDelayNs = MillisToNano(6); in TEST_F()
270 pullDelayNs = MillisToNano(6); in TEST_F()
DStatsCallbackPuller_test.cpp158 pullDelayNs = MillisToNano(5); // 5ms. in TEST_F()
187 pullDelayNs = MillisToNano(5); // 5 ms. in TEST_F()
/frameworks/base/cmds/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp245 EXPECT_EQ(MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST()
276 EXPECT_EQ(MillisToNano(NanoToMillis(appUpgradeTimeNs)), in TEST()
304 EXPECT_EQ(MillisToNano(NanoToMillis(endSkipped)), in TEST()
333 EXPECT_EQ(MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST()
340 MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST()
391 EXPECT_EQ(MillisToNano(NanoToMillis(endSkipped)), in TEST()
423 MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST()
DGaugeMetric_e2e_pull_test.cpp521 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST()
523 EXPECT_EQ(MillisToNano(NanoToMillis(activationNs + ttlNs + 1)), in TEST()
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h78 int64_t MillisToNano(const int64_t millis);
DStatsService.cpp1239 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerPullAtomCallback()
1240 MillisToNano(timeoutMillis), additiveFields, in registerPullAtomCallback()
1257 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerNativePullAtomCallback()
1258 MillisToNano(timeoutMillis), additiveFields, in registerNativePullAtomCallback()
Dstats_log_util.cpp588 int64_t MillisToNano(const int64_t millis) { in MillisToNano() function
/frameworks/base/cmds/statsd/tests/
Dstatsd_test_util.h445 MillisToNano(bucket->start_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
450 MillisToNano(bucket->end_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()