Searched refs:MillisToNano (Results 1 – 12 of 12) sorted by relevance
/packages/modules/StatsD/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()
|
/packages/modules/StatsD/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 | ConfigUpdate_e2e_ab_test.cpp | 362 EXPECT_EQ(MillisToNano(NanoToMillis(updateTimeNs)), in TEST_P() 364 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
|
D | ConfigUpdate_e2e_test.cpp | 1067 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()
|
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()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.h | 78 int64_t MillisToNano(const int64_t millis);
|
D | StatsService.cpp | 1219 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()
|
D | StatsLogProcessor.cpp | 436 MillisToNano(mNextAnomalyAlarmTime) <= elapsedRealtimeNs) { in OnLogEvent() 1139 processFiredAnomalyAlarmsLocked(MillisToNano(elapsedTimeMillis), alarmSet); in informAnomalyAlarmFiredLocked()
|
D | stats_log_util.cpp | 595 int64_t MillisToNano(const int64_t millis) { in MillisToNano() function
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 527 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/ |
D | metrics_manager_util_test.cpp | 876 alert.set_trigger_if_sum_gt(MillisToNano(TimeUnitToBucketSizeInMillis(ONE_MINUTE)) + 1); in TEST()
|