Home
last modified time | relevance | path

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

/packages/modules/StatsD/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp228 EXPECT_EQ(MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F()
256 EXPECT_EQ(bucketInfo.end_bucket_elapsed_nanos(), MillisToNano(NanoToMillis(start + 4))); in TEST_F()
286 EXPECT_EQ(MillisToNano(NanoToMillis(appUpgradeTimeNs)), in TEST_F()
314 EXPECT_EQ(MillisToNano(NanoToMillis(endSkipped)), in TEST_F()
342 EXPECT_EQ(MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F()
349 MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F()
400 EXPECT_EQ(MillisToNano(NanoToMillis(endSkipped)), in TEST_F()
431 MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F()
458 EXPECT_EQ(bucketInfo.end_bucket_elapsed_nanos(), MillisToNano(NanoToMillis(start + 4))); in TEST_F()
DValueMetric_pull_e2e_test.cpp312 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 2 * bucketSizeNs)), in TEST()
314 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 3 * bucketSizeNs)), in TEST()
319 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST()
321 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 6 * bucketSizeNs)), in TEST()
432 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 2 * bucketSizeNs)), in TEST()
434 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST()
439 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 6 * bucketSizeNs)), in TEST()
441 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 7 * bucketSizeNs)), in TEST()
446 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 7 * bucketSizeNs)), in TEST()
448 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 8 * bucketSizeNs)), in TEST()
[all …]
DConfigUpdate_e2e_ab_test.cpp368 EXPECT_EQ(MillisToNano(NanoToMillis(updateTimeNs)), in TEST_P()
370 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
DGaugeMetric_e2e_pull_test.cpp689 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST()
691 EXPECT_EQ(MillisToNano(NanoToMillis(deactivationNs)), bucketInfo.end_bucket_elapsed_nanos()); in TEST()
863 MillisToNano(NanoToMillis(configAddedTimeNs + (3 * bucketSizeNs))), in TEST()
864 /*endTimeNs=*/MillisToNano(NanoToMillis(deactivationNs)), in TEST()
DConfigUpdate_e2e_test.cpp1132 int64_t roundedBucketStartNs = MillisToNano(NanoToMillis(bucketStartTimeNs)); in TEST_P()
1133 int64_t roundedUpdateTimeNs = MillisToNano(NanoToMillis(updateTimeNs)); in TEST_P()
1134 int64_t roundedBucketEndNs = MillisToNano(NanoToMillis(bucketStartTimeNs + bucketSizeNs)); in TEST_P()
1135 int64_t roundedDumpTimeNs = MillisToNano(NanoToMillis(dumpTimeNs)); in TEST_P()
1505 int64_t roundedBucketStartNs = MillisToNano(NanoToMillis(bucketStartTimeNs)); in TEST_P()
1506 int64_t roundedUpdateTimeNs = MillisToNano(NanoToMillis(updateTimeNs)); in TEST_P()
1507 int64_t roundedBucketEndNs = MillisToNano(NanoToMillis(bucketStartTimeNs + bucketSizeNs)); in TEST_P()
1508 int64_t roundedDumpTimeNs = MillisToNano(NanoToMillis(dumpTimeNs)); in TEST_P()
/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/src/
Dstats_log_util.h79 int64_t MillisToNano(const int64_t millis);
DStatsService.cpp1324 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerPullAtomCallback()
1325 MillisToNano(timeoutMillis), additiveFields, in registerPullAtomCallback()
1342 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerNativePullAtomCallback()
1343 MillisToNano(timeoutMillis), additiveFields, in registerNativePullAtomCallback()
Dstats_log_util.cpp598 int64_t MillisToNano(const int64_t millis) { in MillisToNano() function
DStatsLogProcessor.cpp442 MillisToNano(mNextAnomalyAlarmTime) <= elapsedRealtimeNs) { in OnLogEvent()
1463 processFiredAnomalyAlarmsLocked(MillisToNano(elapsedTimeMillis), alarmSet); in informAnomalyAlarmFiredLocked()
/packages/modules/StatsD/statsd/tests/
Dstatsd_test_util.h722 MillisToNano(bucket->start_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
727 MillisToNano(bucket->end_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
/packages/modules/StatsD/statsd/tests/metrics/
DKllMetricProducer_test.cpp120 const int64_t bucketSizeNs = MillisToNano(
DNumericValueMetricProducer_test.cpp192 const int64_t bucketSizeNs = MillisToNano(
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp924 MillisToNano(TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), bucketSizeTimeUnit)); in createNumericValueMetricProducerAndUpdateMetadata()
1079 MillisToNano(TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), bucketSizeTimeUnit)); in createKllMetricProducerAndUpdateMetadata()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dmetrics_manager_util_test.cpp1387 alert.set_trigger_if_sum_gt(MillisToNano(TimeUnitToBucketSizeInMillis(ONE_MINUTE)) + 1); in TEST_F()