Home
last modified time | relevance | path

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

/frameworks/base/cmds/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()
DGaugeMetric_e2e_pull_test.cpp521 EXPECT_EQ(MillisToNano(NanoToMillis(baseTimeNs + 5 * bucketSizeNs)), in TEST()
523 EXPECT_EQ(MillisToNano(NanoToMillis(activationNs + ttlNs + 1)), in TEST()
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp2215 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST()
2217 EXPECT_EQ(NanoToMillis(bucket2StartTimeNs), in TEST()
2223 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 2), dropEvent.drop_time_millis()); in TEST()
2275 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST()
2277 EXPECT_EQ(NanoToMillis(bucket2StartTimeNs), in TEST()
2283 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 2), dropEvent.drop_time_millis()); in TEST()
2353 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST()
2355 EXPECT_EQ(NanoToMillis(bucket2StartTimeNs), in TEST()
2361 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 2), dropEvent.drop_time_millis()); in TEST()
2431 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST()
[all …]
DGaugeMetricProducer_test.cpp849 EXPECT_EQ(NanoToMillis(bucketStartTimeNs), in TEST()
851 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 9000000), in TEST()
857 EXPECT_EQ(NanoToMillis(bucketStartTimeNs + 9000000), dropEvent.drop_time_millis()); in TEST()
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp218 (long long)(NanoToMillis(skippedBucket.bucketStartTimeNs))); in onDumpReportLocked()
220 (long long)(NanoToMillis(skippedBucket.bucketEndTimeNs))); in onDumpReportLocked()
226 …protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_DROP_TIME, (long long) (NanoToMillis(dropEvent.drop… in onDumpReportLocked()
257 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
259 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
DValueMetricProducer.cpp294 (long long)(NanoToMillis(skippedBucket.bucketStartTimeNs))); in onDumpReportLocked()
296 (long long)(NanoToMillis(skippedBucket.bucketEndTimeNs))); in onDumpReportLocked()
302 (long long)(NanoToMillis(dropEvent.dropTimeNs))); in onDumpReportLocked()
341 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
343 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
DCountMetricProducer.cpp223 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
225 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
DDurationMetricProducer.cpp417 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked()
419 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
/frameworks/base/cmds/statsd/src/
Dstats_log_util.h76 int64_t NanoToMillis(const int64_t nano);
Dstats_log_util.cpp584 int64_t NanoToMillis(const int64_t nano) { in NanoToMillis() function
/frameworks/base/cmds/statsd/src/external/
DStatsPuller.cpp80 mTagId, pullSystemUptimeDurationMillis, NanoToMillis(pullElapsedDurationNs)); in Pull()