Home
last modified time | relevance | path

Searched refs:getDurationNanos (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DStroke.java61 public long getDurationNanos() { in getDurationNanos() method in Stroke
66 return (float) getDurationNanos() / NANOS_TO_SECONDS; in getDurationSeconds()
/packages/modules/StatsD/tests/src/android/cts/statsd/metric/
DDurationMetricsTests.java118 assertThat(durationData.getData(0).getBucketInfo(0).getDurationNanos()) in testDurationMetric()
232 .mapToLong(bucketInfo -> bucketInfo.getDurationNanos()) in testDurationMetricWithCondition()
326 .mapToLong(bucketInfo -> bucketInfo.getDurationNanos()) in testDurationMetricWithActivation()
516 .mapToLong(bucketInfo -> bucketInfo.getDurationNanos()) in testDurationMetricWithConditionAndActivation()
609 assertThat(bucketInfo.getDurationNanos()).isIn(Range.openClosed(0L, (long) 1e9)); in testDurationMetricWithDimension()
610 totalDuration += bucketInfo.getDurationNanos(); in testDurationMetricWithDimension()
616 assertThat(bucketInfo.getDurationNanos()).isIn(Range.openClosed(0L, (long) 1e9)); in testDurationMetricWithDimension()
617 totalDuration += bucketInfo.getDurationNanos(); in testDurationMetricWithDimension()
/packages/modules/StatsD/tests/src/android/cts/statsd/validation/
DValidationTests.java319 duration += bucketInfo.getDurationNanos(); in getStatsdWakelockData()