Searched refs:durationNs (Results 1 – 3 of 3) sorted by relevance
113 long durationNs = mEndNs - mStartNs; in assertAVDRuntime() local114 assertTrue("current duration " + durationNs + " should be within " + in assertAVDRuntime()115 min + "," + max, durationNs <= max && durationNs >= min); in assertAVDRuntime()
215 .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()
175 long durationNs = TimeUnit.NANOSECONDS.convert(duration, timeUnit); in sleep() local176 Thread.sleep(durationNs / NANOS_PER_MILLI, (int) (durationNs % NANOS_PER_MILLI)); in sleep()