Home
last modified time | relevance | path

Searched refs:nanos (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DStopwatchRule.java59 private void reportMetric(long nanos, Description description) { in reportMetric() argument
60 mResult.putLong(getMetricKey(description), NANOSECONDS.toMillis(nanos)); in reportMetric()
66 protected void succeeded(long nanos, Description description) { in succeeded() argument
67 reportMetric(nanos, description); in succeeded()
/platform_testing/libraries/flicker/utils/src/android/tools/
DTimestamp.kt48 val nanos = unixNanos % SECOND_AS_NANOSECONDS in unixNanosToLogFormat() constant
97 operator fun minus(nanos: Long): Timestamp { in minus()
98 val elapsedNanos = max(this.elapsedNanos - nanos, 0L) in minus()
99 val systemUptimeNanos = max(this.systemUptimeNanos - nanos, 0L) in minus()
100 val unixNanos = max(this.unixNanos - nanos, 0L) in minus()