/packages/modules/StatsD/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 225 EXPECT_EQ(MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F() 253 EXPECT_EQ(bucketInfo.end_bucket_elapsed_nanos(), MillisToNano(NanoToMillis(start + 4))); in TEST_F() 281 EXPECT_EQ(MillisToNano(NanoToMillis(appUpgradeTimeNs)), in TEST_F() 307 EXPECT_EQ(MillisToNano(NanoToMillis(endSkipped)), in TEST_F() 335 EXPECT_EQ(MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F() 342 MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F() 390 EXPECT_EQ(MillisToNano(NanoToMillis(endSkipped)), in TEST_F() 421 MillisToNano(NanoToMillis(bootCompleteTimeNs)), in TEST_F() 448 EXPECT_EQ(bucketInfo.end_bucket_elapsed_nanos(), MillisToNano(NanoToMillis(start + 4))); in TEST_F()
|
D | ValueMetric_pull_e2e_test.cpp | 311 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 2 * bucketSizeNs)), in TEST() 313 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 3 * bucketSizeNs)), in TEST() 318 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST() 320 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 6 * bucketSizeNs)), in TEST() 431 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 2 * bucketSizeNs)), in TEST() 433 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST() 438 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 6 * bucketSizeNs)), in TEST() 440 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 7 * bucketSizeNs)), in TEST() 445 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 7 * bucketSizeNs)), in TEST() 447 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 8 * bucketSizeNs)), in TEST() [all …]
|
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 | 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 | 1100 int64_t roundedBucketStartNs = MillisToNano(NanoToMillis(bucketStartTimeNs)); in TEST_F() 1101 int64_t roundedUpdateTimeNs = MillisToNano(NanoToMillis(updateTimeNs)); in TEST_F() 1102 int64_t roundedBucketEndNs = MillisToNano(NanoToMillis(bucketStartTimeNs + bucketSizeNs)); in TEST_F() 1103 int64_t roundedDumpTimeNs = MillisToNano(NanoToMillis(dumpTimeNs)); in TEST_F() 1467 int64_t roundedBucketStartNs = MillisToNano(NanoToMillis(bucketStartTimeNs)); in TEST_F() 1468 int64_t roundedUpdateTimeNs = MillisToNano(NanoToMillis(updateTimeNs)); in TEST_F() 1469 int64_t roundedBucketEndNs = MillisToNano(NanoToMillis(bucketStartTimeNs + bucketSizeNs)); in TEST_F() 1470 int64_t roundedDumpTimeNs = MillisToNano(NanoToMillis(dumpTimeNs)); in TEST_F()
|
/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(50); // 50 ms. in TEST_F()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.h | 81 int64_t MillisToNano(const int64_t millis);
|
D | StatsService.cpp | 1365 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerPullAtomCallback() 1366 MillisToNano(timeoutMillis), additiveFields, in registerPullAtomCallback() 1384 mPullerManager->RegisterPullAtomCallback(uid, atomTag, MillisToNano(coolDownMillis), in registerNativePullAtomCallback() 1385 MillisToNano(timeoutMillis), additiveFields, in registerNativePullAtomCallback()
|
D | stats_log_util.cpp | 617 int64_t MillisToNano(const int64_t millis) { in MillisToNano() function
|
D | StatsLogProcessor.cpp | 446 MillisToNano(mNextAnomalyAlarmTime) <= elapsedRealtimeNs) { in OnLogEvent() 1495 processFiredAnomalyAlarmsLocked(MillisToNano(elapsedTimeMillis), alarmSet); in informAnomalyAlarmFiredLocked()
|
/packages/modules/StatsD/statsd/tests/ |
D | statsd_test_util.h | 749 MillisToNano(bucket->start_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket() 754 MillisToNano(bucket->end_bucket_elapsed_millis())); in backfillStartEndTimestampForPartialBucket()
|
D | statsd_test_util.cpp | 1477 const int64_t bucketSizeNs = MillisToNano( in createNumericValueMetricProducer()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | KllMetricProducer_test.cpp | 120 const int64_t bucketSizeNs = MillisToNano(
|
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/ |
D | metrics_manager_util.cpp | 1026 MillisToNano(TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), bucketSizeTimeUnit)); in createNumericValueMetricProducerAndUpdateMetadata() 1185 MillisToNano(TimeUnitToBucketSizeInMillisGuardrailed(key.GetUid(), bucketSizeTimeUnit)); in createKllMetricProducerAndUpdateMetadata()
|
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/ |
D | metrics_manager_util_test.cpp | 1611 alert.set_trigger_if_sum_gt(MillisToNano(TimeUnitToBucketSizeInMillis(ONE_MINUTE)) + 1); in TEST_F()
|