Searched refs:NanoToMillis (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/cmds/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 | 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()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 2215 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 …]
|
D | GaugeMetricProducer_test.cpp | 849 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/ |
D | GaugeMetricProducer.cpp | 218 (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()
|
D | ValueMetricProducer.cpp | 294 (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()
|
D | CountMetricProducer.cpp | 223 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 225 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
|
D | DurationMetricProducer.cpp | 417 (long long)NanoToMillis(bucket.mBucketStartNs)); in onDumpReportLocked() 419 (long long)NanoToMillis(bucket.mBucketEndNs)); in onDumpReportLocked()
|
/frameworks/base/cmds/statsd/src/ |
D | stats_log_util.h | 76 int64_t NanoToMillis(const int64_t nano);
|
D | stats_log_util.cpp | 584 int64_t NanoToMillis(const int64_t nano) { in NanoToMillis() function
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsPuller.cpp | 80 mTagId, pullSystemUptimeDurationMillis, NanoToMillis(pullElapsedDurationNs)); in Pull()
|