Searched refs:NanoToMillis (Results 1 – 14 of 14) sorted by relevance
/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/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 2209 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST() 2211 EXPECT_EQ(NanoToMillis(bucket2StartTimeNs), in TEST() 2217 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 2), dropEvent.drop_time_millis()); in TEST() 2269 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST() 2271 EXPECT_EQ(NanoToMillis(bucket2StartTimeNs), in TEST() 2277 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 2), dropEvent.drop_time_millis()); in TEST() 2348 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST() 2350 EXPECT_EQ(NanoToMillis(bucket2StartTimeNs), in TEST() 2356 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 2), dropEvent.drop_time_millis()); in TEST() 2427 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST() [all …]
|
D | GaugeMetricProducer_test.cpp | 814 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST() 816 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 9000000), in TEST() 822 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 9000000), dropEvent.drop_time_millis()); in TEST()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 279 (long long)(NanoToMillis(skippedBucket.bucketStartTimeNs))); in onDumpReportLocked() 281 (long long)(NanoToMillis(skippedBucket.bucketEndTimeNs))); in onDumpReportLocked() 287 …protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_DROP_TIME, (long long) (NanoToMillis(dropEvent.drop… in onDumpReportLocked() 318 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 320 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
|
D | ValueMetricProducer.cpp | 343 (long long)(NanoToMillis(skippedBucket.bucketStartTimeNs))); in onDumpReportLocked() 345 (long long)(NanoToMillis(skippedBucket.bucketEndTimeNs))); in onDumpReportLocked() 351 (long long)(NanoToMillis(dropEvent.dropTimeNs))); in onDumpReportLocked() 389 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 391 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
|
D | CountMetricProducer.cpp | 270 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 272 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
|
D | DurationMetricProducer.cpp | 553 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 555 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
|
/packages/modules/StatsD/statsd/src/ |
D | stats_log_util.h | 76 int64_t NanoToMillis(const int64_t nano);
|
D | stats_log_util.cpp | 591 int64_t NanoToMillis(const int64_t nano) { in NanoToMillis() function
|
D | StatsLogProcessor.cpp | 443 informAnomalyAlarmFiredLocked(NanoToMillis(elapsedRealtimeNs)); in OnLogEvent()
|
/packages/modules/StatsD/statsd/src/external/ |
D | StatsPuller.cpp | 80 mTagId, pullSystemUptimeDurationMillis, NanoToMillis(pullElapsedDurationNs)); in Pull()
|