Searched refs:MillisToNano (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPuller_test.cpp | 51 : 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()
|
D | StatsCallbackPuller_test.cpp | 158 pullDelayNs = MillisToNano(5); // 5ms. in TEST_F() 187 pullDelayNs = MillisToNano(5); // 5 ms. in TEST_F()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 245 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()
|
D | GaugeMetric_e2e_pull_test.cpp | 521 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST() 523 EXPECT_EQ(MillisToNano(NanoToMillis(activationNs + ttlNs + 1)), in TEST()
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.h | 78 int64_t MillisToNano(const int64_t millis);
|
D | StatsService.cpp | 1239 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()
|
D | stats_log_util.cpp | 588 int64_t MillisToNano(const int64_t millis) { in MillisToNano() function
|
/frameworks/base/cmds/statsd/tests/ |
D | statsd_test_util.h | 445 MillisToNano(bucket->start_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket() 450 MillisToNano(bucket->end_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
|