Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DAnimatable2Callback.java113 long durationNs = mEndNs - mStartNs; in assertAVDRuntime() local
114 assertTrue("current duration " + durationNs + " should be within " + in assertAVDRuntime()
115 min + "," + max, durationNs <= max && durationNs >= min); in assertAVDRuntime()
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/
DDurationMetricsTests.java215 .peek(durationNs -> assertThat(durationNs).isIn(Range.openClosed(0L, (long)1e9))) in testDurationMetricWithCondition()
308 .peek(durationNs -> assertThat(durationNs).isIn(Range.openClosed(0L, (long)1e9))) in testDurationMetricWithActivation()
485 .peek(durationNs -> assertThat(durationNs).isIn(Range.openClosed(0L, (long)1e9))) in testDurationMetricWithConditionAndActivation()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorCtsHelper.java175 long durationNs = TimeUnit.NANOSECONDS.convert(duration, timeUnit); in sleep() local
176 Thread.sleep(durationNs / NANOS_PER_MILLI, (int) (durationNs % NANOS_PER_MILLI)); in sleep()