Searched refs:getDurationNanos (Results 1 – 3 of 3) sorted by relevance
61 public long getDurationNanos() { in getDurationNanos() method in Stroke66 return (float) getDurationNanos() / NANOS_TO_SECONDS; in getDurationSeconds()
118 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()
319 duration += bucketInfo.getDurationNanos(); in getStatsdWakelockData()