/packages/modules/StatsD/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 228 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()
|
D | ValueMetric_pull_e2e_test.cpp | 312 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 …]
|
D | ConfigUpdate_e2e_ab_test.cpp | 368 EXPECT_EQ(MillisToNano(NanoToMillis(updateTimeNs)), in TEST_P() 370 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
|
D | GaugeMetric_e2e_pull_test.cpp | 689 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()
|
D | ConfigUpdate_e2e_test.cpp | 1132 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/ |
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/src/ |
D | stats_log_util.h | 79 int64_t MillisToNano(const int64_t millis);
|
D | StatsService.cpp | 1324 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()
|
D | stats_log_util.cpp | 598 int64_t MillisToNano(const int64_t millis) { in MillisToNano() function
|
D | StatsLogProcessor.cpp | 442 MillisToNano(mNextAnomalyAlarmTime) <= elapsedRealtimeNs) { in OnLogEvent() 1463 processFiredAnomalyAlarmsLocked(MillisToNano(elapsedTimeMillis), alarmSet); in informAnomalyAlarmFiredLocked()
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 722 MillisToNano(bucket->start_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket() 727 MillisToNano(bucket->end_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | KllMetricProducer_test.cpp | 120 const int64_t bucketSizeNs = MillisToNano(
|
D | NumericValueMetricProducer_test.cpp | 192 const int64_t bucketSizeNs = MillisToNano(
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 924 MillisToNano(TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), bucketSizeTimeUnit)); in createNumericValueMetricProducerAndUpdateMetadata() 1079 MillisToNano(TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), bucketSizeTimeUnit)); in createKllMetricProducerAndUpdateMetadata()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 1387 alert.set_trigger_if_sum_gt(MillisToNano(TimeUnitToBucketSizeInMillis(ONE_MINUTE)) + 1); in TEST_F()
|