Home
last modified time | relevance | path

Searched refs:NanoToMillis (Results 1 – 14 of 14) sorted by relevance

/packages/modules/StatsD/statsd/tests/e2e/
DPartialBucket_e2e_test.cpp245 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()
DConfigUpdate_e2e_ab_test.cpp362 EXPECT_EQ(MillisToNano(NanoToMillis(updateTimeNs)), in TEST_P()
364 EXPECT_EQ(MillisToNano(NanoToMillis(dumpTimeNs)), in TEST_P()
DConfigUpdate_e2e_test.cpp1067 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()
DGaugeMetric_e2e_pull_test.cpp521 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/
DValueMetricProducer_test.cpp2209 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 …]
DGaugeMetricProducer_test.cpp814 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/
DGaugeMetricProducer.cpp279 (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()
DValueMetricProducer.cpp343 (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()
DCountMetricProducer.cpp270 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
272 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
DDurationMetricProducer.cpp553 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
555 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
/packages/modules/StatsD/statsd/src/
Dstats_log_util.h76 int64_t NanoToMillis(const int64_t nano);
Dstats_log_util.cpp591 int64_t NanoToMillis(const int64_t nano) { in NanoToMillis() function
DStatsLogProcessor.cpp443 informAnomalyAlarmFiredLocked(NanoToMillis(elapsedRealtimeNs)); in OnLogEvent()
/packages/modules/StatsD/statsd/src/external/
DStatsPuller.cpp80 mTagId, pullSystemUptimeDurationMillis, NanoToMillis(pullElapsedDurationNs)); in Pull()