Home
last modified time | relevance | path

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

/packages/modules/StatsD/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()
/packages/modules/StatsD/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()
DConfigUpdate_e2e_ab_test.cpp362 EXPECT_EQ(MillisToNano(NanoToMillis(updateTimeNs)), in TEST_P()
364 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
DConfigUpdate_e2e_test.cpp1067 int64_t roundedBucketStartNs = MillisToNano(NanoToMillis(bucketStartTimeNs)); in TEST_F()
1068 int64_t roundedUpdateTimeNs = MillisToNano(NanoToMillis(updateTimeNs)); in TEST_F()
1069 int64_t roundedBucketEndNs = MillisToNano(NanoToMillis(bucketStartTimeNs + bucketSizeNs)); in TEST_F()
1070 int64_t roundedDumpTimeNs = MillisToNano(NanoToMillis(dumpTimeNs)); in TEST_F()
1427 int64_t roundedBucketStartNs = MillisToNano(NanoToMillis(bucketStartTimeNs)); in TEST_F()
1428 int64_t roundedUpdateTimeNs = MillisToNano(NanoToMillis(updateTimeNs)); in TEST_F()
1429 int64_t roundedBucketEndNs = MillisToNano(NanoToMillis(bucketStartTimeNs + bucketSizeNs)); in TEST_F()
1430 int64_t roundedDumpTimeNs = MillisToNano(NanoToMillis(dumpTimeNs)); in TEST_F()
DGaugeMetric_e2e_pull_test.cpp521 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST()
523 EXPECT_EQ(MillisToNano(NanoToMillis(activationNs + ttlNs + 1)), in TEST()
/packages/modules/StatsD/statsd/src/
Dstats_log_util.h78 int64_t MillisToNano(const int64_t millis);
DStatsService.cpp1219 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerPullAtomCallback()
1220 MillisToNano(timeoutMillis), additiveFields, in registerPullAtomCallback()
1237 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerNativePullAtomCallback()
1238 MillisToNano(timeoutMillis), additiveFields, in registerNativePullAtomCallback()
DStatsLogProcessor.cpp436 MillisToNano(mNextAnomalyAlarmTime) <= elapsedRealtimeNs) { in OnLogEvent()
1139 processFiredAnomalyAlarmsLocked(MillisToNano(elapsedTimeMillis), alarmSet); in informAnomalyAlarmFiredLocked()
Dstats_log_util.cpp595 int64_t MillisToNano(const int64_t millis) { in MillisToNano() function
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h527 MillisToNano(bucket->start_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
532 MillisToNano(bucket->end_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp876 alert.set_trigger_if_sum_gt(MillisToNano(TimeUnitToBucketSizeInMillis(ONE_MINUTE)) + 1); in TEST()